Home GnuPG
Diffusion GnuPG 12ad9529782d

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.

(cherry picked from commit c9fa28bfad297b17e76341ffb40383ce92da5d44)

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

Details

Provenance
wernerAuthored on May 3 2019, 2:24 PM
Parents
rGdc9b2426288e: agent: Create and use Token entries to track the display s/n.
Branches
Unknown
Tags
Unknown