1 Answer
- Newest
- Most votes
- Most comments
0
I was using the wrong library to decrypt the ciphertext. Cognito is using the Encryption SDK to encrypt the code, not KMS, therefore it requires the use of the same SDK to decrypt.
Notes:
- The Encryption SDK, in this circumstance, is using the symmetric KMS key configured on the user pool to perform the encryption.
- The Encryption SDK is not currently available for Ruby
answered 3 years ago
Relevant content
- Accepted Answerasked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago