lib/symmetric_encryption/config.rb in symmetric-encryption-3.8.3 vs lib/symmetric_encryption/config.rb in symmetric-encryption-3.9.0
- old
+ new
@@ -57,10 +57,9 @@
# Mandatory for non-Rails apps
# Default: Rails.root/config/symmetric-encryption.yml
# environment:
# Which environments config to load. Usually: production, development, etc.
def self.extract_ciphers(config)
- # RSA key to decrypt key files
private_rsa_key = config[:private_rsa_key]
config[:ciphers].collect do |cipher_config|
Cipher.new({private_rsa_key: private_rsa_key}.merge(cipher_config))
end