aws / aws/aws-encryption-sdk-python

Base64 error messaging in version and type verification

オープン
#192 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue
主要言語
Python
スター
255
フォーク
92
平均マージ
2日 17時間
マージ済み PR(30日)
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-encoded 入力を区別し、そのうえで、結果として生成されるエラーが推定されるエンコーディングを特定していることを、valid blob の処理を変更せずに確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
security
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。