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

Certificate evaluation: When addressing cert via key-id/fingerprint -> Inspect primary UserID sig first, then DK sig. #427

Open
vanitasvitae opened this issue Feb 5, 2024 · 0 comments
Labels
enhancement New feature or request module: core Issue affects the core module

Comments

@vanitasvitae
Copy link
Member

When encrypting a message for a recipient certificate without supplying the recipients user-id (e.g. email address), PGPainless currently inspects any direct-key signatures on the certificate in order to determine the key holders preferences.

It would be more correct, to first inspect binding signatures of the primary UserID and then fall back to the DK signature.

@vanitasvitae vanitasvitae added enhancement New feature or request module: core Issue affects the core module labels Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module: core Issue affects the core module
Projects
None yet
Development

No branches or pull requests

1 participant