* [patch] Make PGG respect setting of user ID for sign+encrypt
@ 2002-11-01 19:57 Raymond Scholz
2002-11-02 4:22 ` Simon Josefsson
0 siblings, 1 reply; 2+ messages in thread
From: Raymond Scholz @ 2002-11-01 19:57 UTC (permalink / raw)
This patch makes PGG respect the setting of the default user ID in
function `pgg-gpg-encrypt-region' like it already does for
`pgg-gpg-sign-region'.
Index: lisp/pgg-gpg.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/pgg-gpg.el,v
retrieving revision 6.7
diff -u -r6.7 pgg-gpg.el
--- lisp/pgg-gpg.el 2002/10/20 00:04:23 6.7
+++ lisp/pgg-gpg.el 2002/11/01 19:56:26
@@ -137,7 +137,7 @@
(args
(append
(list "--batch" "--armor" "--always-trust" "--encrypt")
- (if sign '("--sign"))
+ (if sign (list "--sign" "--local-user" pgg-gpg-user-id))
(if recipients
(apply #'nconc
(mapcar (lambda (rcpt)
Cheers, Ray
--
WYSIWYG is a step backwards. Human labor is used to do that which the
computer can do better. (Andrew S. Tanenbaum)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-02 4:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-01 19:57 [patch] Make PGG respect setting of user ID for sign+encrypt Raymond Scholz
2002-11-02 4:22 ` Simon Josefsson
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).