Open dtataru-bainbridge opened 1 week ago
Got a solution here: https://stackoverflow.com/questions/78704479/aws-encryption-sdk-python-decrypt-error-65-is-not-a-valid-serializationversion
The issue was the base64 encoding. Leaving this issue open in case you guys want to update your documentation to mention base64 decoding (similarly to the JS sister-library offered).
A better error message would be nice too.
Security issue notifications
N/A
Problem:
I'm following the steps here: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-custom-sms-sender.html to have Cognito call my lambda which needs to decrypt the MFA code and use a custom API to email it ( since Cognito doesn't support email MFA :/ )
Getting error: 65 is not a valid SerializationVersion I never set any version other than LambdaVersion=V1_0 as outlined in the doc above so I have no idea where that is from.
Stack trace:
Solution:
Looking for one.
Out of scope:
N/A