From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46980 Path: main.gmane.org!not-for-mail From: jam@jamux.com (John A. Martin) Newsgroups: gmane.emacs.gnus.general Subject: Re: pgg doesn't seem to like me Date: Sat, 05 Oct 2002 00:45:38 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <87elb5qyrx.fsf@athene.jamux.com> References: <20021001172713.05F1E3B8CE@athene.jamux.com> <87d6quugw5.fsf@athene.jamux.com> <87adly6kck.fsf@mail.paradoxical.net> <874rc5vs16.fsf@athene.jamux.com> <874rc57u6e.fsf@mail.paradoxical.net> <873croy9g1.fsf@athene.jamux.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033793179 17967 127.0.0.1 (5 Oct 2002 04:46:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 5 Oct 2002 04:46:19 +0000 (UTC) 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 17xgpT-0004fa-00 for ; Sat, 05 Oct 2002 06:46:15 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17xgpF-0008DB-00; Fri, 04 Oct 2002 23:46:01 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 04 Oct 2002 23:46:42 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id XAA06480 for ; Fri, 4 Oct 2002 23:46:28 -0500 (CDT) Original-Received: (qmail 28407 invoked by alias); 5 Oct 2002 04:45:42 -0000 Original-Received: (qmail 28402 invoked from network); 5 Oct 2002 04:45:42 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 5 Oct 2002 04:45:42 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17xhaO-0007q2-00 for ; Sat, 05 Oct 2002 07:34:44 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 92 Original-NNTP-Posting-Host: athene.jamux.com Original-X-Trace: quimby.gnus.org 1033796084 30133 65.222.215.34 (5 Oct 2002 05:34:44 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 5 Oct 2002 05:34:44 GMT X-Attribution: jam X-Request-PGP: http://www.tux.org/~jam/jam-gpg-keys.html X-PGP-Fingerprint: 5F05 15CF 05D2 E8D3 E7FA 8C6A 504B EFD5 BFE2 5F2F Cancel-Lock: sha1:pen5DB1HJu/skp1f1kZHjDIHNfc= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46980 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46980 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Simon" == Simon Josefsson >>>>> "Re: pgg doesn't seem to like me" >>>>> Fri, 04 Oct 2002 01:04:50 +0200 Simon> Simon Josefsson writes: >> PGG did not support combined sign and encrypt, so it not >> surprising it didn't work. PGG supports it now though Simon> ...but only for GnuPG. Here is what I see with xemacs21-nomule_21.4.6-8_i386.deb atop Debian woody and cvs with the following changelog entry: 2002-10-05 Simon Josefsson * pgg-gpg.el (pgg-gpg-encrypt-region): Make signencrypt really work. Message buffer - --8<---------------cut here---------------start------------->8--- X-Draft-From: ("nndraft:drafts" "") To: jam@jamux.com Subject: pgpmime signencrypt combined X-Attribution: jam X-Request-PGP: http://www.tux.org/~jam/jam-gpg-keys.html X-PGP-Fingerprint: 5F05 15CF 05D2 E8D3 E7FA 8C6A 504B EFD5 BFE2 5F2F From: jam@jamux.com (John A. Martin) Date: Fri, 04 Oct 2002 10:41:15 -0400 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter, i386-debian-linux) Message-ID: <87it0hr0gb.fsf@athene.jamux.com> - --text follows this line-- <#secure method=pgpmime mode=signencrypt> If it's there and you can see it, it's REAL If it's there and you can't see it, it's TRANSPARENT If it's not there and you can see it, it's VIRTUAL If it's not there and you can't see it, it's GONE! - --8<---------------cut here---------------end--------------->8--- Immediately after C-c C-c the minibuffer shows something like "encryption failed" and the following without having prompted for a passphrase. *MML2015 Result* - --8<---------------cut here---------------start------------->8--- [GNUPG:] USERID_HINT 504BEFD5BFE25F2F John A. Martin [GNUPG:] NEED_PASSPHRASE 504BEFD5BFE25F2F 504BEFD5BFE25F2F 17 0 gpg: can't query password in batchmode [GNUPG:] MISSING_PASSPHRASE [GNUPG:] BAD_PASSPHRASE 504BEFD5BFE25F2F gpg: no default secret key: bad passphrase gpg: [stdin]: sign+encrypt failed: bad passphrase - --8<---------------cut here---------------end--------------->8--- FWIW ~/.gnopg/gpg.conf contains the following. - --8<---------------cut here---------------start------------->8--- no-greeting lock-once no-version default-key 0xbfe25f2f keyserver x-hkp://wwwkeys.us.pgp.net keyserver-options auto-key-retrieve include-disabled include-revoked # "Encrypt to self" encrypt-to 0xbfe25f2f # Non-compliant to OpenPGP rfc2440 escape-from-lines # Force pgp-5.x readable signatures on data #force-v3-sigs [...] - --8<---------------cut here---------------end--------------->8--- Somebody seems to be confused, no? jam Again I'm signing by means of C-c / s -----BEGIN PGP SIGNATURE----- iD8DBQE9nm5fUEvv1b/iXy8RAs0IAJ0XpMCBFffo68vBdWh1E2Ptx1Ex3gCfTsAv CP3mVdNqfPscQ99RoA9Ejz8= =r60I -----END PGP SIGNATURE-----