Diffusion GnuPG cb302d66b932

gpg: allow import of previously known keys, even without UIDs

Authored by Valodim on Jun 13 2019, 9:27 PM.

Description

gpg: allow import of previously known keys, even without UIDs

* g10/import.c (import_one): Accept an incoming OpenPGP certificate that
has no user id, as long as we already have a local variant of the cert
that matches the primary key.

This fixes two of the three broken tests in import-incomplete.scm.

  • Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

Details

Committed
dkgJun 14 2019, 5:34 PM
Parents
rGe8b91282f85f: tests: add test cases for import without uid
Branches
Unknown
Tags
Unknown
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.
werner added a subscriber: werner.Jun 14 2019, 5:58 PM

Please use a private branch for such patches (dkg/fix-*) as you did in the past.

We also have not DCO on record for @Valodim