aws / aws/aws-dynamodb-encryption-python
Wrong formatting in the deprecated python warning
- Ngôn ngữ chính
- Python
- Star
- 95
- Fork
- 57
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### 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/ )
Hướng dẫn đóng góp
Hướng nghiên cứu
Mở src/dynamodb_encryption_sdk/compatability.py tại dòng 39 và kiểm tra định dạng của cảnh báo Python đã lỗi thời. Xác minh những giá trị nào hiện đang được sử dụng cho phiên bản tối thiểu và ngày tháng, sau đó xác nhận rằng cảnh báo trình bày chúng theo thứ tự dự kiến được mô tả trong issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend
- Loại issue
- Lỗi
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 35/100