Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versionning of encryption keys #3

Open
rande opened this issue Feb 25, 2019 · 0 comments
Open

Versionning of encryption keys #3

rande opened this issue Feb 25, 2019 · 0 comments
Assignees

Comments

@rande
Copy link

rande commented Feb 25, 2019

The keys must be versioned to be able to change the key if one is leaked, but also still be able to decode old data.

The encryption message should start by a prefix: {keyVersion}encryptedPayload, and the encryptor/decryptor should support the multiple keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants