* [dooglus@gmail.com: Re: PGG: can't encrypt only for myself?]
@ 2007-02-17 1:03 Richard Stallman
0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2007-02-17 1:03 UTC (permalink / raw)
To: emacs-devel
Daiko Ueno says this is correct.
Would someone please install it?
To: emacs-pretest-bug@gnu.org
From: Chris Moore <dooglus@gmail.com>
Date: Wed, 14 Feb 2007 12:31:10 +0100
In-Reply-To: <E1HGCZI-0001RE-NH@trpaslik> (Chris Moore's message of "Sun\,
11 Feb 2007 12\:08\:28 +0100")
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Re: PGG: can't encrypt only for myself?
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed
version=3.0.4
Chris Moore <dooglus@gmail.com> writes:
> the 'encrypt for me' setting is only used if I specify other recipients as well:
> I think I would expect pgg-encrypt-for-me to be consulted even if no other recipients are specified.
Here's a patch to fix it:
Index: lisp/pgg-gpg.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/pgg-gpg.el,v
retrieving revision 1.21
diff -u -r1.21 pgg-gpg.el
--- lisp/pgg-gpg.el 21 Jan 2007 03:53:11 -0000 1.21
+++ lisp/pgg-gpg.el 14 Feb 2007 11:27:52 -0000
@@ -224,7 +224,7 @@
(list "--batch" "--armor" "--always-trust" "--encrypt")
(if pgg-text-mode (list "--textmode"))
(if sign (list "--sign" "--local-user" pgg-gpg-user-id))
- (if recipients
+ (if (or recipients pgg-encrypt-for-me)
(apply #'nconc
(mapcar (lambda (rcpt)
(list pgg-gpg-recipient-argument rcpt))
Index: lisp/pgg-pgp5.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/pgg-pgp5.el,v
retrieving revision 1.5
diff -u -r1.5 pgg-pgp5.el
--- lisp/pgg-pgp5.el 21 Jan 2007 03:53:11 -0000 1.5
+++ lisp/pgg-pgp5.el 14 Feb 2007 11:27:52 -0000
@@ -155,7 +155,7 @@
(args
(append
`("+NoBatchInvalidKeys=off" "-fat" "+batchmode=1"
- ,@(if recipients
+ ,@(if (or recipients pgg-encrypt-for-me)
(apply #'append
(mapcar (lambda (rcpt)
(list "-r"
Index: lisp/pgg-pgp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/pgg-pgp.el,v
retrieving revision 1.6
diff -u -r1.6 pgg-pgp.el
--- lisp/pgg-pgp.el 21 Jan 2007 03:53:11 -0000 1.6
+++ lisp/pgg-pgp.el 14 Feb 2007 11:27:52 -0000
@@ -143,7 +143,7 @@
(args
(concat
"+encrypttoself=off +verbose=1 +batchmode +language=us -fate "
- (if recipients
+ (if (or recipients pgg-encrypt-for-me)
(mapconcat 'shell-quote-argument
(append recipients
(if pgg-encrypt-for-me
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dooglus@gmail.com: Re: PGG: can't encrypt only for myself?]
@ 2007-02-23 22:10 Richard Stallman
2007-02-24 0:09 ` Kim F. Storm
0 siblings, 1 reply; 3+ messages in thread
From: Richard Stallman @ 2007-02-23 22:10 UTC (permalink / raw)
To: emacs-devel
[I sent this message a week ago but this has not been installed]
Daiko Ueno says this is correct.
Would someone please install it?
To: emacs-pretest-bug@gnu.org
From: Chris Moore <dooglus@gmail.com>
Date: Wed, 14 Feb 2007 12:31:10 +0100
In-Reply-To: <E1HGCZI-0001RE-NH@trpaslik> (Chris Moore's message of "Sun\,
11 Feb 2007 12\:08\:28 +0100")
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Re: PGG: can't encrypt only for myself?
X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=failed
version=3.0.4
Chris Moore <dooglus@gmail.com> writes:
> the 'encrypt for me' setting is only used if I specify other recipients as well:
> I think I would expect pgg-encrypt-for-me to be consulted even if no other recipients are specified.
Here's a patch to fix it:
Index: lisp/pgg-gpg.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/pgg-gpg.el,v
retrieving revision 1.21
diff -u -r1.21 pgg-gpg.el
--- lisp/pgg-gpg.el 21 Jan 2007 03:53:11 -0000 1.21
+++ lisp/pgg-gpg.el 14 Feb 2007 11:27:52 -0000
@@ -224,7 +224,7 @@
(list "--batch" "--armor" "--always-trust" "--encrypt")
(if pgg-text-mode (list "--textmode"))
(if sign (list "--sign" "--local-user" pgg-gpg-user-id))
- (if recipients
+ (if (or recipients pgg-encrypt-for-me)
(apply #'nconc
(mapcar (lambda (rcpt)
(list pgg-gpg-recipient-argument rcpt))
Index: lisp/pgg-pgp5.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/pgg-pgp5.el,v
retrieving revision 1.5
diff -u -r1.5 pgg-pgp5.el
--- lisp/pgg-pgp5.el 21 Jan 2007 03:53:11 -0000 1.5
+++ lisp/pgg-pgp5.el 14 Feb 2007 11:27:52 -0000
@@ -155,7 +155,7 @@
(args
(append
`("+NoBatchInvalidKeys=off" "-fat" "+batchmode=1"
- ,@(if recipients
+ ,@(if (or recipients pgg-encrypt-for-me)
(apply #'append
(mapcar (lambda (rcpt)
(list "-r"
Index: lisp/pgg-pgp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/pgg-pgp.el,v
retrieving revision 1.6
diff -u -r1.6 pgg-pgp.el
--- lisp/pgg-pgp.el 21 Jan 2007 03:53:11 -0000 1.6
+++ lisp/pgg-pgp.el 14 Feb 2007 11:27:52 -0000
@@ -143,7 +143,7 @@
(args
(concat
"+encrypttoself=off +verbose=1 +batchmode +language=us -fate "
- (if recipients
+ (if (or recipients pgg-encrypt-for-me)
(mapconcat 'shell-quote-argument
(append recipients
(if pgg-encrypt-for-me
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dooglus@gmail.com: Re: PGG: can't encrypt only for myself?]
2007-02-23 22:10 [dooglus@gmail.com: Re: PGG: can't encrypt only for myself?] Richard Stallman
@ 2007-02-24 0:09 ` Kim F. Storm
0 siblings, 0 replies; 3+ messages in thread
From: Kim F. Storm @ 2007-02-24 0:09 UTC (permalink / raw)
To: rms; +Cc: emacs-devel
Richard Stallman <rms@gnu.org> writes:
> [I sent this message a week ago but this has not been installed]
>
> Daiko Ueno says this is correct.
> Would someone please install it?
Done.
> Chris Moore <dooglus@gmail.com> writes:
>
>> the 'encrypt for me' setting is only used if I specify other recipients as well:
>
>> I think I would expect pgg-encrypt-for-me to be consulted even if no other recipients are specified.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-24 0:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 22:10 [dooglus@gmail.com: Re: PGG: can't encrypt only for myself?] Richard Stallman
2007-02-24 0:09 ` Kim F. Storm
-- strict thread matches above, loose matches on Subject: below --
2007-02-17 1:03 Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).