From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4391 Path: news.gmane.org!not-for-mail From: Stefan Kamphausen Newsgroups: gmane.emacs.gnus.user Subject: More Encryption Woes: MML/PGP uses my own key Date: Fri, 28 Jan 2005 11:02:59 +0100 Message-ID: <85651hooq4.fsf@mail.bn-software.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670322 23048 80.91.229.2 (31 Jan 2006 01:18:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:18:42 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:41 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-X-Trace: individual.net Wz0E/GAudFKYVlovd91Pcwe9HBjbKprzJFHSOuXSkZf8kbnyDH User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:edYm7tAGoSxzUm6i4ewrTReym+s= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4532 Original-Lines: 59 X-Gnus-Article-Number: 4532 Tue Jan 17 17:33:41 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4391 Archived-At: Dear Gnus-Community, first: I hope I'm not being embarassing with all my questions these days. Please tell me, if so. After having tested all the SMIME stuff yesterday (thanks for the answers, I'll try to make use of them) I went into the GPG encryption today. I tested it by encrypting with my ID at the office to my private ID. Obviously they both have the same name and only differ in the email address. Now using C-c C-c c o inserts an mml-tag of the form <#secure method=pgp mode=signencrypt> into the message. When I then send it, it get's encrypted with my public key from my _office ID_ so that I can decrypt it here at this place. Inserting another field into the mml-tag: recipient="Stefan Kamphausen " didnt help either. I didn't check whether I can decrypt it with my private ID because I don't have that secret key here. I only mention this because the output buffer of mml contains some hints that that message might be encrypted using _both_ keys. (see output below) As always: any hints or pointers to documentation appreciated. Regards Stefan PS: The (slightly modified) *MML2015 Result* buffer (only masked my email adresses to keep them spam free) [GNUPG:] ENC_TO 86430035F5BBAAC7 16 0 [GNUPG:] ENC_TO 0DEE63CD458C2FDE 16 0 [GNUPG:] USERID_HINT 0DEE63CD458C2FDE Stefan Kamphausen [GNUPG:] NEED_PASSPHRASE 0DEE63CD458C2FDE 030B87D16C9E6D21 16 0 [GNUPG:] GOOD_PASSPHRASE gpg: encrypted with 1024-bit ELG-E key, ID F5BBAAC7, created 2003-02-16 "Stefan Kamphausen " [GNUPG:] NO_SECKEY 86430035F5BBAAC7 gpg: encrypted with 2048-bit ELG-E key, ID 458C2FDE, created 2004-07-13 "Stefan Kamphausen " [GNUPG:] BEGIN_DECRYPTION [GNUPG:] PLAINTEXT 62 1106905550 [GNUPG:] PLAINTEXT_LENGTH 283 gpg: Signature made Fri Jan 28 10:45:50 2005 CET using DSA key ID 6C9E6D21 [GNUPG:] SIG_ID TsN6bG7qDXSmC02z5LIEmO0zCYY 2005-01-28 1106905550 [GNUPG:] GOODSIG 030B87D16C9E6D21 Stefan Kamphausen gpg: Good signature from "Stefan Kamphausen " [GNUPG:] VALIDSIG 697DA91F3A3E257A1E7FF5E4030B87D16C9E6D21 2005-01-28 1106905550 0 3 0 17 2 00 697DA91F3A3E257A1E7FF5E4030B87D16C9E6D21 [GNUPG:] TRUST_ULTIMATE [GNUPG:] DECRYPTION_OKAY [GNUPG:] GOODMDC [GNUPG:] END_DECRYPTION -- Stefan Kamphausen --- http://www.skamphausen.de a blessed +42 regexp of confusion (weapon in hand) You hit. The format string crumbles and turns to dust.