InvalidArgumentException: decodeNoPadding() doesn't tolerate padding
Closed this issue · 2 comments
Version(s) affected
3.2.9
Description
Some issue with happening during validating the input data and throwing InvalidArgumentException with new version.
when tried with 3.2.8 and other previous versions, we did not find any issue.
Might be some issue introduced in new version 3.2.9
How to reproduce
In adobe commerce when we update this library with latest version we started getting InvalidArgumentException
If need the sample code to reproduce this with sample code then we have to work on.
I think some backward compatibility issue which should be in patch version 3.2.9 because 3.2.8 is working fine for us.
if you needed anything from our end we will try to provide.
Possible Solution
No response
Additional Context
No response
Hi 👋🏼,
Just remove the extra =
at the end of the secret string.
Let me know if the exception is still there after the modification. Note that this error is the normal behavior, but was not throw in the last minor versions.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.