js: Keyring listing keys
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Mon, 28 May 2018 15:26:56 +0000 (17:26 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Mon, 28 May 2018 15:26:56 +0000 (17:26 +0200)
commit53ce2b94bc35243710dec9b7972c7aaaa79dbc75
tree3cf99970812a21d5e4c57afcb39a2b0c67212269
parentd4adbf453d39659eee378b2be1d7125315d76083
js: Keyring listing keys

--

* implementing Keyring methods:

  - Keyring.getKeys: has an additional option that retrieves the armor
    and secret state once at the beginning. This is power hungry, but
    allows for Keys to be used directly (without querying gpgme-json
    each call)
  * permittedOperations.js: reflect recent changes in the native
    counterpart, adding more options
  * Key: adding two methods for retrieving the armored Key block and
    for finding out if the Key includes a secret subkey.
lang/js/BrowserTestExtension/testkey2.pub [new file with mode: 0644]
lang/js/src/Key.js
lang/js/src/Keyring.js
lang/js/src/permittedOperations.js
lang/js/unittest_inputvalues.js
lang/js/unittests.js