diff options
author | Maximilian Krambach <[email protected]> | 2018-07-04 10:11:35 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-07-04 10:11:35 +0000 |
commit | 1105fc87a3bd3e1152aff578b7b84871558418e6 (patch) | |
tree | 75aeb36d9f5087b997001b484894e2cab7853c4d /lang/js/DemoExtension/mainui.html | |
parent | js: fixing Key import/export test (diff) | |
download | gpgme-1105fc87a3bd3e1152aff578b7b84871558418e6.tar.gz gpgme-1105fc87a3bd3e1152aff578b7b84871558418e6.zip |
js: add Key lookup
--
* src/Keyring.js: getKeys() now has the option "search", which will
trigger a remote lookup (as configured in gpg) for the string given
as pattern.
* src/permittedOperations: make use of the new 'locate' option in
keylist
* DemoExtension: Add a button for lookup, to demonstrate the
functionality
Diffstat (limited to 'lang/js/DemoExtension/mainui.html')
-rw-r--r-- | lang/js/DemoExtension/mainui.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/js/DemoExtension/mainui.html b/lang/js/DemoExtension/mainui.html index b6390363..c773c9b9 100644 --- a/lang/js/DemoExtension/mainui.html +++ b/lang/js/DemoExtension/mainui.html @@ -17,9 +17,13 @@ </li> <li> <span class="label">Fingerprint of Key to use: </span> - </li> - <input type="text" id="pubkey" value="" /> <br> - <button id="getdefaultkey">Set to default signing key</button> + <input type="text" id="pubkey" value="" /> + <button id="getdefaultkey"> + Set to default signing key + </button> + <button id="searchkey"> + Look up Key + </button> </li> </ul> </div> |