From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59147 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: OpenPGP header Date: Mon, 15 Nov 2004 00:19:45 +0100 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100474473 26551 80.91.229.6 (14 Nov 2004 23:21:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2004 23:21:13 +0000 (UTC) Original-X-From: ding-owner+M7687@lists.math.uh.edu Mon Nov 15 00:21:07 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CTTgA-0005Q5-00 for ; Mon, 15 Nov 2004 00:21:07 +0100 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 1CTTfw-00044d-00; Sun, 14 Nov 2004 17:20:52 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CTTfs-00044Y-00 for ding@lists.math.uh.edu; Sun, 14 Nov 2004 17:20:48 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CTTfq-0007ka-HE for ding@lists.math.uh.edu; Sun, 14 Nov 2004 17:20:46 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id 1FCB63A0035 for ; Sun, 14 Nov 2004 17:20:45 -0600 (CST) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CTTfp-0007cd-00 for ; Mon, 15 Nov 2004 00:20:45 +0100 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Nov 2004 00:20:45 +0100 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Nov 2004 00:20:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 43 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se OpenPGP: id=B565716F; url=http://josefsson.org/key.txt User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:A57lq7N4NadQ6AcsKlvarzELAG0= Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59147 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59147 Steve Youngs writes: > > Exactly how Gnus can determine whether the user has a working OpenPGP > > installation isn't obvious. Check whether ~/.gnupg/gpg.conf exists > > and use the key id from the 'default-key' token in that file? > > And if `default-key' isn't set? You could also take the id from > `pgg-default-user-id'. Yes. > > OTOH, even if that test succeed, it is not clear that the user wishes > > to add the header to all messages she sends. > > And she may even want different OpenPGP: headers for different > messages (business/private). Right. So I think it might invade privacy too much to do this automatically. If there were some GNOME/GNU standard way for users to let MUAs know their OpenPGP key, we could use that. But I'm not aware of any such mechanisms. > > Perhaps it would be sufficient to make it easy to optionally ask Gnus > > to set the header. Right now I don't think it is simple enough, > > `gnus-posting-styles' of course. I don't want to see the header while composing. Is that possible with posting styles? > > What do you think? > > Nice idea. Especially if Gnus can be made to use the header to snarf > the key into the local keyring. Eventually I guess that is a goal. Either there could be a "Secure reply" that made sure GnuPG has the key and enabled PGP/MIME, or the PGP/MIME MML functions could look in the original article and try to get the key. But first people will have to start use the OpenPGP header...