aws / aws/aws-dynamodb-encryption-python
Wrong formatting in the deprecated python warning
- 主要言語
- Python
- スター
- 95
- フォーク
- 57
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Security issue notifications
If you discover a potential security issue in the Amazon DynamoDB Encryption Client we ask that you notify AWS Security via our [vulnerability reporting page](https://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public GitHub issue.
### Problem:
https://github.com/aws/aws-dynamodb-encryption-python/blob/35ee30aea5a93b4446677fdf1f14edc3ca3c0452/src/dynamodb_encryption_sdk/compatability.py#L39
The _minimum_version_ and _date_ seem to have been swapped in the deprecated python warning.
### Solution:
Putting the `params["date"]` before the `minimum_version[0]` should fix the issue.
### Out of scope:
Is there anything the solution will intentionally NOT address?
[//]: # (NOTE: If you believe this might be a security issue, please email aws-security@amazon.com instead of creating a GitHub issue. For more details, see the AWS Vulnerability Reporting Guide: https://aws.amazon.com/security/vulnerability-reporting/ )
コントリビューションガイド
調査の方向性
src/dynamodb_encryption_sdk/compatability.py の 39 行目を開き、非推奨の Python 警告のフォーマットを確認します。最小バージョンと日付に現在使用されている値を確認し、その後、警告が issue に記載された意図した順序でそれらを提示していることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100