You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(resolution): restore hex.Decode/Encode when loading/storing ciphered data from database (#395)
* fix(resolution): restore hex.Decode/Encode when loading/storing ciphered data from database
Previously, we were using symmecrypt.DecryptMarshal to load data from
the database, and we switched to symmecrypt.Decrypt with
bf23fbb.
This changed the behaviour because DecryptMarshal was also calling hex.Decode
on the ciphered text before doing the Decrypt. We had to restore this
behaviour to read old data from our database.
Same for EncryptMarshal/Encrypt/hex.Encode
Signed-off-by: Romain Beuque <556072+rbeuque74@users.noreply.github.com>
0 commit comments