From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53357 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: broken: #secure method=pgp mode=signencrypt Date: Wed, 09 Jul 2003 08:06:21 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057730992 9032 80.91.224.249 (9 Jul 2003 06:09:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2003 06:09:52 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M1901@lists.math.uh.edu Wed Jul 09 08:09:50 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19a89G-0002L1-00 for ; Wed, 09 Jul 2003 08:09:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19a86X-00030V-00; Wed, 09 Jul 2003 01:07:02 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19a86K-00030P-00 for ding@lists.math.uh.edu; Wed, 09 Jul 2003 01:06:48 -0500 Original-Received: (qmail 88545 invoked by alias); 9 Jul 2003 06:06:48 -0000 Original-Received: (qmail 88540 invoked from network); 9 Jul 2003 06:06:47 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 9 Jul 2003 06:06:47 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h6966Lka023273 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 9 Jul 2003 08:06:22 +0200 Original-To: Matthias Andree Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030709:ma@dt.e-technik.uni-dortmund.de:910b6c48eeee384c X-Hashcash: 0:030709:ma@dt.e-technik.uni-dortmund.de:910b6c48eeee384c X-Payment: hashcash 1.2 0:030709:ding@gnus.org:cafbc21dc3b26e42 X-Hashcash: 0:030709:ding@gnus.org:cafbc21dc3b26e42 In-Reply-To: (Matthias Andree's message of "Tue, 08 Jul 2003 23:51:16 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53357 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53357 Matthias Andree writes: > Hi, > > apparently, these modes are broken: > > #secure method=pgp mode=signencrypt > #secure method=pgp mode=encrypt > > this works for me: > > #secure method=pgpmime mode=signencrypt > > > A method=pgp mode=encrypt emits base64 junk after decrypting. > > A method=pgp mode=signencrypt emits this fine dung after decrypting > (screenshot from mutt, Gnus doesn't do any better). > > Does Gnus run gnupg twice or something? Once to clearsign, then to > encrypt? Yup. See the Message manual on Security. You want: (setq mml-signencrypt-style-alist '(("smime" combined) ("pgp" combined) ("pgpmime" combined))) I think Gnus should default to this, or even better, figure out when it doesn't work and revert back to the combined mode.