Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base64 error messaging in version and type verification #192

Open
seebees opened this issue Sep 19, 2019 · 0 comments
Open

Base64 error messaging in version and type verification #192

seebees opened this issue Sep 19, 2019 · 0 comments

Comments

@seebees
Copy link
Contributor

seebees commented Sep 19, 2019

When the version and type elements of the AWS Encryption Message format are verified,
the error message should be customized if the version and type match the base64 value.
This is convent sugar for a common problem.

Valid blobs will have the first 2 bytes will be: 0x01, 0x80.

If the blob is base64-encoded, the values will be 0x41, 0x59.

aws/aws-encryption-sdk-javascript#217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants