Closed dorongutman closed 3 years ago
According to the readme, the defaults have changed, so only set the values if they are not already set in your yaml file. Since encoding is already :base64
I would not change it. Just add always_add_header: false
.
I'm using symmetric-encryption version 3.7.1 in rails. We don't call
SymmetricEncryption.decrypt
orSymmetricEncryption.encrypt
or any direct call toSymmetricEncryption
at all. We only use it as part of rails' active record with mongoid.So is it true the only thing I need to do is to make sure the
ciphers
section in thesymmetric-enncryption.yaml
file hasencoding: :base64strict
(as opposed to to:base64
), and to addalways_add_header: false
?