aws/aws-encryption-sdk-cli

Base64 error messaging in version and type verification

開放

#162 建立於 2019年9月19日

 (1 則留言) (0 個反應) (0 位負責人)Python (42 個分叉)auto 404
good first issue

倉庫指標

星標
 (81 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南