Diffusion GnuPG c86ae73950e7

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:51 PM
Parents
rGbfff05eea9a5: 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.