aws / aws/aws-encryption-sdk-python

Base64 error messaging in version and type verification

未关闭
#192 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
Python
星标
255
派生
92
平均合并
2 天 17 小时
30 天内合并 PR
2

描述

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`.

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

贡献指南

打开贡献指南

调研方向

首先定位 AWS Encryption Message blob 的版本和类型验证路径,并阅读当前如何构造验证错误。使用所述的字节值区分原始输入和 base64 编码输入,然后验证生成的错误能够指出可能的编码方式,同时不改变有效 blob 的处理方式。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, python
领域
security
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。