From: dmaus Date: Fri, 4 Jun 2010 11:33:46 +0000 (+0000) Subject: * pgg-parse.el: Add reference to RFC4880. X-Git-Tag: semi-1_14-wl-root~2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9431e0bafa3e772d625d93ce027f3e13b8f0af97;p=elisp%2Fsemi.git * pgg-parse.el: Add reference to RFC4880. (pgg-parse-symmetric-key-algorithm-alist) (pgg-parse-hash-algorithm-alist) (pgg-parse-compression-algorithm-alist) (pgg-parse-signature-type-alist): Update lists to RFC4880. --- diff --git a/ChangeLog b/ChangeLog index 8c8f614..197a321 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-06-04 David Maus + + * pgg-parse.el: Add reference to RFC4880. + (pgg-parse-symmetric-key-algorithm-alist) + (pgg-parse-hash-algorithm-alist) + (pgg-parse-compression-algorithm-alist) + (pgg-parse-signature-type-alist): Update lists to RFC4880. + 2010-02-19 Heinz Diehl * mime-edit.el (mime-edit-set-encrypt): Fix typo. diff --git a/pgg-parse.el b/pgg-parse.el index 10b2419..f4fa7e8 100644 --- a/pgg-parse.el +++ b/pgg-parse.el @@ -27,6 +27,13 @@ ;; This module is based on +;; [OpenPGP] RFC 4880: "OpenPGP Message Format" +;; by Derek Atkins , +;; Jon Callas , Lutz Donnerhacke , +;; Hal Finney , David Shaw +;; and Rodney Thayer +;; (2007/11) +;; ;; [OpenPGP] RFC 2440: "OpenPGP Message Format" ;; by John W. Noerenberg, II , ;; Jon Callas , Lutz Donnerhacke , @@ -54,13 +61,15 @@ :type 'alist) (defcustom pgg-parse-symmetric-key-algorithm-alist - '((1 . IDEA) (2 . 3DES) (4 . CAST5) (5 . SAFER-SK128)) + '((1 . IDEA) (2 . 3DES) (3 . CAST5) (4 . BLOWFISH) (5 . SAFER-SK128) + (7 . AES) (8 . AES192) (9. AES256) (10 . TWOFISH)) "Alist of the assigned number to the simmetric key algorithm." :group 'pgg-parse :type 'alist) (defcustom pgg-parse-hash-algorithm-alist - '((1 . MD5) (2 . SHA1) (3 . RIPEMD160) (5 . MD2)) + '((1 . MD5) (2 . SHA1) (3 . RIPEMD160) (5 . MD2) + (8 . SHA256) (9 . SHA384) (10 . SHA512) (11 . SHA224)) "Alist of the assigned number to the cryptographic hash algorithm." :group 'pgg-parse :type 'alist) @@ -68,7 +77,8 @@ (defcustom pgg-parse-compression-algorithm-alist '((0 . nil); Uncompressed (1 . ZIP) - (2 . ZLIB)) + (2 . ZLIB) + (3 . BZip2)) "Alist of the assigned number to the compression algorithm." :group 'pgg-parse :type 'alist) @@ -82,11 +92,13 @@ (18 . "Casual certification of a User ID and Public Key packet") (19 . "Positive certification of a User ID and Public Key packet") (24 . "Subkey Binding Signature") + (25 . "Primary Key Binding Signature") (31 . "Signature directly on a key") (32 . "Key revocation signature") (40 . "Subkey revocation signature") (48 . "Certification revocation signature") - (64 . "Timestamp signature.")) + (64 . "Timestamp signature") + (80 . "Third-Party Confirmation signature")) "Alist of the assigned number to the signature type." :group 'pgg-parse :type 'alist)