Gnus development mailing list
 help / color / mirror / Atom feed
* OpenPGP header
@ 2004-11-14 16:55 Simon Josefsson
  2004-11-14 21:26 ` Steve Youngs
  2004-11-14 22:24 ` Xavier Maillard
  0 siblings, 2 replies; 11+ messages in thread
From: Simon Josefsson @ 2004-11-14 16:55 UTC (permalink / 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?




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-11-16 20:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-14 16:55 OpenPGP header Simon Josefsson
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

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).