Home GnuPG
Diffusion GPGME 263dadb04aed

json: Add proper decrypt_result_t handling

Description

json: Add proper decrypt_result_t handling

* src/gpgme-json.c (recipient_to_json, decrypt_result_to_json):
New.
(op_decrypt, hlp_decrypt): Update.

The op_decrypt as one of the first operations did not yet
match the current 1 <> 1 mapping of gpgme types to json
dictonaries.

info and dec_info are bad names but used for compatibility reasons.

Details

Provenance
aheineckeAuthored on Aug 21 2018, 2:36 PM
Parents
rM8103eeba809b: json: Add subkey_algo and defaults to createkey
Branches
Unknown
Tags
Unknown