Sha256: 6c13cd6ab27f5a7053bb5d8a6d3e4574a996a2c2dc9b7ef636ba16c9cf670566

Contents?: true

Size: 381 Bytes

Versions: 7

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

if defined?(Lockbox)
  Lockbox.master_key = ENV['LOCKBOX_MASTER_KEY']
  BlindIndex.master_key = Lockbox.master_key

  # Set all default encryptions to use xsalsa20 (requires libsodium)
  # https://github.com/ankane/lockbox#xsalsa20
  # https://github.com/ankane/lockbox#padding
  Lockbox.default_options = { algorithm: 'xsalsa20', padding: true }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kowl-0.0.7 lib/kowl/templates/config/initializers/lockbox.rb
kowl-0.0.6 lib/kowl/templates/config/initializers/lockbox.rb
kowl-0.0.5 lib/kowl/templates/config/initializers/lockbox.rb
kowl-0.0.4 lib/kowl/templates/config/initializers/lockbox.rb
kowl-0.0.3 lib/kowl/templates/config/initializers/lockbox.rb
kowl-0.0.2 lib/kowl/templates/config/initializers/lockbox.rb
kowl-0.0.1 lib/kowl/templates/config/initializers/lockbox.rb