Werner Koch
a479804c86
gpg: New options --recipient-file and --hidden-recipient-file.
...
* g10/gpg.c (oRecipientFile, oHiddenRecipientFile): New.
(opts): Add options --recipient-file and --hidden-recipient-file.
(main): Implement them. Also remove duplicate code from similar
options.
* g10/keydb.h (PK_LIST_FROM_FILE): New.
(PK_LIST_SHIFT): Bump up.
* g10/pkclist.c (expand_group): Take care of PK_LIST_FROM_FILE.
(find_and_check_key): Add and implement arg FROM_FILE.
(build_pk_list): Pass new value for new arg.
* g10/getkey.c (get_pubkey_fromfile): New.
* g10/gpgv.c (read_key_from_file): New stub.
* g10/test-stubs.c (read_key_from_file): New stub.
* g10/server.c (cmd_recipient): Add flag --file.
* g10/import.c (read_key_from_file): New.
* tests/openpgp/defs.scm (key-file1): New.
(key-file2): New.
* tests/openpgp/setup.scm: Add their private keys and import the
key-file1.
* tests/openpgp/encrypt.scm: Add new test.
--
Signed-off-by: Werner Koch <wk@gnupg.org>
2016-07-06 15:35:19 +02:00
..
2016-07-05 18:49:06 +02:00
2016-06-20 23:59:18 +02:00
2016-06-11 20:42:28 +02:00
2016-06-11 11:14:00 +02:00
2016-06-07 13:09:00 +02:00
2016-04-27 08:34:29 +02:00
2016-06-23 12:12:43 +09:00
2011-12-01 11:09:02 +01:00
2016-04-29 11:05:24 +02:00
2016-01-12 10:32:20 +09:00
2016-06-30 18:50:16 +02:00
2015-08-25 15:26:33 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-02-14 14:46:30 +01:00
2016-05-10 11:01:42 +02:00
2015-12-23 20:06:49 +01:00
2014-10-31 14:21:34 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-01-22 12:06:11 +01:00
2007-07-04 19:49:40 +00:00
2016-07-01 16:50:12 +02:00
2014-11-13 12:01:42 +01:00
2016-07-01 16:27:43 +02:00
2016-07-06 15:35:19 +02:00
2015-02-04 09:15:34 +01:00
2016-07-06 15:35:19 +02:00
2016-05-21 12:26:44 +02:00
2015-02-04 09:15:34 +01:00
2016-06-14 09:06:44 +02:00
2016-05-21 20:06:59 +02:00
2016-05-21 20:06:59 +02:00
2016-07-06 15:35:19 +02:00
2012-06-05 19:29:22 +02:00
2016-07-06 15:35:19 +02:00
2016-07-01 12:50:29 +02:00
2016-06-30 18:50:16 +02:00
2016-07-06 15:35:19 +02:00
2016-06-30 15:28:42 +02:00
2016-07-01 16:27:43 +02:00
2016-06-06 17:03:47 +02:00
2016-06-23 20:01:15 +02:00
2016-04-29 11:05:24 +02:00
2015-11-17 14:53:05 +01:00
2016-04-27 08:34:29 +02:00
2016-07-01 14:16:18 +02:00
2016-07-06 15:35:19 +02:00
2016-06-30 15:31:37 +02:00
2016-05-21 20:06:59 +02:00
2016-04-29 11:05:24 +02:00
2016-06-07 10:59:46 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2000-07-31 08:04:16 +00:00
2016-06-28 15:56:48 +09:00
2016-01-22 10:54:10 +01:00
2016-07-01 16:27:43 +02:00
2016-06-28 15:56:48 +09:00
2016-04-29 11:05:24 +02:00
2016-05-21 11:41:49 +02:00
2016-05-21 11:41:49 +02:00
2016-07-06 15:35:19 +02:00
2016-04-29 11:05:24 +02:00
2014-01-30 18:48:37 +01:00
2016-04-29 11:05:24 +02:00
2016-05-27 11:29:55 +02:00
2016-04-29 11:05:24 +02:00
2000-07-31 08:04:16 +00:00
2016-06-30 11:45:13 +02:00
2011-02-04 12:57:53 +01:00
2008-12-12 08:54:50 +00:00
2016-04-29 11:05:24 +02:00
2016-07-06 15:35:19 +02:00
2016-06-02 15:57:59 +02:00
2016-05-11 19:27:03 +09:00
2016-06-30 18:50:16 +02:00
2016-04-29 11:05:24 +02:00
2016-06-28 18:21:50 +02:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2016-06-28 18:21:50 +02:00
2011-02-04 12:57:53 +01:00
2016-03-08 14:08:49 +01:00
2016-07-01 09:47:48 +02:00
2016-04-29 11:05:24 +02:00
2016-06-15 08:49:50 +09:00
2015-06-04 18:08:26 +02:00
2016-07-06 15:35:19 +02:00
2016-05-03 11:26:06 +02:00
2016-06-30 18:50:16 +02:00
2016-06-14 12:04:01 +02:00
2016-05-21 12:26:44 +02:00
2016-05-21 11:41:49 +02:00
2016-07-01 12:48:57 +02:00
2016-05-21 11:41:49 +02:00
2016-04-29 11:05:24 +02:00
2014-01-29 17:45:05 +01:00