%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/gnus/ |
Current File : //usr/local/share/emacs/27.2/lisp/gnus/mml-sec.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\307\310\311\"\210\307\312\313\"\210\307\314\313\"\210\307\315\316\"\210\307\317\316\"\210\307\320\321\"\210\307\322\321\"\210\307\323\321\"\210\307\324\325\"\210\307\326\327\"\210\307\330\327\"\210\307\331\327\"\210\307\332\327\"\210\307\333\327\"\210\307\334\327\"\210\307\335\336\"\210\307\323\321\"\210\307\337\321\"\207" [require cl-lib gnus-util epg epa password-cache mm-encode autoload mail-strip-quoted-names "mail-utils" mml2015-sign "mml2015" mml2015-encrypt mml1991-sign "mml1991" mml1991-encrypt message-fetch-field "message" message-goto-body message-options-get mml-insert-tag "mml" mml-smime-sign "mml-smime" mml-smime-encrypt mml-smime-sign-query mml-smime-encrypt-query mml-smime-verify mml-smime-verify-test epa--select-keys "epa" message-options-set] 3) #@33 Alist of MIME signer functions. (defvar mml-sign-alist '(("smime" mml-smime-sign-buffer mml-smime-sign-query) ("pgp" mml-pgp-sign-buffer list) ("pgpauto" mml-pgpauto-sign-buffer list) ("pgpmime" mml-pgpmime-sign-buffer list)) (#$ . 1272)) #@73 Default sign method. The string must have an entry in `mml-sign-alist'. (custom-declare-variable 'mml-default-sign-method "pgpmime" '(#$ . 1517) :version "22.1" :type '(choice (const "smime") (const "pgp") (const "pgpauto") (const "pgpmime") string) :group 'message) #@37 Alist of MIME encryption functions. (defvar mml-encrypt-alist '(("smime" mml-smime-encrypt-buffer mml-smime-encrypt-query) ("pgp" mml-pgp-encrypt-buffer list) ("pgpauto" mml-pgpauto-sign-buffer list) ("pgpmime" mml-pgpmime-encrypt-buffer list)) (#$ . 1790)) (byte-code "\300\301\302\303\304\305\306\307\310\311& \210\300\312\313\314\304\305\310\311\306\315& \210\300\316\317\320\310\311\306\321&\210\300\322\323\324\310\311\306\321&\210\300\325\326\327\310\311\306\330&\210\300\331\317\332\304\333\310\311\306\334& \207" [custom-declare-variable mml-default-encrypt-method "pgpmime" "Default encryption method.\nThe string must have an entry in `mml-encrypt-alist'." :version "22.1" :type (choice (const "smime") (const "pgp") (const "pgpauto") (const "pgpmime") string) :group message mml-signencrypt-style-alist '(("smime" separate) ("pgp" combined) ("pgpauto" combined) ("pgpmime" combined)) "Alist specifying if `signencrypt' results in two separate operations or not.\nThe first entry indicates the MML security type, valid entries include\nthe strings \"smime\", \"pgp\", and \"pgpmime\". The second entry is\na symbol `separate' or `combined' where `separate' means that MML signs\nand encrypt messages in a two step process, and `combined' means that MML\nsigns and encrypt the message in one step.\n\nNote that the output generated by using a `combined' mode is NOT\nunderstood by all PGP implementations, in particular PGP version\n2 does not support it! See Info node `(message) Security' for\ndetails." (repeat (list (choice (const :tag "S/MIME" "smime") (const :tag "PGP" "pgp") (const :tag "PGP/MIME" "pgpmime") (string :tag "User defined")) (choice (const :tag "Separate" separate) (const :tag "Combined" combined)))) mml-secure-verbose nil "If non-nil, ask the user about the current operation more verbosely." boolean mml-secure-cache-passphrase password-cache "If t, cache OpenPGP or S/MIME passphrases inside Emacs.\nPassphrase caching in Emacs is NOT recommended. Use gpg-agent instead.\nSee Info node `(message) Security'." mml-secure-passphrase-cache-expiry password-cache-expiry "How many seconds the passphrase is cached.\nWhether the passphrase is cached at all is controlled by\n`mml-secure-cache-passphrase'." integer mml-secure-safe-bcc-list "List of e-mail addresses that are safe to use in Bcc headers.\nEasyPG encrypts e-mails to Bcc addresses, and the encrypted e-mail\nby default identifies the used encryption keys, giving away the\nBcc'ed identities. Clearly, this contradicts the original goal of\n*blind* copies.\nFor an academic paper explaining the problem, see URL\n`http://crypto.stanford.edu/portia/papers/bb-bcc.pdf'.\nUse this variable to specify e-mail addresses whose owners do not\nmind if they are identifiable as recipients. This may be useful if\nyou use Bcc headers to encrypt e-mails to yourself." "25.1" (repeat string)] 10) #@463 Function for setting/getting the signencrypt-style used. Takes two arguments, the method (e.g. "pgp") and optionally the mode (e.g. combined). If the mode is omitted, the current value is returned. For example, if you prefer to use combined sign & encrypt with smime, putting the following in your Gnus startup file will enable that behavior: (mml-set-signencrypt-style "smime" combined) You can also customize or set `mml-signencrypt-style-alist' instead. (defalias 'mml-signencrypt-style #[(method &optional style) "\305 \"\211\203% \306=\204 \307=\203 \n\211A\240)\202( \nA@\202( \310\311!)\207" [method mml-signencrypt-style-alist style-item style #1=#:v assoc separate combined message "Warning, attempt to set invalid signencrypt style"] 4 (#$ . 4683)]) (defalias 'mml-smime-sign-buffer #[(cont) "\301!\206 \302\303!\207" [cont mml-smime-sign error "Signing failed... inspect message logs for errors"] 2]) (defalias 'mml-smime-encrypt-buffer #[(cont &optional sign) "\203\f \302\303!\210\304\305!\210\306 !\206 \307\310!\207" [sign cont message "Combined sign and encrypt S/MIME not support yet" sit-for 1 mml-smime-encrypt error "Encryption failed... inspect message logs for errors"] 2]) (defalias 'mml-pgp-sign-buffer #[(cont) "\301!\206 \302\303!\207" [cont mml1991-sign error "Signing failed... inspect message logs for errors"] 2]) (defalias 'mml-pgp-encrypt-buffer #[(cont &optional sign) "\302 \"\206\n \303\304!\207" [cont sign mml1991-encrypt error "Encryption failed... inspect message logs for errors"] 3]) (defalias 'mml-pgpmime-sign-buffer #[(cont) "\301!\206 \302\303!\207" [cont mml2015-sign error "Signing failed... inspect message logs for errors"] 2]) (defalias 'mml-pgpmime-encrypt-buffer #[(cont &optional sign) "\302 \"\206\n \303\304!\207" [cont sign mml2015-encrypt error "Encryption failed... inspect message logs for errors"] 3]) (defalias 'mml-pgpauto-sign-buffer #[(cont) "\301 \210\302\303\304\305#\203 \306!\202 \307!\206 \310\311!\207" [cont message-goto-body re-search-backward "Content-Type: *multipart/.*" nil t mml2015-sign mml1991-sign error "Encryption failed... inspect message logs for errors"] 4]) (defalias 'mml-pgpauto-encrypt-buffer #[(cont &optional sign) "\302 \210\303\304\305\306#\203 \307 \"\202 \310 \"\206 \311\312!\207" [cont sign message-goto-body re-search-backward "Content-Type: *multipart/.*" nil t mml2015-encrypt mml1991-encrypt error "Encryption failed... inspect message logs for errors"] 4]) (defalias 'mml-secure-part #[(method &optional sign) "\212\306\307 \203\f \n\202 \"8 \310\311\312\313#\203V \314\225b\210 \203% \315\202&