aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brunschwig <[email protected]>2021-05-08 17:33:57 +0200
committerPatrick Brunschwig <[email protected]>2021-05-08 17:33:57 +0200
commit09dd169bf7b58e17ed5e2aa8bfea8e2038e63be7 (patch)
treeb3e31e5085747fc4a21c557b0e43f83bfff550a1
parentaa4f5de76398c08378454d2f674e6765c2240c79 (diff)
downloadenigmail-09dd169bf7b58e17ed5e2aa8bfea8e2038e63be7.tar.gz
enigmail-09dd169bf7b58e17ed5e2aa8bfea8e2038e63be7.tar.bz2
enigmail-09dd169bf7b58e17ed5e2aa8bfea8e2038e63be7.zip
documentation improvements
-rw-r--r--package/cryptoAPI/interface.js4
-rw-r--r--package/cryptoAPI/pgpjs-decrypt.jsm20
2 files changed, 12 insertions, 12 deletions
diff --git a/package/cryptoAPI/interface.js b/package/cryptoAPI/interface.js
index 9e4006a9..a0664341 100644
--- a/package/cryptoAPI/interface.js
+++ b/package/cryptoAPI/interface.js
@@ -353,9 +353,9 @@ class CryptoAPI {
* - {String} blockSeparation
* - {String} userId: signature user Id
* - {String} keyId: signature key ID
+ * - {String} encryptedFileName
* - {String} sigDetails: as printed by GnuPG for VALIDSIG pattern
- retStatusObj.encToDetails = encToDetails;
-*
+ * - {String} encToDetails: \n keyId1 (userId1),\n keyId1 (userId2),\n ...
*
* Use Promise.catch to handle failed decryption.
* retObj.errorMsg will be an error message in this case.
diff --git a/package/cryptoAPI/pgpjs-decrypt.jsm b/package/cryptoAPI/pgpjs-decrypt.jsm
index e66c0058..10f9b174 100644
--- a/package/cryptoAPI/pgpjs-decrypt.jsm
+++ b/package/cryptoAPI/pgpjs-decrypt.jsm
@@ -374,16 +374,16 @@ var pgpjs_decrypt = {
if (currentStatus >= signatureStatus) {
/* VALIDSIG args are (separated by space):
- - <fingerprint_in_hex>
- - <sig_creation_date>
- - <sig-timestamp>
- - <expire-timestamp>
- - <sig-version>
- - <reserved>
- - <pubkey-algo>
- - <hash-algo>
- - <sig-class>
- - [ <primary-key-fpr> ]
+ - <fingerprint_in_hex> 4F9F89F5505AC1D1A260631CDB1187B9DD5F693B
+ - <sig_creation_date> 2020-03-21
+ - <sig-timestamp> 1584805187
+ - <expire-timestamp> 0
+ - <sig-version> 4
+ - <reserved> 0
+ - <pubkey-algo> 1
+ - <hash-algo> 8
+ - <sig-class> 00
+ - [ <primary-key-fpr> ] 4F9F89F5505AC1D1A260631CDB1187B9DD5F693B
*/
const pkt = (await sig.signature).packets[0];
result.keyId = currentKey.getFingerprint().toUpperCase();