Home GnuPG
Diffusion GPGME 4dc9af24156b

Add new keylist mode GPGME_KEYLIST_MODE_WITH_SECRET.
4dc9af24156bUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add new keylist mode GPGME_KEYLIST_MODE_WITH_SECRET.

* src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_SECRET): New.
* src/engine-gpg.c (gpg_keylist_build_options): Handle new mode.
* src/engine-gpgsm.c (gpgsm_keylist, gpgsm_keylist_ext): Ditto.
* src/keylist.c (parse_sec_field15): Add arg key and take care of
--with-secret output.
* src/gpgme-tool.c (gt_get_keylist_mode, cmd_keylist_mode): Add
"with_secret".  Print card info and and secret flag for subkeys.

Note: This mode may only be used with GnuPG >= 2.1.

Details

Provenance
wernerAuthored on Jun 4 2014, 9:57 AM
Parents
rMee0f17736ec1: Post release updates
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM4dc9af24156b: Add new keylist mode GPGME_KEYLIST_MODE_WITH_SECRET. (authored by Werner Koch <wk@gnupg.org>).Jun 4 2014, 9:57 AM