[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master bdf1441: Update epg.el algorithm id-name associatio
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master bdf1441: Update epg.el algorithm id-name association lists |
Date: |
Sat, 22 Jun 2019 05:10:55 -0400 (EDT) |
branch: master
commit bdf1441f13b969d291b9df132bd522c1f54802d5
Author: Teemu Likonen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Update epg.el algorithm id-name association lists
* lisp/epg.el (epg-pubkey-algorithm-alist)
(epg-digest-algorithm-alist, epg-compress-algorithm-alist): Add
new identifiers from openpgpdefs.h.
---
lisp/epg.el | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/lisp/epg.el b/lisp/epg.el
index 0400716..e8bdd15 100644
--- a/lisp/epg.el
+++ b/lisp/epg.el
@@ -41,7 +41,7 @@
(defvar epg-agent-file nil)
(defvar epg-agent-mtime nil)
-;; from gnupg/include/cipher.h
+;; from gnupg/common/openpgpdefs.h
(defconst epg-cipher-algorithm-alist
'((0 . "NONE")
(1 . "IDEA")
@@ -56,16 +56,20 @@
(12 . "CAMELLIA256")
(110 . "DUMMY")))
-;; from gnupg/include/cipher.h
+;; from gnupg/common/openpgpdefs.h
(defconst epg-pubkey-algorithm-alist
'((1 . "RSA")
(2 . "RSA_E")
(3 . "RSA_S")
(16 . "ELGAMAL_E")
(17 . "DSA")
- (20 . "ELGAMAL")))
+ (18 . "ECDH")
+ (19 . "ECDSA")
+ (20 . "ELGAMAL")
+ (22 . "EDDSA")
+ (110 . "PRIVATE10")))
-;; from gnupg/include/cipher.h
+;; from gnupg/common/openpgpdefs.h
(defconst epg-digest-algorithm-alist
'((1 . "MD5")
(2 . "SHA1")
@@ -73,14 +77,16 @@
(8 . "SHA256")
(9 . "SHA384")
(10 . "SHA512")
- (11 . "SHA224")))
+ (11 . "SHA224")
+ (110 . "PRIVATE10")))
-;; from gnupg/include/cipher.h
+;; from gnupg/common/openpgpdefs.h
(defconst epg-compress-algorithm-alist
'((0 . "NONE")
(1 . "ZIP")
(2 . "ZLIB")
- (3 . "BZIP2")))
+ (3 . "BZIP2")
+ (110 . "PRIVATE10")))
(defconst epg-invalid-recipients-reason-alist
'((0 . "No specific reason given")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master bdf1441: Update epg.el algorithm id-name association lists,
Lars Ingebrigtsen <=