aws / aws/aws-encryption-sdk-java
Support Re-Key Operation in AwsCrypto
- Dominant language
- Java
- Stars
- 240
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100