gpgme/src
Werner Koch b8159eadb5
core: New API functions gpgme_set_sender, gpgme_get_sender.
* src/context.h (struct gpgme_context): Add field 'sender'.
* src/gpgme.c: Include mbox-util.h.
(gpgme_release): Free SENDER.
(gpgme_set_sender): New.
(gpgme_get_sender): New.
* src/gpgme.def, src/libgpgme.vers: Add new functions.

* src/engine-gpg.c (append_args_from_sender): New.
(gpg_encrypt_sign, gpg_sign): Call append_args_from_sender.
(gpg_verify): Add arg CTX.  Call append_args_from_sender/
* src/engine-gpgsm.c (gpgsm_verify): Add dummy arg CTX.
* src/engine-uiserver.c (uiserver_verify): Ditto.
* src/engine.c (_gpgme_engine_op_verify): Add arg CTX.
* src/verify.c (verify_start): Pass CTX to engine function.

* tests/gpg/t-verify.c (main): Add some checks for new functions.
* tests/run-sign.c (main): Add option --sender.
* tests/run-verify.c (main): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-10-25 17:28:01 +02:00
..
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
argparse.c core: Do not pass const char* to functions taking a char*. 2016-09-13 20:44:59 +02:00
argparse.h gpgme-tool: Switch to argparse.c for option parsing. 2015-08-31 20:34:00 +02:00
assuan-support.c w32: Silence some warnings about unused parameters. 2016-09-22 12:58:23 +02:00
ath-pthread.c Make definition of off_t robust against misbehaving w32 toolchains. 2013-05-16 17:48:50 +02:00
ath.c Make definition of off_t robust against misbehaving w32 toolchains. 2013-05-16 17:48:50 +02:00
ath.h Make definition of off_t robust against misbehaving w32 toolchains. 2013-05-16 17:48:50 +02:00
b64dec.c Clarify licensing 2016-09-27 12:41:38 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-02 11:36:37 +01:00
context.h core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
conversion.c core: New helper function _gpgme_strconcat. 2016-09-22 12:42:10 +02:00
data-compat.c core: Fix condition-always-true warning in trace macro. 2016-09-13 20:54:55 +02:00
data-fd.c Make definition of off_t robust against misbehaving w32 toolchains. 2013-05-16 17:48:50 +02:00
data-identify.c Fix spelling 2016-09-23 16:09:27 +02:00
data-mem.c Add gpgme_pubkey_algo_string 2015-08-30 19:04:44 +02:00
data-stream.c Make definition of off_t robust against misbehaving w32 toolchains. 2013-05-16 17:48:50 +02:00
data-user.c Make definition of off_t robust against misbehaving w32 toolchains. 2013-05-16 17:48:50 +02:00
data.c core: Add gpgme_data_set_flag to add more meta data to data objects. 2016-08-12 15:21:42 +02:00
data.h core: Add gpgme_data_set_flag to add more meta data to data objects. 2016-08-12 15:21:42 +02:00
debug.c w32: Print the installation directory in debug mode. 2015-08-24 15:03:20 +02:00
debug.h Fix compiler warnings about unused value in TRACE macros. 2015-06-08 11:08:08 +02:00
decrypt-verify.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
decrypt.c api: Add new function gpgme_set_ctx_flag. 2016-05-19 17:04:54 +02:00
delete.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
dirinfo.c core: Cast away the common const problem with spawn and argv. 2016-09-13 20:57:15 +02:00
edit.c core: New function gpgme_op_interact, deprecate gpgme_op_edit. 2016-09-15 11:39:43 +02:00
encrypt-sign.c core: Fix passphrase cb for mixed sym encrypt 2016-09-06 16:28:45 +02:00
encrypt.c core: Fix passphrase cb for mixed sym encrypt 2016-09-06 16:28:45 +02:00
engine-assuan.c core: Check for GPG_TTY as well as DISPLAY. 2016-09-19 08:35:20 +02:00
engine-backend.h core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
engine-g13.c core: Check for GPG_TTY as well as DISPLAY. 2016-09-19 08:35:20 +02:00
engine-gpg.c core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
engine-gpgconf.c core: New function gpgme_op_tofu_policy 2016-09-14 20:21:19 +02:00
engine-gpgsm.c core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
engine-spawn.c core: New function gpgme_op_tofu_policy 2016-09-14 20:21:19 +02:00
engine-uiserver.c core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
engine.c core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
engine.h core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
error.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
export.c core: New function gpgme_op_create_key. 2016-09-13 18:59:10 +02:00
funopen.c Fix typos found by codespell. 2015-12-02 11:28:07 +01:00
genkey.c core: New function gpgme_op_revuid. 2016-09-14 12:42:12 +02:00
get-env.c Use gpg_error_from_syserror instead of directly accessing errno. 2013-02-06 17:35:40 +01:00
getauditlog.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
gpgconf.c Make gpgconf engine work again - fixes 02ba35c1. 2014-01-07 17:59:59 +01:00
gpgme-config.in core: New commands --lang and --have-lang for gpgme-config 2016-08-21 15:49:03 +02:00
gpgme-tool.c core: Use const char * where appropriate. 2016-09-13 20:59:07 +02:00
gpgme-w32spawn.c w32: Get IOSPAWN flag back in sync with spawn helper. 2014-06-26 10:42:56 +02:00
gpgme.c core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
gpgme.def core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
gpgme.h.in core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
gpgme.m4 build: Implement SYSROOT feature. 2014-10-02 15:57:50 +02:00
import.c Use gpg_error_from_syserror instead of directly accessing errno. 2013-02-06 17:35:40 +01:00
isascii.c 008-11-03 Marcus Brinkmann <marcus@g10code.com> 2008-11-03 17:24:09 +00:00
key.c core: Change the way TOFU information are represented. 2016-08-23 15:24:10 +02:00
keylist.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
keysign.c core: New function gpgme_op_keysign. 2016-09-14 18:59:55 +02:00
libgpgme.vers core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
Makefile.am core: Remove moc artifact 2016-09-19 14:29:03 +02:00
mbox-util.c core: New helper function gpgme_addrspec_from_uid. 2016-10-08 21:17:48 +02:00
mbox-util.h Clarify licensing 2016-09-27 12:41:38 +02:00
op-support.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
opassuan.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
ops.h core: Change the way TOFU information are represented. 2016-08-23 15:24:10 +02:00
parsetlv.c Add function gpgme_data_identify. 2013-08-09 19:19:26 +02:00
parsetlv.h Add function gpgme_data_identify. 2013-08-09 19:19:26 +02:00
passphrase.c api: Add new function gpgme_set_ctx_flag. 2016-05-19 17:04:54 +02:00
passwd.c Make use of user passphrase handler during passwd. 2015-10-29 18:05:10 -04:00
posix-io.c core: Use const char * where appropriate. 2016-09-13 20:59:07 +02:00
posix-sema.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
posix-util.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
priv-io.h w32: Get IOSPAWN flag back in sync with spawn helper. 2014-06-26 10:42:56 +02:00
progress.c Use gpg_error_from_syserror instead of directly accessing errno. 2013-02-06 17:35:40 +01:00
putc_unlocked.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
sema.h Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
setenv.c More include guards. 2010-11-03 09:56:27 +00:00
sig-notation.c Use gpg_error_from_syserror instead of directly accessing errno. 2013-02-06 17:35:40 +01:00
sign.c api: Add new function gpgme_set_ctx_flag. 2016-05-19 17:04:54 +02:00
signers.c Fix potential crash in trace macro. 2015-03-16 13:40:34 +01:00
spawn.c Actually implement flags for gpgme_op_spawn. 2014-04-10 14:17:19 +02:00
status-table.c core: Map GPGME_STATUS_EOF to the empty string. 2016-09-16 16:00:27 +02:00
stpcpy.c 008-11-03 Marcus Brinkmann <marcus@g10code.com> 2008-11-03 17:24:09 +00:00
sys-util.h w32: Add new global flag "w32-inst-dir". 2015-10-28 16:28:48 +01:00
tofupolicy.c core: New function gpgme_op_tofu_policy 2016-09-14 20:21:19 +02:00
trust-item.c Use gpg_error_from_syserror instead of directly accessing errno. 2013-02-06 17:35:40 +01:00
trustlist.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
ttyname_r.c Fix ttyname problem on Android. 2012-10-24 16:44:34 +02:00
util.h core: New helper function _gpgme_strconcat. 2016-09-22 12:42:10 +02:00
vasprintf.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
verify.c core: New API functions gpgme_set_sender, gpgme_get_sender. 2016-10-25 17:28:01 +02:00
version.c core: Use const char * where appropriate. 2016-09-13 20:59:07 +02:00
versioninfo.rc.in Release 1.7.0 2016-09-21 09:18:01 +02:00
vfs-create.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
vfs-mount.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
w32-ce.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
w32-ce.h Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
w32-glib-io.c Fix typos found by codespell. 2015-12-02 11:28:07 +01:00
w32-io.c core: Remove (now) useless diagnostic 2016-08-18 17:14:36 +02:00
w32-sema.c Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00
w32-util.c core: Fix w32 crash in find_program_in_dir 2016-10-10 12:19:48 +02:00
wait-global.c Fix typos found by codespell. 2015-12-02 11:28:07 +01:00
wait-private.c Fix typos found by codespell. 2015-12-02 11:28:07 +01:00
wait-user.c core: Mark unused function args. 2016-09-13 20:53:49 +02:00
wait.c Use gpg_error_from_syserror instead of directly accessing errno. 2013-02-06 17:35:40 +01:00
wait.h Remove all trailing whitespace from source files 2012-09-25 15:29:49 +02:00