Skip to content
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

openssl_decrypt error : “failed to base64 decode the input” #1

Closed
chasegiunta opened this issue Apr 22, 2016 · 1 comment
Closed
Labels

Comments

@chasegiunta
Copy link

openssl_decrypt error : “failed to base64 decode the input”
I seem to get this error randomly, 1 out of 6 times or so, when trying to use the default decrypt & encrypt filters. Luckily, using AES-128-CFB for enc / dec has stopped the error.

@rungta
Copy link
Member

rungta commented May 10, 2016

I could be wrong, but this sounds like a URL encoding issue. Was the encrypted string (the output of encrypt) being passed on to decrypt via a URL at any point?

If yes, then can you try URL encoding the encrypted string using the url_encode Twig filter and see if the error persists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants