aws / aws/aws-encryption-sdk-python
DefaultCryptoMaterialsManager should raise an error if signer key is present in encryption context
- Vorherrschende Sprache
- Python
- Sterne
- 255
- Forks
- 92
- Ø Merge
- 2 T. 17 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
Because `DefaultCryptoMaterialsManager` adds a value to the encryption context if a signed algorithm suite is used, we need to throw an error if the requested encryption context already contains that key.
https://github.com/aws/aws-encryption-sdk-java/blob/eb8702e82759cca53eddc3b5f8423e74ec31aff1/src/main/java/com/amazonaws/encryptionsdk/DefaultCryptoMaterialsManager.java#L55-L58
Beitragsleitfaden
Rechercherichtung
Start by locating DefaultCryptoMaterialsManager in the Python repository and compare its signed-algorithm encryption-context handling with the cited Java implementation at DefaultCryptoMaterialsManager.java#L55-L58. Confirm the expected behavior for a context that already contains the signer-key entry, then add or update coverage so the operation raises an error in that case.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- cryptography
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100