js: getDefaultKey and verify fix
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Wed, 13 Jun 2018 13:22:03 +0000 (15:22 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Wed, 13 Jun 2018 13:22:03 +0000 (15:22 +0200)
commitaed402c5d572b60246f1f8e57ae269f8c91b0b7c
treedb92714ef1e5f2b9aafa819db5f9fd3c7dd45187
parentd0fc4ded58f4a6a86c5ee0a36a3d3c669e244d0d
js: getDefaultKey and verify fix

--

* DemoExtension/maindemo.js - added a Demo for retrieving the default
  signing key

* src/Errors.js - add a new Error if no default key can be determined

* src/Key.js added documentation and a TODO marker for hasSecret.

* src/Keyring.js implemented getDefaultKey

* src/permittedOperations.js: Added missing entry for verify,
    added config_opt
lang/js/CHECKLIST
lang/js/DemoExtension/maindemo.js
lang/js/DemoExtension/mainui.html
lang/js/src/Errors.js
lang/js/src/Key.js
lang/js/src/Keyring.js
lang/js/src/permittedOperations.js