json: Add command "decrypt" to gpgme-json.
authorWerner Koch <wk@gnupg.org>
Wed, 18 Apr 2018 13:24:42 +0000 (15:24 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 18 Apr 2018 13:24:42 +0000 (15:24 +0200)
commite5273fc4431dfb597a2d9cf4af5172572476a2de
tree5e1696872c3cea9997c1c3fdc8517a96035db441
parent65479fe7b871ad6237d5a8959b73afcc7db784da
json: Add command "decrypt" to gpgme-json.

* src/gpgme-json.c (make_data_object): Enable auto-detection of
base-64.
(op_encrypt): Support a 'mime' flag.
(op_decrypt): New.
(process_request): Add command "encrypt".

Signed-off-by: Werner Koch <wk@gnupg.org>
src/gpgme-json.c