Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: OpenPGP header
Date: Sun, 14 Nov 2004 17:55:38 +0100	[thread overview]
Message-ID: <ilulld41ib9.fsf@latte.josefsson.org> (raw)

There is an effort to standardize the features from X-PGP:, X-PGP-ID:
etc into OpenPGP:, see:

http://josefsson.org/openpgp-header/

While general comments are appreciated, what I'd like to ask here is
whether Gnus should try to generate this header automatically?

Note the key word 'try'.

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?

OTOH, even if that test succeed, it is not clear that the user wishes
to add the header to all messages she sends.

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,
here's what I'm using currently:

 '(message-send-hook (quote ((lambda nil (save-excursion (save-restriction (message-narrow-to-headers) (goto-char (point-max)) (insert "OpenPGP: id=B565716F; url=http://josefsson.org/key.txt
")))))))

Perhaps a variable message-insert-openpgp, that is nil by default, but
may contain a list with information to populate in that header?  An
example value would be:

(setq message-insert-openpgp
      '((id . "B565716F") (url . "http://josefsson.org/key.txt")))

What do you think?




             reply	other threads:[~2004-11-14 16:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 16:55 Simon Josefsson [this message]
2004-11-14 21:26 ` Steve Youngs
2004-11-14 22:21   ` Xavier Maillard
     [not found]   ` <microsoft-free.87d5ygw299.fsf-ZDdsx92XhsQvtab9mdV7tw@public.gmane.org>
2004-11-14 23:17     ` Jochen Küpper
2004-11-14 23:48       ` Simon Josefsson
2004-11-14 23:19   ` Simon Josefsson
2004-11-14 23:49     ` Steve Youngs
2004-11-14 23:59       ` Simon Josefsson
2004-11-15  0:40         ` Steve Youngs
2004-11-16 20:43           ` Simon Josefsson
2004-11-14 22:24 ` Xavier Maillard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilulld41ib9.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).