Chambers reciphers already ciphered values (if they are long enough)
Closed this issue · 6 comments
Running chamber secure
several times results in some values being reciphered in every execution.
If the clear value has at most 119 characters, everything is ok and its ciphered value is not modified. But with a 120 characters string every execution ciphers the previous value.
@ace thank you for reporting. This is a known issue due to the fact that longer values need to use a different cipher style than shorter values. The typical use case for this is to store a private RSA key as a value encrypted by your Chamber key.
I'll leave this open and I'll try to get to it soon.
Thanks for the info, @jfelchner. I'll keep an eye here.
@ace there was still a small bug where calling secure
would show that it was going to encrypt it again (even though it didn't actually do it). This has been fixed in 2.10.1
along with a bug caused by more recent versions of Thor.
@jfelchner thanks for the info, and the fix.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.