Werner Koch
421ddd1e67
core: New API gpgme_op_set_uid_flag.
* src/gpgme.h.in (gpgme_op_set_uid_flag_start): New.
(gpgme_op_set_uid_flag_start): New.
* src/gpgme.def, src/libgpgme.vers: Add them.
* src/genkey.c (addrevuid_start): Change arg revoke to a flag.
(gpgme_op_revuid_start): Pass GENKEY_EXTRAFLAG_REVOKE for the fomer
revoke parameter.
(gpgme_op_revuid): Ditto.
(set_uid_flag): New.
(gpgme_op_set_uid_flag_start): New.
(gpgme_op_set_uid_flag): New.
* src/engine.h (GENKEY_EXTRAFLAG_SETPRIMARY): new.
* src/engine-gpg.c (gpg_adduid): Implement that flag.
* tests/run-genkey.c (main): New command --set-primary.
--
GnuPG-bug-id: 2931
Signed-off-by: Werner Koch <wk@gnupg.org>
2017-03-21 19:03:58 +01:00
..
2012-04-20 16:05:11 +02:00
2016-11-16 13:27:00 +01:00
2016-11-16 13:27:00 +01:00
2016-09-22 12:58:23 +02:00
2016-11-10 13:33:13 +01:00
2016-11-10 13:33:13 +01:00
2016-11-16 13:27:00 +01:00
2011-12-02 11:36:37 +01:00
2017-01-31 09:44:29 +01:00
2016-09-22 12:42:10 +02:00
2017-02-02 09:53:48 +01:00
2013-05-16 17:48:50 +02:00
2016-11-16 13:27:00 +01:00
2015-08-30 19:04:44 +02:00
2013-05-16 17:48:50 +02:00
2013-05-16 17:48:50 +02:00
2017-03-02 14:47:51 +01:00
2016-08-12 15:21:42 +02:00
2017-02-02 12:35:59 +01:00
2015-06-08 11:08:08 +02:00
2016-11-15 10:34:13 +01:00
2016-11-15 10:34:13 +01:00
2016-09-13 20:53:49 +02:00
2017-03-21 11:16:16 +01:00
2016-09-15 11:39:43 +02:00
2016-09-06 16:28:45 +02:00
2016-09-06 16:28:45 +02:00
2017-03-21 09:50:23 +01:00
2017-03-21 09:50:23 +01:00
2017-03-21 09:50:23 +01:00
2017-03-21 19:03:58 +01:00
2017-03-21 09:50:23 +01:00
2017-03-21 09:50:23 +01:00
2017-03-21 09:50:23 +01:00
2017-03-21 09:50:23 +01:00
2017-03-21 09:50:23 +01:00
2017-03-21 19:03:58 +01:00
2017-03-02 14:47:51 +01:00
2016-11-16 13:27:00 +01:00
2017-03-21 19:03:58 +01:00
2013-02-06 17:35:40 +01:00
2016-11-16 13:27:00 +01:00
2016-11-03 17:32:30 +01:00
2016-11-10 13:33:13 +01:00
2016-11-16 13:27:00 +01:00
2016-11-16 13:27:00 +01:00
2017-01-31 09:44:29 +01:00
2017-03-21 19:03:58 +01:00
2017-03-21 19:03:58 +01:00
2014-10-02 15:57:50 +02:00
2017-03-09 11:45:00 +01:00
2017-02-01 18:06:54 +01:00
2017-03-21 09:50:23 +01:00
2016-11-16 13:27:00 +01:00
2017-03-21 19:03:58 +01:00
2016-11-16 13:27:00 +01:00
2016-11-16 13:27:00 +01:00
2016-11-16 13:27:00 +01:00
2017-01-31 09:44:29 +01:00
2016-11-16 13:27:00 +01:00
2016-08-23 15:24:10 +02:00
2016-11-16 13:27:00 +01:00
2016-11-16 13:27:00 +01:00
2016-05-19 17:04:54 +02:00
2016-11-16 13:27:00 +01:00
2017-02-03 13:56:23 +01:00
2016-09-13 20:53:49 +02:00
2014-06-26 10:42:56 +02:00
2017-01-31 09:44:29 +01:00
2012-09-25 15:29:49 +02:00
2016-11-16 13:27:00 +01:00
2016-11-10 13:33:13 +01:00
2010-11-03 09:56:27 +00:00
2013-02-06 17:35:40 +01:00
2016-05-19 17:04:54 +02:00
2015-03-16 13:40:34 +01:00
2014-04-10 14:17:19 +02:00
2016-09-16 16:00:27 +02:00
2016-11-16 13:27:00 +01:00
2016-11-16 13:27:00 +01:00
2013-02-06 17:35:40 +01:00
2016-09-13 20:53:49 +02:00
2016-11-16 13:27:00 +01:00
2017-02-02 12:35:59 +01:00
2017-02-03 13:08:39 +01:00
2016-11-10 13:33:13 +01:00
2016-09-21 09:18:01 +02:00
2017-02-02 12:35:59 +01:00
2017-02-02 12:35:59 +01:00
2016-11-16 13:27:00 +01:00
2012-09-25 15:29:49 +02:00
2015-12-02 11:28:07 +01:00
2017-02-02 12:35:59 +01:00
2017-02-02 12:35:59 +01:00
2015-12-02 11:28:07 +01:00
2015-12-02 11:28:07 +01:00
2016-09-13 20:53:49 +02:00
2013-02-06 17:35:40 +01:00
2012-09-25 15:29:49 +02:00