lib/rails/generators/symmetric_encryption/config/templates/symmetric-encryption.yml in symmetric-encryption-1.1.1 vs lib/rails/generators/symmetric_encryption/config/templates/symmetric-encryption.yml in symmetric-encryption-2.0.0

- old
+ new

@@ -3,14 +3,15 @@ # --- # For the development and test environments the test symmetric encryption keys # can be placed directly in the source code. # And therefore no RSA private key is required -development: &development_defaults - key: 1234567890ABCDEF1234567890ABCDEF - iv: 1234567890ABCDEF - cipher: aes-128-cbc +development: &development_defaults + key: 1234567890ABCDEF1234567890ABCDEF + iv: 1234567890ABCDEF + cipher_name: aes-128-cbc + encoding: :base64strict test: <<: *development_defaults release: @@ -25,11 +26,11 @@ - # Filename containing Symmetric Encryption Key encrypted using the # RSA public key derived from the private key above key_filename: <%= File.join(key_path, "#{app_name}_release.key") %> iv_filename: <%= File.join(key_path, "#{app_name}_release.iv") %> - cipher: aes-256-cbc + cipher_name: aes-256-cbc # Base64 encode encrypted data without newlines encoding: :base64strict version: 1 production: @@ -44,9 +45,9 @@ - # Filename containing Symmetric Encryption Key encrypted using the # RSA public key derived from the private key above key_filename: <%= File.join(key_path, "#{app_name}_production.key") %> iv_filename: <%= File.join(key_path, "#{app_name}_production.iv") %> - cipher: aes-256-cbc + cipher_name: aes-256-cbc # Base64 encode encrypted data without newlines encoding: :base64strict version: 1