Closed chasegiunta closed 5 years ago
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?
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 defaultdecrypt
&encrypt
filters. Luckily, usingAES-128-CFB
for enc / dec has stopped the error.