aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/docs/GPGMEpythonHOWTOen.org
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-03-28 18:50:54 +0000
committerWerner Koch <[email protected]>2018-03-28 18:53:21 +0000
commit4b2fa657d195382d14ac99be40b66327e0fc855c (patch)
tree0e0e649f6cd540051dc344222bfd6d14da50c31c /lang/python/docs/GPGMEpythonHOWTOen.org
parentcore: Initialize key return value in gpgme_get_key (diff)
downloadgpgme-4b2fa657d195382d14ac99be40b66327e0fc855c.tar.gz
gpgme-4b2fa657d195382d14ac99be40b66327e0fc855c.zip
json: Make native messaging work.
* src/gpgme-json.c (opt_debug): New. (process_request): Add optional arg nm_mode. In this mode take the request from a "message" object. (native_messaging_repl): Add debug output and call process_request in NM_MODE. (main): Add option --debug. Parse envvar GPGME_JSON_DEBUG as an alternative way to enable this. Use a default log file. -- Note that the default log file is ~/.gnupg/S.gpgme-json.log . Thus to debug a javascript application you should start watchgnupg --time-only --force ~/.gnupg/S.gpgme-json.log in a separate tty and then use GPGME_JSON_DEBUG=1 firefox & to run firefox. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'lang/python/docs/GPGMEpythonHOWTOen.org')
0 files changed, 0 insertions, 0 deletions