gpgme/tests
Werner Koch fab8b1a166
core: New encryption flag GPGME_ENCRYPT_THROW_KEYIDS.
* src/gpgme.h.in (GPGME_ENCRYPT_THROW_KEYIDS): New flag.
* src/engine-gpg.c (gpg_encrypt): Implement flag
(gpg_encrypt_sign): Implement flag.

* tests/run-encrypt.c (main): New option --throw-keyids.
--

It would be nice to also selectively hide recipients (that is gpg
--hidden-recipient) but our API does not ye allow this because it is
based on key objects.  A possible way to implement that would be a API
to set processing flags into a key but this is complicated due to the
reference counting and thus the possibility that a key object is used
by different context.

Signed-off-by: Werner Koch <wk@gnupg.org>
2017-03-21 10:39:33 +01:00
..
gpg tests: Reduce iterations / threads 2017-01-30 14:19:52 +01:00
gpgsm doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
opassuan doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
ChangeLog-2011 move some file encodings to UTF-8 2016-09-23 16:08:33 +02:00
Makefile.am doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-decrypt.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-encrypt.c core: New encryption flag GPGME_ENCRYPT_THROW_KEYIDS. 2017-03-21 10:39:33 +01:00
run-export.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-genkey.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-identify.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-import.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-keylist.c core: New public API gpgme_op_keylist_from_data_start. 2017-03-21 09:50:23 +01:00
run-keysign.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-sign.c core: Add new context flag "redraw". 2017-01-31 09:44:29 +01:00
run-support.h doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-swdb.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-tofu.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
run-verify.c doc: Replace http: by https: in core source files. 2016-11-16 13:27:00 +01:00
start-stop-agent tests: Fix distcheck. 2017-03-20 17:07:31 +01:00
t-data-1.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data-2.txt 2001-10-16 Marcus Brinkmann <marcus@g10code.de> 2001-10-17 19:17:46 +00:00
t-data.c tests: Mark lots of unused vars and fix const mismatches. 2016-09-13 20:48:06 +02:00
t-engine-info.c core: Add new items for gpgme_get_dirinfo. 2016-08-22 16:57:51 +02:00
t-version.c Change the various version numbers to the new scheme. 2013-02-26 17:10:18 +01:00