Variable: mml-secure-openpgp-encrypt-to-self

mml-secure-openpgp-encrypt-to-self is a customizable variable defined in mml-sec.el.gz.

Value

nil

Documentation

List of own key ID(s) or t; determines additional recipients with OpenPGP.

If t, also encrypt to key for message sender; if list, encrypt to those keys. With this variable, you can ensure that you can decrypt your own messages. Alternatives to this variable include Bcc'ing the message to yourself or using the encrypt-to or hidden-encrypt-to option in gpg.conf (see man gpg(1)). Note that this variable and the encrypt-to option give away your identity for *every* encryption without warning, which is not what you want if you are using, e.g., remailers. Also, use of Bcc gives away your identity for *every* encryption without warning, which is a bug, see: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18718

Aliases

mml2015-encrypt-to-self (obsolete since 25.1) mml1991-encrypt-to-self (obsolete since 25.1)

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/mml-sec.el.gz
(defcustom mml-secure-openpgp-encrypt-to-self nil
  "List of own key ID(s) or t; determines additional recipients with OpenPGP.
If t, also encrypt to key for message sender; if list, encrypt to those keys.
With this variable, you can ensure that you can decrypt your own messages.
Alternatives to this variable include Bcc'ing the message to yourself or
using the encrypt-to or hidden-encrypt-to option in gpg.conf (see man gpg(1)).
Note that this variable and the encrypt-to option give away your identity
for *every* encryption without warning, which is not what you want if you are
using, e.g., remailers.
Also, use of Bcc gives away your identity for *every* encryption without
warning, which is a bug, see:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18718"
  :group 'mime-security
  :type '(choice (const :tag "None" nil)
		 (const :tag "From address" t)
		 (repeat (string :tag "Key ID"))))