aws / aws/aws-dynamodb-encryption-python
Wrong formatting in the deprecated python warning
- Langage dominant
- Python
- Étoiles
- 95
- Forks
- 57
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### 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/ )
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Ouvrez src/dynamodb_encryption_sdk/compatability.py à la ligne 39 et examinez le formatage de l’avertissement Python obsolète. Vérifiez quelles valeurs sont actuellement utilisées pour la version minimale et la date, puis confirmez que l’avertissement les présente dans l’ordre prévu décrit dans l’issue.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- backend
- Type d'issue
- Bug
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 35/100