aws / aws/aws-encryption-sdk-java

Support Re-Key Operation in AwsCrypto

Offen
#76 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Java
Sterne
240
Forks
125
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

For scenarios like key-rotation, I think it would be very useful to support a re-keying operation, where we decrypt the data key using one master key, and then re-encrypt with another master key. This also leverages the convenient envelope structure of the encrypted payload. I've noticed this is supported using the KMS Client (re-keying happens on the server side in that case), but feels like it should also exist in the SDK as well!

Thoughts?

Nick

CC: @walliee

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reading the AwsCrypto entry point and reviewing how the KMS Client performs re-keying on the server side. Trace the encrypted payload's envelope and data-key handling, then determine the SDK behavior needed to decrypt with one master key and re-encrypt with another. Done means the proposed operation is clearly scoped and preserves the encrypted payload structure.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, java
Bereich
security
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.