aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Errors.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-06-13 13:22:03 +0000
committerMaximilian Krambach <[email protected]>2018-06-13 13:22:03 +0000
commitaed402c5d572b60246f1f8e57ae269f8c91b0b7c (patch)
treedb92714ef1e5f2b9aafa819db5f9fd3c7dd45187 /lang/js/src/Errors.js
parentjs: less confusing icons for test/Demo extension (diff)
downloadgpgme-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 'lang/js/src/Errors.js')
-rw-r--r--lang/js/src/Errors.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/js/src/Errors.js b/lang/js/src/Errors.js
index dabf6a5c..73e74382 100644
--- a/lang/js/src/Errors.js
+++ b/lang/js/src/Errors.js
@@ -78,6 +78,11 @@ const err_list = {
msg:'This property has not been retrieved yet from GPG',
type: 'error'
},
+ 'KEY_NO_DEFAULT': {
+ msg:'A default key could not be established. Please check yout gpg ' +
+ 'configuration',
+ type: 'error'
+ },
// generic
'PARAM_WRONG':{
msg: 'Invalid parameter was found',