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

Bug#784816: jessie-pu: package mew-beta/7.0.50~6.6+0.20140902-1+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-beta in jessie to fix an important bug.

See this changelog and the attached debdiff.

    mew-beta (7.0.50~6.6+0.20140902-1+deb8u1) jessie; urgency=medium
    
      * New patch 060_encrypt.patch to fix incorrect keys in encryption
        (closes: #784722)
    
     -- Tatsuya Kinoshita <tats@debian.org>  Fri, 08 May 2015 11:27:12 +0900

Please let me know if I can upload it.

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

Thanks,
-- 
Tatsuya Kinoshita
diffstat for mew-beta-7.0.50~6.6+0.20140902 mew-beta-7.0.50~6.6+0.20140902

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

diff -Nru mew-beta-7.0.50~6.6+0.20140902/debian/changelog mew-beta-7.0.50~6.6+0.20140902/debian/changelog
--- mew-beta-7.0.50~6.6+0.20140902/debian/changelog	2014-09-03 21:33:07.000000000 +0900
+++ mew-beta-7.0.50~6.6+0.20140902/debian/changelog	2015-05-08 11:27:33.000000000 +0900
@@ -1,3 +1,10 @@
+mew-beta (7.0.50~6.6+0.20140902-1+deb8u1) jessie; urgency=medium
+
+  * New patch 060_encrypt.patch to fix incorrect keys in encryption
+    (closes: #784722)
+
+ -- Tatsuya Kinoshita <tats@debian.org>  Fri, 08 May 2015 11:27:12 +0900
+
 mew-beta (7.0.50~6.6+0.20140902-1) unstable; urgency=medium
 
   * Imported Upstream version 7.0.50~6.6+0.20140902
diff -Nru mew-beta-7.0.50~6.6+0.20140902/debian/patches/060_encrypt.patch mew-beta-7.0.50~6.6+0.20140902/debian/patches/060_encrypt.patch
--- mew-beta-7.0.50~6.6+0.20140902/debian/patches/060_encrypt.patch	1970-01-01 09:00:00.000000000 +0900
+++ mew-beta-7.0.50~6.6+0.20140902/debian/patches/060_encrypt.patch	2015-05-08 11:25:48.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-beta-7.0.50~6.6+0.20140902/debian/patches/series mew-beta-7.0.50~6.6+0.20140902/debian/patches/series
--- mew-beta-7.0.50~6.6+0.20140902/debian/patches/series	2014-05-19 21:30:55.000000000 +0900
+++ mew-beta-7.0.50~6.6+0.20140902/debian/patches/series	2015-05-08 11:26:16.000000000 +0900
@@ -1,4 +1,5 @@
 010_contrib.patch
 020_netpbm.patch
 030_cache-long-scans.patch
+060_encrypt.patch
 900_changes.patch

Attachment: pgpMBk9TGORgD.pgp
Description: PGP signature


Reply to: