aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Errors.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-05-30 15:05:54 +0000
committerMaximilian Krambach <[email protected]>2018-05-30 15:05:54 +0000
commit332b4adbcc52ccf337cbc1943d5abef500769e10 (patch)
tree4772742bc9ac61faabcfcc5d5ad5b635e725b614 /lang/js/src/Errors.js
parentjs: Keyring listing keys (diff)
downloadgpgme-332b4adbcc52ccf337cbc1943d5abef500769e10.tar.gz
gpgme-332b4adbcc52ccf337cbc1943d5abef500769e10.zip
js: more Keyring/Key handling
-- * src/Keys.js - made setKeyData more consistent with other methods - added convenience methods (Key.armored, Key.hasSecret) - Added a Key delete function * src/Keyring.js: - added a getkeysArmored which allows for bulk export of public Keys gpgmejs: - removed deleteKey. It is now a method of the Key itself - Encrypt: Added some common options as parameter, and the possibility to set all allowed flags via an additional Object
Diffstat (limited to 'lang/js/src/Errors.js')
-rw-r--r--lang/js/src/Errors.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/js/src/Errors.js b/lang/js/src/Errors.js
index fa8a4efe..3b53eeb4 100644
--- a/lang/js/src/Errors.js
+++ b/lang/js/src/Errors.js
@@ -71,6 +71,10 @@ const err_list = {
msg:'This key does not exist in GPG',
type: 'error'
},
+ 'KEY_NO_INIT': {
+ msg:'This property has not been retrieved yet from GPG',
+ type: 'error'
+ }
// generic
'PARAM_WRONG':{
msg: 'Invalid parameter was found',