From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37801 Path: main.gmane.org!not-for-mail From: Fabien Penso Newsgroups: gmane.emacs.gnus.general Subject: Re: Mailcrypt and gpg > v1.0.4 Date: Thu, 16 Aug 2001 00:51:52 +0200 Message-ID: References: <87k8085qiu.fsf@alberti.gnupg.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173493 17510 80.91.224.250 (21 Oct 2002 04:11:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:11:33 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 24119 invoked from network); 15 Aug 2001 23:01:14 -0000 Original-Received: from zobe.linuxfr.org (213.193.17.3) by gnus.org with SMTP; 15 Aug 2001 23:01:14 -0000 Original-Received: by zobe.linuxfr.org (Postfix, from userid 10) id B31D915814; Thu, 16 Aug 2001 01:01:05 +0200 (CEST) Original-Received: by houston.linuxfr.org (Postfix, from userid 1000) id 39588166F; Thu, 16 Aug 2001 00:51:52 +0200 (CEST) Original-To: ding@gnus.org Organisation: LinuxFr - http://linuxfr.org In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Mon, 13 Aug 2001 20:51:13 +0200") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 28 Xref: main.gmane.org gmane.emacs.gnus.general:37801 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37801 > (setq mml2015-use 'gpg) Ok it works better. However it took a while before I made this work. I had to set up the following: '(gpg-command-encrypt (quote (gpg "--batch" "--output=-" armor textmode "--always-trust" "--encrypt" recipients plaintext-file))) '(gpg-command-sign-detached (quote (gpg "--batch" "--passphrase-fd=0" "--output=-" armor textmode "--detach-sign" sign-with-key))) '(gpg-command-sign-cleartext (quote (gpg "--batch" "--passphrase-fd=0" "--output=-" "--clearsign"))) '(gpg-command-sign-encrypt (quote (gpg "--batch" "--passphrase-fd=-1" "--output=-" "--always-trust" "--sign" "--encrypt")[3~" 'delete-char)) into my emacs file. I don't know why, it was using gpg-2comp ... What's strange is that when I send a mail where I did ask for a signature, it asks my passphrase twice. I didn't figure out why yet. I have to say than configuring Gnus to make it work with GPG is a pain in the ass compared to Mutt which I used before. Maybe is there some more work to be done on it. Also does anyone knows how I can ask Gnus to automaticly verify signature when I receive a mail which contains one ? Thanks. -- Fabien Penso http://perso.LinuxFR.org/penso/ GnuPG key: 1024D/22F38AF3