aws / aws/aws-encryption-sdk-cli

Base64 error messaging in version and type verification

Open
#162 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
82
Forks
42
PR merge metrics
No merged PRs in 30d

Description

When the `version` and `type` elements of the AWS Encryption Message format are verified,
the error message should be customize 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 in HEX will be: `01`, `80`, and in DEC `01`, `128`
Valid blobs that have not been properly base64 decoded
the values in HEX will be `41`, `59`, and in DEC `65`, `89`

https://github.com/awslabs/aws-encryption-sdk-javascript/pull/217

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.