aws / aws/aws-encryption-sdk-python
Base64 error messaging in version and type verification
未關閉
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