| Server IP : 217.160.0.212 / Your IP : 216.73.216.71 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/gnus/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(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)) (#$ . 948))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \207" [custom-declare-variable mml-default-sign-method funcall function #[0 "\300\207" ["pgpmime"] 1 ""] "Default sign method.\nThe string must have an entry in `mml-sign-alist'." :version "22.1" :type (choice (const "smime") (const "pgp") (const "pgpauto") (const "pgpmime") string) :group message] 10)
#@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)) (#$ . 1560))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\307\312\313\310\317& \210\300\320\302\303\321DD\322\312\313\310\323&\210\300\324\302\303\325DD\326\312\313\310\323&\210\300\327\302\303\330DD\331\312\313\310\332&\210\300\333\302\303\334DD\335\306\336\312\313\310\337& \207" [custom-declare-variable mml-default-encrypt-method funcall function #[0 "\300\207" ["pgpmime"] 1 #1=""] "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 #[0 "\300\207" [(("smime" separate) ("pgp" combined) ("pgpauto" combined) ("pgpmime" combined))] 1 #1#] "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 #[0 "\300\207" [nil] 1 #1#] "If non-nil, ask the user about the current operation more verbosely." boolean mml-secure-cache-passphrase #[0 "\207" [password-cache] 1 #1#] "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 #[0 "\207" [password-cache-expiry] 1 #1#] "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 #[0 "\300\207" [nil] 1 #1#] "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`https://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)
#@492 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.
(fn METHOD &optional STYLE)
(defalias 'mml-signencrypt-style #[513 "\301\"\211\203 \302=\204 \303=\203 \211A\240\207\211A@\207\304\305!\207" [mml-signencrypt-style-alist assoc separate combined message "Warning, attempt to set invalid signencrypt style"] 5 (#$ . 4674)])
#@13
(fn CONT)
(defalias 'mml-smime-sign-buffer #[257 "\300!\206 \301\302!\207" [mml-smime-sign error "Signing failed... inspect message logs for errors"] 3 (#$ . 5422)])
#@28
(fn CONT &optional SIGN)
(defalias 'mml-smime-encrypt-buffer #[513 "\211\203\f \300\301!\210\302\303!\210\304!\206 \305\306!\207" [message "Combined sign and encrypt S/MIME not support yet" sit-for 1 mml-smime-encrypt error "Encryption failed... inspect message logs for errors"] 4 (#$ . 5598)])
#@13
(fn CONT)
(defalias 'mml-pgp-sign-buffer #[257 "\300!\206 \301\302!\207" [mml1991-sign error "Signing failed... inspect message logs for errors"] 3 (#$ . 5904)])
#@28
(fn CONT &optional SIGN)
(defalias 'mml-pgp-encrypt-buffer #[513 "\300\"\206\n \301\302!\207" [mml1991-encrypt error "Encryption failed... inspect message logs for errors"] 5 (#$ . 6076)])
#@13
(fn CONT)
(defalias 'mml-pgpmime-sign-buffer #[257 "\300!\206 \301\302!\207" [mml2015-sign error "Signing failed... inspect message logs for errors"] 3 (#$ . 6275)])
#@28
(fn CONT &optional SIGN)
(defalias 'mml-pgpmime-encrypt-buffer #[513 "\300\"\206\n \301\302!\207" [mml2015-encrypt error "Encryption failed... inspect message logs for errors"] 5 (#$ . 6451)])
#@13
(fn CONT)
(defalias 'mml-pgpauto-sign-buffer #[257 "\300 \210\301\302\303\304#\203 \305!\202 \306!\206 \307\310!\207" [message-goto-body re-search-backward "Content-Type: *multipart/.*" nil t mml2015-sign mml1991-sign error "Encryption failed... inspect message logs for errors"] 5 (#$ . 6654)])
#@28
(fn CONT &optional SIGN)
(defalias 'mml-pgpauto-encrypt-buffer #[513 "\300 \210\301\302\303\304#\203 \305\"\202 \306\"\206 \307\310!\207" [message-goto-body re-search-backward "Content-Type: *multipart/.*" nil t mml2015-encrypt mml1991-encrypt error "Encryption failed... inspect message logs for errors"] 6 (#$ . 6963)])
#@30
(fn METHOD &optional SIGN)
(defalias 'mml-secure-part #[513 "\212\303\304\203\f \202
\"8 \305\306\307\310#\203U \311\225b\210\203$ \312\202% \313\261\210\211\205\213 \211A\262\242\211A\262\242\211\203P \314\315\"\203I \316!\262\317\320#c\210\266\202) \305\321\322\n!\323Q\307\310#\204o \324\321\322\n!\323Q\307\310#\203\210 \311\225b\210\325\326\327\203~ \330\202 \331BB#\202\213 \332\333!\262)\207" [mml-sign-alist mml-encrypt-alist mail-header-separator 2 assoc re-search-backward "<#\\(multipart\\|part\\|external\\|mml\\)" nil t 0 " sign=" " encrypt=" string-match "[\"'\\~/*;() \n]" prin1-to-string format " %s=%s" "^" regexp-quote "\n" re-search-forward apply mml-insert-tag part sign encrypt error "The message is corrupted. No mail header separator"] 9 (#$ . 7300)])
#@46 Current security method. Internal variable.
(defvar mml-secure-method (byte-code " \232\203 \207\302\207" [mml-default-encrypt-method mml-default-sign-method "pgpmime"] 2) (#$ . 8109))
#@141 Add MML tags to sign this MML part.
Use METHOD if given. Else use `mml-secure-method' or
`mml-default-sign-method'.
(fn &optional METHOD)
(defalias 'mml-secure-sign #[256 "\302\206\n \206\n \303\"\207" [mml-secure-method mml-default-sign-method mml-secure-part sign] 4 (#$ . 8305) [nil (mml-mode)]])
#@144 Add MML tags to encrypt this MML part.
Use METHOD if given. Else use `mml-secure-method' or
`mml-default-sign-method'.
(fn &optional METHOD)
(defalias 'mml-secure-encrypt #[256 "\302\206\n \206\n !\207" [mml-secure-method mml-default-sign-method mml-secure-part] 3 (#$ . 8617) [nil (mml-mode)]])
#@41 Add MML tags to PGP sign this MML part.
(defalias 'mml-secure-sign-pgp #[0 "\300\301\302\"\207" [mml-secure-part "pgp" sign] 3 (#$ . 8924) [nil (mml-mode)]])
#@46 Add MML tags to PGP-auto sign this MML part.
(defalias 'mml-secure-sign-pgpauto #[0 "\300\301\302\"\207" [mml-secure-part "pgpauto" sign] 3 (#$ . 9088) [nil (mml-mode)]])
#@46 Add MML tags to PGP/MIME sign this MML part.
(defalias 'mml-secure-sign-pgpmime #[0 "\300\301\302\"\207" [mml-secure-part "pgpmime" sign] 3 (#$ . 9265) [nil (mml-mode)]])
#@44 Add MML tags to S/MIME sign this MML part.
(defalias 'mml-secure-sign-smime #[0 "\300\301\302\"\207" [mml-secure-part "smime" sign] 3 (#$ . 9442) [nil (mml-mode)]])
#@44 Add MML tags to PGP encrypt this MML part.
(defalias 'mml-secure-encrypt-pgp #[0 "\300\301!\207" [mml-secure-part "pgp"] 2 (#$ . 9613) [nil (mml-mode)]])
#@49 Add MML tags to PGP/MIME encrypt this MML part.
(defalias 'mml-secure-encrypt-pgpmime #[0 "\300\301!\207" [mml-secure-part "pgpmime"] 2 (#$ . 9773) [nil (mml-mode)]])
#@47 Add MML tags to S/MIME encrypt this MML part.
(defalias 'mml-secure-encrypt-smime #[0 "\300\301!\207" [mml-secure-part "smime"] 2 (#$ . 9946) [nil (mml-mode)]])
#@186 Whether the current buffer contains a mail message that should be encrypted.
If TAG-PRESENT, say whether the <#secure tag is present anywhere
in the buffer.
(fn &optional TAG-PRESENT)
(defalias 'mml-secure-is-encrypted-p #[256 "\212eb\210\300 \210\211\203 \301\302\303\304#\202 \305\303w\210\306\302!)\207" [message-goto-body re-search-forward "<#secure[^>]+encrypt" nil t "[ \n" looking-at] 5 (#$ . 10114)])
#@422 Check whether usage of Bcc is safe (or absent).
Bcc usage is safe in two cases: first, if the current message does
not contain an MML secure encrypt tag;
second, if the Bcc addresses are a subset of `mml-secure-safe-bcc-list'.
In all other cases, ask the user whether Bcc usage is safe.
Raise error if user answers no.
Note that this function does not produce a meaningful return value:
either an error is raised or not.
(defalias 'mml-secure-bcc-is-safe #[0 "\301 \205+ \302\303\304!!\211\205) \305\306\307\310\"\"\311\"?\205'