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

openpgp: prevent panic for missing self-signature #99

Merged
merged 2 commits into from
Apr 7, 2022

Commits on Apr 4, 2022

  1. openpgp: prevent panic for missing self-signature

    Since revocation signatures are not considered self-signatures anymore,
    but identities can potentially only have a revocation signature, there
    can be identities without self-signature (i.e. `id.SelfSignature ==
    nil`).
    
    Hence, guard against null pointer dereference in the various places
    where the self-signature is accessed.
    bitfehler committed Apr 4, 2022
    Configuration menu
    Copy the full SHA
    2ebdfe2 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Update openpgp/keys.go

    Co-authored-by: Conrad Hoffmann <1226676+bitfehler@users.noreply.github.com>
    twiss and bitfehler committed Apr 7, 2022
    Configuration menu
    Copy the full SHA
    2c2a448 View commit details
    Browse the repository at this point in the history