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

make stringToKeySpecifier a real type #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

idrysdale
Copy link

rather than type alias.

Paul M Furley and others added 4 commits September 13, 2018 18:06
When building subpackets for a Signature, ensure a "reason for
revocation" subpacket is added if the Signature is a
SigTypeKeyRevocation.

See https://tools.ietf.org/html/rfc4880#section-5.2.3.23
Rather than using the *first* subkey binding signature encountered, use
the one with the most recent creation data, as per the recommendation from RFC
4880:

> An implementation that encounters multiple self-signatures on the
> same object may resolve the ambiguity in any way it sees fit, but it
> is RECOMMENDED that priority be given to the most recent self-
> signature.

This allows subkeys to approach expiry then be re-signed with a new
expiry.
openpgp: use latest subkey binding signature
rather than type alias.
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