aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Keyring.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-06-14 10:15:51 +0000
committerMaximilian Krambach <[email protected]>2018-06-14 10:15:51 +0000
commit3c783bd09ce54b0d50dc3bea201e70e4fcbbf6a3 (patch)
tree2ac86ed4255a23ce7d03d8dc4afe136151a85c9c /lang/js/src/Keyring.js
parentjs: getDefaultKey and verify fix (diff)
downloadgpgme-3c783bd09ce54b0d50dc3bea201e70e4fcbbf6a3.tar.gz
gpgme-3c783bd09ce54b0d50dc3bea201e70e4fcbbf6a3.zip
js: add verify and signature parsing
-- * src/gpgmejs.js: - Added verify method - Added verification results in decrypt (if signatures are present in the message) - Added a base64 option to decrypt * src/Signature.js: Convenience class for verification results. Used for e.g. converting timestamps to javascript time, quick overall validity checks * src/Keyring.js: removed debug code * src/Errors.js add two new Signature errors
Diffstat (limited to '')
-rw-r--r--lang/js/src/Keyring.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lang/js/src/Keyring.js b/lang/js/src/Keyring.js
index e07a5934..451f936a 100644
--- a/lang/js/src/Keyring.js
+++ b/lang/js/src/Keyring.js
@@ -135,8 +135,6 @@ export class GPGME_Keyring {
// and probably performance, too
me.getKeys(null,true).then(function(keys){
for (let i=0; i < keys.length; i++){
- console.log(keys[i]);
- console.log(keys[i].get('hasSecret'));
if (keys[i].get('hasSecret') === true){
resolve(keys[i]);
break;