From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46921 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: Wed, 02 Oct 2002 14:36:30 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <873croy9g1.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> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033583841 4423 127.0.0.1 (2 Oct 2002 18:37:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2002 18:37:21 +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 17woN4-000194-00 for ; Wed, 02 Oct 2002 20:37:19 +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 17woMe-0008AN-00; Wed, 02 Oct 2002 13:36:52 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Oct 2002 13:37:32 -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 NAA00602 for ; Wed, 2 Oct 2002 13:37:18 -0500 (CDT) Original-Received: (qmail 13898 invoked by alias); 2 Oct 2002 18:36:32 -0000 Original-Received: (qmail 13893 invoked from network); 2 Oct 2002 18:36:32 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 2 Oct 2002 18:36:32 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17wp6i-00089c-00 for ; Wed, 02 Oct 2002 21:24:28 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 135 Original-NNTP-Posting-Host: athene.jamux.com Original-X-Trace: quimby.gnus.org 1033586668 31347 65.222.215.34 (2 Oct 2002 19:24:28 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 2 Oct 2002 19:24:28 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:pzQGTJRcsKfGRZjHnlJM+7zAC7E= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46921 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46921 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Using cvs gnus gotten about 14:30 GMT 1 Oct atop XEmacs21 (xemacs21-nomule_21.4.6-8_i386.deb and friends) after checking load-path (locate-library "pgg") and with ~/.gnus containing, in part: (require 'pgg) (mml-signencrypt-style "pgpmime" 'combined) I found no suprize reading a message composed with C-c C-m s p (mml-secure-message-sign-pgpmime). However, when using C-c C-m c p (mml-secure-message-encrypt-pgpmime) without an argument and decrypting I see, in the Article buffer, - --8<---------------cut here---------------start------------->8--- From: jam@jamux.com (John A. Martin) Subject: pgp/mime encrypt To: jam@jamux.com Date: Wed, 02 Oct 2002 12:51:28 -0400 Content-Transfer-Encoding: quoted-printable Use gnus not guns! - --8<---------------cut here---------------end--------------->8--- and in the minibuffer, Unknown encoding quoted-printable ; defaulting to 8bit The *MML2015 Result* buffer contains - --8<---------------cut here---------------start------------->8--- [GNUPG:] ENC_TO 605637744FC125AD 16 0 [GNUPG:] USERID_HINT 605637744FC125AD John A. Martin [GNUPG:] NEED_PASSPHRASE 605637744FC125AD 504BEFD5BFE25F2F 16 0 [GNUPG:] GOOD_PASSPHRASE gpg: encrypted with 1024-bit ELG-E key, ID 4FC125AD, created 1998-09-19 "John A. Martin " [GNUPG:] BEGIN_DECRYPTION [GNUPG:] DECRYPTION_OKAY [GNUPG:] GOODMDC [GNUPG:] END_DECRYPTION - --8<---------------cut here---------------end--------------->8--- Decrypting the message from the command line gives: - --8<---------------cut here---------------start------------->8--- $ cat ~/Mail/t-test/46|gpg You need a passphrase to unlock the secret key for user: "John A. Martin " 1024-bit ELG-E key, ID 4FC125AD, created 1998-09-19 (main key ID BFE25F2F) gpg: encrypted with 1024-bit ELG-E key, ID 4FC125AD, created 1998-09-19 "John A. Martin " Content-Transfer-Encoding: quoted-printable Use gnus not guns! - --8<---------------cut here---------------end--------------->8--- Where I would have expected something more like - --8<---------------cut here---------------start------------->8--- $ echo Use gnus not guns\!|gpg -seatr jam@jamux.com|gpg You need a passphrase to unlock the secret key for user: "John A. Martin " 1024-bit DSA key, ID BFE25F2F, created 1998-09-19 gpg: jam@jamux.com: skipped: public key already present You need a passphrase to unlock the secret key for user: "John A. Martin " 1024-bit ELG-E key, ID 4FC125AD, created 1998-09-19 (main key ID BFE25F2F) gpg: encrypted with 1024-bit ELG-E key, ID 4FC125AD, created 1998-09-19 "John A. Martin " Use gnus not guns! gpg: Signature made Wed Oct 2 14:00:00 2002 EDT using DSA key ID BFE25F2F gpg: Good signature from "John A. Martin " gpg: aka "John A. Martin " - --8<---------------cut here---------------end--------------->8--- showing that the encrypted message had been signed. Does it look like two problems: (1) some encoding/decoding mixup, and (2) the encrypted message is not signed. When I do C-u C-c C-m c p the decrypted article buffer looks like - --8<---------------cut here---------------start------------->8--- From: jam@jamux.com (John A. Martin) Subject: pgp/mime encrypt with argument To: jam@jamux.com Date: Wed, 02 Oct 2002 14:09:14 -0400 Use gnus not guns! - --8<---------------cut here---------------end--------------->8--- with less cruft but still ugly, and no "mime heder". Nothing in the minibuffer and the *MML2015 Result* buffer is the same as above. The command line decription looks like this: - --8<---------------cut here---------------start------------->8--- $ cat ~/Mail/t-test/47|gpg You need a passphrase to unlock the secret key for user: "John A. Martin " 1024-bit ELG-E key, ID 4FC125AD, created 1998-09-19 (main key ID BFE25F2F) gpg: encrypted with 1024-bit ELG-E key, ID 4FC125AD, created 1998-09-19 "John A. Martin " Use gnus not guns! - --8<---------------cut here---------------end--------------->8--- I dunno about this here except that gnus shows `^M' cruft that gpg on the command line does not. jam C-c / s -----BEGIN PGP SIGNATURE----- iD8DBQE9mzxvUEvv1b/iXy8RAm7sAJwJy6UwoPZnCUQGdrQDznIKqQTnKwCdHT8i RwFZc22AgeUISr2cgnWbBE4= =J0mS -----END PGP SIGNATURE-----