-
Notifications
You must be signed in to change notification settings - Fork 74
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
doctrine:encrypt:database fails - trying to decrypt #47
Comments
I also tried encrypting unencrypted DB. It failed on postUpdate() call. Dumping entity before the actual call of |
OK, I found issue on my side. There is setter on a field and that setter does I still need to force uppercase on that string, but want to avoid it when doing encryption. Is this possible, bug or feature? |
Fix test issues
I'm trying to switch from Defuse to Halite. So I first used
bin/sf doctrine:decrypt:database
it went OK.Switched config to Halite and run
bin/sf doctrine:encrypt:database
and it failed withInvalid message authentication code
. I figured out it still tries to decrypt fields onpostLoad
event.https://github.com/GiveMeAllYourCats/DoctrineEncryptBundle/blob/b24750061f838e7c9caab6d6effa6b301b709028/src/Subscribers/DoctrineEncryptSubscriber.php#L149
I was excepting it will not decrypt nothing when encrypt cli command was called.
The text was updated successfully, but these errors were encountered: