emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PGG: can't encrypt only for myself?


From: Chris Moore
Subject: PGG: can't encrypt only for myself?
Date: Sun, 11 Feb 2007 12:08:28 +0100

pgg-encrypt-for-me is t

I want to encrypt a file only with my own key, so I type:

  M-x pgg-encrypt RET RET

and get an error:

  gpg: : skipped: malformed user id
  [GNUPG:] INV_RECP 0 
  gpg: [stdin]: encryption failed: malformed user id

it seems that the 'encrypt for me' setting is only used if I specify other 
recipients as well:

(from the definition of pgg-pgp-encrypt-region:

           (if recipients
               (mapconcat 'shell-quote-argument
                          (append recipients
                                  (if pgg-encrypt-for-me
                                      (list pgg-pgp-user-id)))))
)

I think I would expect pgg-encrypt-for-me to be consulted even if no other 
recipients are specified.

Chris.


In GNU Emacs 22.0.93.34 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2007-02-09 on trpaslik
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--with-gtk' '--prefix' '/usr/local' '--with-xpm' 
'--with-jpeg' '--with-png' '--with-gif''




reply via email to

[Prev in Thread] Current Thread [Next in Thread]