-
Notifications
You must be signed in to change notification settings - Fork 1.2k
High-Level API #0: Preparations for high-level OpenPGP Key Generator API #1926
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
Conversation
93b25bc
to
de6113c
Compare
Some context for 32fc48b : The best way I found to add support for session-key extraction in a backwards-compatible manner was by using a callback. Let me know what you think of this feature. In 15ae18e I also exposed the encrypted data packet object. This is needed in order to emit, which encryption method (SEIPDv1, SEIPDv2, legacy SED, LibrePGP OED) was used to encrypt the message with. |
* Rename masterKey -> primaryKey * Add generics to list structures * sanitize primary and subkeys * properly instantiate signature generators by passing key version
This class contains methods for checking properties of public key algorithms
Both the BcAEADSecretKeyEncryptorBuilder and JcaAEADSecretKeyEncryptorBuilder did not share a common super type. This patch added AEADSecretKeyEncryptorBuilder for this purpose.
ce1e190
to
9b96a7d
Compare
There are some classes that are still under review and will be merged into the main branch later. |
This is part 1 of the split-up patch adding a high-level key generator API.
This one is focussed on changes required in
/openpgp/
,/openpgp/operator/
and/bcpg/
.It also contains the fix from #1882 (the test will be included in the second PR).