Home GnuPG
Diffusion GPGME 4f28fbddd3d7

js: extend information on decoding in decrypt

Description

js: extend information on decoding in decrypt

  • src/Connection.js: resulting data, if not pure ascii, is base64 encoded in the result message. A further decoding attempt into javascript 'string' will be attempted by default, unless specified at the decrypt() method. The return value 'format' now shows which of the possibilities has been applied. The old boolean 'base64' now turns into format:'base64' if the returned payload is a base64 string after decryption.

Details

Provenance
mkrambachAuthored on Aug 27 2018, 11:50 AM
Parents
rM557fec600248: js: fix file_name return on decrypt
Branches
Unknown
Tags
Unknown