From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60513 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: mml-secure: function doubled, passwd chache, use-my-public key Date: Fri, 01 Jul 2005 11:23:55 +0200 Message-ID: References: <87r7ejzetl.fsf@mat.ucm.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120209662 20871 80.91.229.2 (1 Jul 2005 09:21:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2005 09:21:02 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M9040@lists.math.uh.edu Fri Jul 01 11:21:01 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DoHh5-0007l8-QM for ding-account@gmane.org; Fri, 01 Jul 2005 11:20:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DoHky-0002sY-00; Fri, 01 Jul 2005 04:24:20 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DoHkq-0002sL-00 for ding@lists.math.uh.edu; Fri, 01 Jul 2005 04:24:12 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DoHko-0004vZ-D2 for ding@lists.math.uh.edu; Fri, 01 Jul 2005 04:24:10 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DoHki-0001Fh-00 for ; Fri, 01 Jul 2005 11:24:04 +0200 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3) with ESMTP id j619Nq1E032714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 1 Jul 2005 11:23:53 +0200 Original-To: Uwe Brauer OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:050701:oub@mat.ucm.es::PRGPhjWAhDuRX7yZ:1Ihz X-Hashcash: 1:21:050701:ding@gnus.org::+VY7E/Y99CD2dqoB:O9Ai In-Reply-To: <87r7ejzetl.fsf@mat.ucm.es> (Uwe Brauer's message of "Thu, 30 Jun 2005 21:59:18 +0000") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yxa-iv X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60513 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60513 Uwe Brauer writes: > Hello > > I just started to use mml together with gnupg, so far I have used > pgp2.6.x with mail-crypt. > I would appreciate if somebody could clarify the following points: Hi! Sure. > - what is the difference between the following functions > Possible completions are: > mml-secure-message-sign-pgp > and > mml-secure-sign-pgp The first tag the entire message for signing, the second only the current part. It is possible to have a multipart MIME document where only one part is signed. For normal use, you want the first one. > mml-secure-message-sign-pgpauto > and > mml-secure-sign-pgpauto > the documentation is not very helpful Same here, although pgpauto picks between PGP/MIME and Inline PGP automatically. If the message is multipart, PGP/MIME is used, otherwise it uses inline PGP. This appear to not be documented in the Emacs MIME manual. Anyone want to add something? Further, I wonder if it does the right thing with non-ASCII (then PGP/MIME should be used) or format=flowed (PGP/MIME is needed). > - all the time I sign, encrypt or decrypt I am asked my > password, could that be cached say for 5 min (as in > mailcrypt) (setq pgg-passphrase-cache-expiry 162222) The default is 16 seconds. I think it should be changed to 5 minutes, but it was discussed before. > - when encrypting, could may own public key be used as well > (this way I can read that encrypted mail myself) The simplest is to do this via GnuPG. > - is there now variable to always sign a msg (I could put > that into a hook I know.) You could invoke mml-secure-message-sign-pgpmime from a posting style, I think.