%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/gnus/ |
Current File : //usr/local/share/emacs/27.2/lisp/gnus/mml2015.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!\207" [require mm-decode mm-util mml mml-sec epg-config] 2) #@85 The package used for PGP/MIME. Valid packages include `epg', `pgg' and `mailcrypt'. (defvar mml2015-use 'epg (#$ . 541)) #@30 Alist of PGP/MIME functions. (defvar mml2015-function-alist '((mailcrypt mml2015-mailcrypt-sign mml2015-mailcrypt-encrypt mml2015-mailcrypt-verify mml2015-mailcrypt-decrypt mml2015-mailcrypt-clear-verify mml2015-mailcrypt-clear-decrypt) (pgg mml2015-pgg-sign mml2015-pgg-encrypt mml2015-pgg-verify mml2015-pgg-decrypt mml2015-pgg-clear-verify mml2015-pgg-clear-decrypt) (epg mml2015-epg-sign mml2015-epg-encrypt mml2015-epg-verify mml2015-epg-decrypt mml2015-epg-clear-verify mml2015-epg-clear-decrypt)) (#$ . 668)) (defvar mml2015-result-buffer nil) (byte-code "\300\301\302\303\304\305\306\307\310\311& \210\300\312\313\314\306\307\310\315&\210\316\312\313\317#\210\300\320\321\322\306\307\310\323&\210\316\320\321\317#\210\300\324\325\326\306\307\310\327&\210\300\330\325\331\306\307\310\315\304\332& \210\300\333\325\334\306\307\310\315&\210\300\335\336\337\306\307\310\315&\210\300\340\341\342\304\343\306\307\310\323& \210\300\344\336\345\304\346\306\307\310\315& \207" [custom-declare-variable mml2015-unabbrev-trust-alist '(("TRUST_UNDEFINED") ("TRUST_NEVER") ("TRUST_MARGINAL" . t) ("TRUST_FULLY" . t) ("TRUST_ULTIMATE" . t)) "Map GnuPG trust output values to a boolean saying if you trust the key." :version "22.1" :group mime-security :type (repeat (cons (regexp :tag "GnuPG output regexp") (boolean :tag "Trust key"))) mml2015-cache-passphrase mml-secure-cache-passphrase "If t, cache passphrase." boolean make-obsolete-variable "25.1" mml2015-passphrase-cache-expiry mml-secure-passphrase-cache-expiry "How many seconds the passphrase is cached.\nWhether the passphrase is cached at all is controlled by\n`mml2015-cache-passphrase'." integer mml2015-signers nil "A list of your own key ID(s) which will be used to sign a message.\nIf set, it overrides the setting of `mml2015-sign-with-sender'." (repeat (string :tag "Key ID")) mml2015-sign-with-sender "If t, use message sender so find a key to sign with." "24.1" mml2015-encrypt-to-self "If t, add your own key ID to recipient list when encryption." mml2015-always-trust t "If t, GnuPG skip key validation on encryption." mml2015-maximum-key-image-dimension 64 "The maximum dimension (width or height) of any key images." "24.4" mml2015-display-key-image "If t, try to display key images." "24.5"] 10) (defalias 'mml2015-extract-cleartext-signature #[nil "eb\210\300y\210\301\302!\203 \300y\210\202 \301\303!\203 \300y\210e`|\210\304\305\300\306#\203, \307\224d|\210eb\210\304\310\300\306#\205C \311\312\306\211#\210\313y\210\202/ \207" [nil looking-at "Hash:" "[ ]*$" re-search-forward "^-----BEGIN PGP SIGNATURE-----" t 0 "^- " replace-match "" 1] 4]) (byte-code "\300\301\302\"\210\300\303\302\"\210\300\304\302\"\210\300\305\306\"\210\300\307\306\"\210\300\310\306\"\207" [autoload mailcrypt-decrypt "mailcrypt" mailcrypt-verify mc-pgp-always-sign mc-encrypt-generic "mc-toplev" mc-cleanup-recipient-headers mc-sign-generic] 3) (defvar mml2015-decrypt-function 'mailcrypt-decrypt) (defvar mml2015-verify-function 'mailcrypt-verify) (defalias 'mml2015-format-error #[(err) "A@;\203 A@\207\301\302A\"\207" [err format "%S"] 3]) (defalias 'mml2015-mailcrypt-decrypt #[(handle ctl) "\3062\222 \307\211\211\310A\311\307\312$\211\204 \313\314\315\"\210\316\306\"\210\317\320!r\fq\210\321\216\322\n!\210\3231M \3241= 00\202V 0\313\325\326!\"\210)\307\202V \313\325\327\"\210)\307\211@\204f \313\314\330\"\210\316\306\"\210\331\312!+\332!\210\333\314\334r q\210\335 )!\336!P)P\"\210 @<\203\216 \202\220 C+0\207" [result handles child handle #1=#:temp-buffer mml2015-decrypt-function error nil mm-find-part-by-type "application/octet-stream" t mm-sec-error gnus-info "Corrupted" throw generate-new-buffer " *temp*" #[nil "\301!\205 \302!\207" [#1# buffer-name kill-buffer] 2] mm-insert-part (quit) (error) gnus-details mml2015-format-error "Quit." "Failed" mm-dissect-buffer mm-destroy-parts mm-sec-status "OK" mml2015-gpg-extract-signature-details ", Signer: " err mml2015-result-buffer sig] 6]) (defalias 'mml2015-gpg-pretty-print-fpr #[(fingerprint) "\305\306 !\307\310 \311\310\"\262 \203: \n\312Z\313 \n\"\312 \233T\314\315\"\2032 \f\2025 \316\fPP\202 ,\207" [result fingerprint fpr-length n-slice slice "" string-width 0 nil append 4 butlast eql 1 " "] 4]) (defalias 'mml2015-gpg-extract-signature-details #[nil "eb\210\306\307\310\311#\306\312\310\311#\205 \313\314!\313\315!B\306\316\310\311#\205$ \313\314!\306\317\310\311#\2050 \313\314!\320\f\"A \203X \n\203X A ?\205K \321\322\n!P\205T \323\324 @\"Q\202g \306\325\310\311#\203f \313\315!\202g \326-\207" [expired signer fprint trust mml2015-unabbrev-trust-alist trust-good-enough-p re-search-forward "^\\[GNUPG:\\] SIGEXPIRED$" nil t "^\\[GNUPG:\\] GOODSIG \\([0-9A-Za-z]*\\) \\(.*\\)$" match-string 1 2 "^\\[GNUPG:\\] VALIDSIG \\([0-9a-zA-Z]*\\) " "^\\[GNUPG:\\] \\(TRUST_.*\\)$" assoc "\nUntrusted, Fingerprint: " mml2015-gpg-pretty-print-fpr format "\nWARNING: Signature from expired key (%s)" "^\\(gpg: \\)?Good signature from \"\\(.*\\)\"$" "From unknown user"] 5]) (defalias 'mml2015-mailcrypt-clear-decrypt #[nil "\303\3041 \3051 00\202' 0\306\307\310\n!\"\210)\303\202' \306\307\311\"\210)\303\211@\2034 \312\313\314\"\2028 \306\313\315\")\207" [result mml2015-decrypt-function err nil (quit) (error) mm-sec-error gnus-details mml2015-format-error "Quit." mm-sec-status gnus-info "OK" "Failed"] 5]) (defalias 'mml2015-fix-micalg #[(alg) "\205 \301\302\"\203 \303\304\225\"\202 \226\207" [alg string-match "^p[gh]p-" substring 0] 3]) (defalias 'mml2015-mailcrypt-verify #[(handle ctl) "\3062\307\310 \311\312\313 @#\206 \314\315#\211\204# \316\317\320\"\210\321\306\n\"\210\322\323!rq\210\324\216\325c\210\326\327\330\311\312\331 @#!\206>