1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch be07ed65e1 Add new option --with-secret.
* g10/gpg.c: Add option --with-secret.
* g10/options.h (struct opt): Add field with_secret.
* g10/keylist.c (public_key_list): Pass opt.with_secret to list_all
and list_one.
(list_all, list_one): Add arg mark_secret.
(list_keyblock_colon): Add arg has_secret.
* sm/gpgsm.c: Add option --with-secret.
* sm/server.c (option_handler): Add option "with-secret".
* sm/gpgsm.h (server_control_s): Add field with_secret.
* sm/keylist.c (list_cert_colon): Take care of with_secret.  Also move
the token string from the wrong field 14 to 15.
--

This option is useful for key managers which need to know whether a
key has a secret key.  This change allows to collect this information
in one pass.
2014-06-03 21:35:59 +02:00
..
2014-06-03 21:35:59 +02:00
2014-04-15 19:44:50 +02:00
2014-01-31 14:35:49 +01:00
2007-07-04 19:49:40 +00:00
2014-06-03 21:35:59 +02:00
2013-11-15 15:49:34 +01:00
2014-04-15 19:44:50 +02:00
2014-05-08 10:28:23 +02:00
2014-06-03 21:35:59 +02:00
2014-06-03 21:35:59 +02:00
2013-11-18 14:09:47 +01:00
2014-06-03 21:35:59 +02:00
2014-06-02 19:50:18 +02:00
2013-11-18 14:09:47 +01:00
2014-06-03 21:35:59 +02:00
2014-04-28 10:36:16 +09:00
2008-12-12 08:54:50 +00:00
2014-03-06 16:23:10 +09:00
2014-01-29 17:45:05 +01:00