Diffusion GnuPG a1db83d8a330

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.

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

Details

Committed
dkgJun 14 2019, 6:07 PM
Parents
rG4c40bfa90bda: tests: add test cases for import without uid
Branches
Unknown
Tags
Unknown