[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#784815: jessie-pu: package mew/1:6.6-2+deb8u1



Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu

Hi, the release team,

I'd like to update package mew in jessie to fix an important bug.

See this changelog and the attached debdiff.

    mew (1:6.6-2+deb8u1) jessie; urgency=medium
    
      * New patch 060_encrypt.patch to fix incorrect keys in encryption
        (closes: #784721)
    
     -- Tatsuya Kinoshita <tats@debian.org>  Fri, 08 May 2015 11:16:31 +0900

Please let me know if I can upload it.

P.S. Similar issues are also in mew-beta and semi.

Thanks,
-- 
Tatsuya Kinoshita
diffstat for mew-6.6 mew-6.6

 changelog                 |    7 ++++++
 patches/060_encrypt.patch |   47 ++++++++++++++++++++++++++++++++++++++++++++++
 patches/series            |    1 
 3 files changed, 55 insertions(+)

diff -Nru mew-6.6/debian/changelog mew-6.6/debian/changelog
--- mew-6.6/debian/changelog	2014-08-20 19:39:19.000000000 +0900
+++ mew-6.6/debian/changelog	2015-05-08 11:16:55.000000000 +0900
@@ -1,3 +1,10 @@
+mew (1:6.6-2+deb8u1) jessie; urgency=medium
+
+  * New patch 060_encrypt.patch to fix incorrect keys in encryption
+    (closes: #784721)
+
+ -- Tatsuya Kinoshita <tats@debian.org>  Fri, 08 May 2015 11:16:31 +0900
+
 mew (1:6.6-2) unstable; urgency=medium
 
   * Depend on emacsen-common 2.0.8
diff -Nru mew-6.6/debian/patches/060_encrypt.patch mew-6.6/debian/patches/060_encrypt.patch
--- mew-6.6/debian/patches/060_encrypt.patch	1970-01-01 09:00:00.000000000 +0900
+++ mew-6.6/debian/patches/060_encrypt.patch	2015-05-08 10:58:42.000000000 +0900
@@ -0,0 +1,47 @@
+Subject: Fix incorrect keys in encryption
+Origin: upstream, https://github.com/kazu-yamamoto/Mew/commit/5fa1fbd130f90b8afbeef66e256eead031f17e27
+Bug: https://github.com/kazu-yamamoto/Mew/issues/77
+
+    Match exactly on an email address to specify a user ID to GnuPG
+
+diff --git a/mew-pgp.el b/mew-pgp.el
+index 6336773..dc2f5b0 100644
+--- a/mew-pgp.el
++++ b/mew-pgp.el
+@@ -417,6 +417,10 @@ Set 1 if 5. Set 2 if 6. Set 3 if GNUPG.")
+     (if (and mew-encrypt-to-myself
+ 	     (not (member mew-inherit-encode-pgp-signer decrypters)))
+ 	(setq decrypters (cons mew-inherit-encode-pgp-signer decrypters)))
++    (setq decrypters
++	  (mapcar (lambda (x)
++		    (if (string-match "^[^<].*@" x) (concat "<" x ">") x))
++		  decrypters))
+     (if (not roption)
+ 	(setq args (append (list ooption file3 file1) eoptions decrypters))
+       (mapc
+@@ -852,6 +856,10 @@ Set 1 if 5. Set 2 if 6. Set 3 if GNUPG.")
+     (if (and mew-encrypt-to-myself
+ 	     (not (member mew-inherit-encode-pgp-signer decrypters)))
+ 	(setq decrypters (cons mew-inherit-encode-pgp-signer decrypters)))
++    (setq decrypters
++	  (mapcar (lambda (x)
++		    (if (string-match "^[^<].*@" x) (concat "<" x ">") x))
++		  decrypters))
+     (setq file2 (mew-make-temp-name))
+     (setq args (list loption mew-inherit-encode-pgp-signer ooption file2 file1))
+     (if (not roption)
+diff --git a/mew-smime.el b/mew-smime.el
+index 61b766d..5169e5c 100644
+--- a/mew-smime.el
++++ b/mew-smime.el
+@@ -457,6 +457,10 @@
+   (if (and mew-encrypt-to-myself
+ 	   (not (member mew-inherit-encode-smime-signer decrypters)))
+       (setq decrypters (cons mew-inherit-encode-smime-signer decrypters)))
++  (setq decrypters
++	(mapcar (lambda (x)
++		  (if (string-match "^[^<].*@" x) (concat "<" x ">") x))
++		decrypters))
+   (let (decs)
+     (dolist (decrypter decrypters)
+       (setq decs (cons decrypter (cons roption decs))))
diff -Nru mew-6.6/debian/patches/series mew-6.6/debian/patches/series
--- mew-6.6/debian/patches/series	2014-05-19 22:18:12.000000000 +0900
+++ mew-6.6/debian/patches/series	2015-05-08 10:58:45.000000000 +0900
@@ -2,3 +2,4 @@
 020_netpbm.patch
 030_cache-long-scans.patch
 040_Increase-mew-header-reasonable-size.patch
+060_encrypt.patch

Attachment: pgp54JEKO6roy.pgp
Description: PGP signature


Reply to: