What's Changed
[1.3.41] — 2026-05-16
Fixed
- KMS
Decrypterror code on malformed ciphertext — when the caller omittedKeyIdand the ciphertext was too short or otherwise unparseable, MiniStack returnedNotFoundException("Unable to find the key for decryption"); real AWS returnsInvalidCiphertextExceptionin that case. The two errors are distinguished by AWS-SDK clients that catch encryption faults separately from key-lookup faults (e.g., wrapper libraries that retry onNotFoundbut surfaceInvalidCiphertextimmediately).NotFoundExceptionis still returned when the caller did pass an explicitKeyIdthat doesn't resolve, matching real AWS.