diff options
author | Maximilian Krambach <[email protected]> | 2018-06-13 13:22:03 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-06-13 13:22:03 +0000 |
commit | aed402c5d572b60246f1f8e57ae269f8c91b0b7c (patch) | |
tree | db92714ef1e5f2b9aafa819db5f9fd3c7dd45187 /lang/js/DemoExtension/mainui.html | |
parent | js: less confusing icons for test/Demo extension (diff) | |
download | gpgme-aed402c5d572b60246f1f8e57ae269f8c91b0b7c.tar.gz gpgme-aed402c5d572b60246f1f8e57ae269f8c91b0b7c.zip |
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
Diffstat (limited to '')
-rw-r--r-- | lang/js/DemoExtension/mainui.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/js/DemoExtension/mainui.html b/lang/js/DemoExtension/mainui.html index 76b8a221..91be7bbc 100644 --- a/lang/js/DemoExtension/mainui.html +++ b/lang/js/DemoExtension/mainui.html @@ -29,5 +29,16 @@ <hr> <h3>Result data:</h3> <textarea id="answer" rows="5" cols="65" wrap="hard"></textarea> + + <hr> + <ul> + <li> + <span class="label">Default Key:</span> + <button id="getdefaultkey">Get</button><br> + <span id="defaultkey"></span> + </li> + + + </ul> </body> </html> |