diff options
author | Maximilian Krambach <[email protected]> | 2018-05-22 12:24:16 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-05-22 12:24:16 +0000 |
commit | ecad77263585cd5954758f797327d98232d880dc (patch) | |
tree | c7654c406f4e838a06f646be8cbb6798e38b1bd9 /lang/js/src/permittedOperations.js | |
parent | js: Testing lare messages (diff) | |
download | gpgme-ecad77263585cd5954758f797327d98232d880dc.tar.gz gpgme-ecad77263585cd5954758f797327d98232d880dc.zip |
js: transfer encoding changes
--
* Uint8Arrays are not supported for now there are unsolved issues in
conversion, and they are lower priority
* encrypt gains a new option to indicate that input values are base64
encoded
* as decrypted values are always base64 encoded, the option base64 will
not try to decode the result into utf, but leave it as it is
Diffstat (limited to 'lang/js/src/permittedOperations.js')
-rw-r--r-- | lang/js/src/permittedOperations.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/js/src/permittedOperations.js b/lang/js/src/permittedOperations.js index 59597aaf..da46a1fd 100644 --- a/lang/js/src/permittedOperations.js +++ b/lang/js/src/permittedOperations.js @@ -51,7 +51,7 @@ export const permittedOperations = { array_allowed: true }, 'data': { - allowed: ['string', 'Uint8Array'] + allowed: ['string'] } }, optional: { @@ -103,7 +103,7 @@ export const permittedOperations = { pinentry: true, required: { 'data': { - allowed: ['string', 'Uint8Array'] + allowed: ['string'] } }, optional: { |