aws / aws/aws-encryption-sdk-java

Support Re-Key Operation in AwsCrypto

Open
#76 1 comment 1 reaction 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.