Home GnuPG
Diffusion GnuPG c9fa28bfad29

common: In private key mode write "Key:" always last in name-value.

Description

common: In private key mode write "Key:" always last in name-value.

* common/name-value.c (nvc_write): Take care of Key. Factor some code
out to ...
(write_one_entry): new.

The key item is in general not manual editable thus we put it at the
end of a file.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 3 2019, 2:24 PM
Parents
rGbd6ecbb8f8e9: gpg: Use just the addrspec from the Signer's UID.
Branches
Unknown
Tags
Unknown