-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store config re-encrypt encrypted values on save #1223
Comments
Hello, Any update on this ? Is this true for you or it's happening just for me ? Am I doing any thing wrong here ? |
@bgkavinga Thanks for reporting this issue. After investigation it seems that the value is getting encrypted again, even if you don't make any changes, like you pointed out. |
…ave #1223 - Fix to make sure values are not encrypted if not changed - Removed re-encrypting values - Added integration test
…ave #1223 - Added parameter type in docblock
…ave #1223 - Removed unnecessary if condition since encrypted value is checked for empty earlier
@bgkavinga, fix is available from 0.74.0-beta10. If you still face with it, please, let us know. |
[TSGAB] MAGETWO-67048: Cannot add translate attribute into the di.xml
I have created a store config with backend type obscure
There are some other configs on the same section. Each time I save this section it encrypt the old value. Since the old value is already encrypted it is encrypting encrypted value. No way to decrypt and get original data. According to my investigations the problem lies in the following code snippet in Magento\Config\Model\Config\Backend\Encrypted
The text was updated successfully, but these errors were encountered: