Home GnuPG
Diffusion GnuPG 591b6a9d879c

gpg: Do not allow the user to revoke the last valid UID.
591b6a9d879cUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Do not allow the user to revoke the last valid UID.

* g10/keyedit.c (keyedit_quick_revuid): Merge self signatures, then
make sure that we do not revoke the last valid UID.
(menu_revuid): Make sure that we do not revoke the last valid UID.
* tests/openpgp/quick-key-manipulation.scm: Demonstrate that
'--quick-revoke-uid' can not be used to revoke the last valid UID.
  • GnuPG-bug-id: T2960
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 2 2017, 2:14 PM
Parents
rG80fb1a8a05b2: tools: Removal of -Icommon.
Branches
Unknown
Tags
Unknown