Bug#584113: semi: Missing mandatory MIME parameter in multipart/signed entities
At Fri, 04 Jun 2010 13:39:58 +0200, David Maus wrote: Just committed the patch to CVS. Cool, thanks! -- wbr, Vitaly -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#584113: semi: Missing mandatory MIME parameter in multipart/signed entities
Vitaly Mayatskikh wrote: At Wed, 02 Jun 2010 06:17:53 +0900 (JST), Tatsuya Kinoshita wrote: Hi SEMI developers, Forwarding a bug report from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584113 On June 1, 2010 at 1:36PM +0200, dmaus (at ictsoc.de) wrote: Thanks, Tatsuya! IIRC, David already has permissions to do work in upstream CVS. David, feel free to commit your patch :) Active SEMI branch is semi-1_14. Just committed the patch to CVS. Regards, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpUSqywz3wx0.pgp Description: PGP signature
Bug#584113: semi: Missing mandatory MIME parameter in multipart/signed entities
At Wed, 02 Jun 2010 06:17:53 +0900 (JST), Tatsuya Kinoshita wrote: Hi SEMI developers, Forwarding a bug report from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584113 On June 1, 2010 at 1:36PM +0200, dmaus (at ictsoc.de) wrote: Thanks, Tatsuya! IIRC, David already has permissions to do work in upstream CVS. David, feel free to commit your patch :) Active SEMI branch is semi-1_14. -- wbr, Vitaly -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#584113: semi: Missing mandatory MIME parameter in multipart/signed entities
Package: semi Version: 1.14.6+0.20100207-1 Severity: normal A multipart/signed MIME entity requires the MIME parameter micalg to be set to the digest algorithm used to create the digital signature (cf. RFC 1847, 2.1 (3)). When creating a signed internet message using GnuPG, SEMI does no insert this parameter in the multipart/signed entity for recent version of GnuPG. The problem is, that the library responsible for detecting digest algorithm uses the list of defined (digest) algorithms according to RFC 2440. This RFC was obsoleted by RFC 4880 which extends the list of digest, encryption and compression algorithms. Thus, algorithms defined in 4880 are not recognized by current SEMI. Attached patch for pgg-parse.el extends the lists of signature types, digest, encryption and compression algorithms to match RFC 4880 and adds RFC 4880 as reference in the comment section of pgg-parse.el. Please note: I've sent this patch upstream on April 13th without getting a response, neither was the patch applied in the cvs repository. -- David -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages semi depends on: ii apel 10.7+0.20080906-2 portable library for emacsen ii dpkg 1.15.7.2 Debian package management system ii emacs [emacsen]23.2+1-2 The GNU Emacs editor (metapackage) ii emacs23 [emacsen] 23.2+1-2 The GNU Emacs editor (with GTK+ us ii flim 1:1.14.9+0.20100313-2 library about internet message for ii install-info 4.13a.dfsg.1-5Manage installed documentation in semi recommends no packages. Versions of packages semi suggests: ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep pn mailcrypt none (no description available) pn wl | wl-beta | t-gnus none (no description available) -- no debconf information semi-pgg-parse-4880.diff Description: Binary data
Bug#584113: semi: Missing mandatory MIME parameter in multipart/signed entities
Hi SEMI developers, Forwarding a bug report from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584113 On June 1, 2010 at 1:36PM +0200, dmaus (at ictsoc.de) wrote: Package: semi Version: 1.14.6+0.20100207-1 Severity: normal A multipart/signed MIME entity requires the MIME parameter micalg to be set to the digest algorithm used to create the digital signature (cf. RFC 1847, 2.1 (3)). When creating a signed internet message using GnuPG, SEMI does no insert this parameter in the multipart/signed entity for recent version of GnuPG. The problem is, that the library responsible for detecting digest algorithm uses the list of defined (digest) algorithms according to RFC 2440. This RFC was obsoleted by RFC 4880 which extends the list of digest, encryption and compression algorithms. Thus, algorithms defined in 4880 are not recognized by current SEMI. Attached patch for pgg-parse.el extends the lists of signature types, digest, encryption and compression algorithms to match RFC 4880 and adds RFC 4880 as reference in the comment section of pgg-parse.el. Please note: I've sent this patch upstream on April 13th without getting a response, neither was the patch applied in the cvs repository. Content-Disposition: attachment; filename=semi-pgg-parse-4880.diff diff --git a/semi/pgg-parse.el b/semi/pgg-parse.el index 10b2419..f4fa7e8 100644 --- a/semi/pgg-parse.el +++ b/semi/pgg-parse.el @@ -27,6 +27,13 @@ ;;This module is based on +;; [OpenPGP] RFC 4880: OpenPGP Message Format +;; by Derek Atkins de...@ihtfp.com, +;; Jon Callas j...@callas.org, Lutz Donnerhacke l...@iks-jena.de, +;; Hal Finney h...@finney.org, David Shaw ds...@jabberwocky.com +;; and Rodney Thayer rod...@canola-jones.com +;; (2007/11) +;; ;; [OpenPGP] RFC 2440: OpenPGP Message Format ;; by John W. Noerenberg, II j...@qualcomm.com, ;; Jon Callas j...@pgp.com, Lutz Donnerhacke l...@iks-jena.de, @@ -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) Thanks, -- Tatsuya Kinoshita -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#584113: semi: Missing mandatory MIME parameter in multipart/signed entities
tags 584113 + upstream forwarded 584113 http://lists.airs.net/wl-en/archive/201006/msg0.html thanks pgpP21IUta4RW.pgp Description: PGP signature