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

Implement secret key protection using AEAD #1702

Closed

Conversation

vanitasvitae
Copy link
Contributor

This PR is based on - and blocked by - #1699

Here, I added two new classes, BcAEADSecretKeyEncryptorBuilder and JcaAEADSecretKeyEncryptorBuilder, which can both be used to AEAD-encrypt PGP secret keys.

First I tried to implement AEAD protection into the existing PBESecretKeyEncryptorBuilder classes, but that turned out to result in ugly code.
Let me know what you think of my approach.

@vanitasvitae
Copy link
Contributor Author

Blocked by #1695 because we need to access the new versioned BcPGPKeyPair, JcaPGPKeyPair constructors.

@jill-kleiber jill-kleiber self-assigned this Jul 2, 2024
@dghgit dghgit closed this Jul 23, 2024
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

Successfully merging this pull request may close these issues.

3 participants