Created
November 1, 2019 14:40
-
-
Save pauloharaujos/e76c749b311f95a02b5e28a7567c43c2 to your computer and use it in GitHub Desktop.
M2.3 – Sodium crypto adapter errors on unexpected input
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modify this file : vendor/magento/framework/Encryption/Adapter/SodiumChachaIetf.php | |
$plainText = sodium_crypto_aead_chacha20poly1305_ietf_decrypt( | |
$payload, | |
$nonce, | |
$nonce, | |
$this->key | |
); | |
if ($plainText == false) | |
{ | |
return ""; | |
} | |
return $plainText; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment