Skip to content

Conversation

@vanitasvitae
Copy link
Contributor

The OpenPGP protocol defines two different encryption key flags: ENCRYPT_STORAGE and ENCRYPT_COMMS.

This PR adds methods to select encryption keys of a certificate by passing in key flags as array of masks.
This allows the user to encrypt a message for a specific use-case, such as data in transmission or data at rest.

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.

1 participant