Server IP : 111.118.215.189 / Your IP : 3.18.102.38 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/obsolete/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:09 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/obsolete/pgg.el ;;; in Emacs version 24.3.1 ;;; 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\303\304\305\"\210\306\307\304\"\210\306\310\311\"\207" [require pgg-def pgg-parse autoload run-at-time "timer" defalias pgg-run-at-time pgg-cancel-timer cancel-timer] 3) (defalias 'pgg-invoke #[(func scheme &rest args) "\303\304\305\306\"!!\210\307\310\304\305\311 #!\n#\207" [scheme func args require intern format "pgg-%s" apply funcall "pgg-%s-%s"] 7]) (put 'pgg-save-coding-system 'lisp-indent-function 2) (defalias 'pgg-save-coding-system '(macro . #[(start end &rest body) "\303\304\305\306\307\305\310\311\312 F\313\314\315\nB\316BB\257DE\317\320 E\nBBF\207" [start end body if (called-interactively-p 'interactive) let ((buffer (current-buffer))) with-temp-buffer (buffer-undo-list) insert-buffer-substring buffer (encode-coding-region (point-min) (point-max) buffer-file-coding-system) prog1 save-excursion ((push nil buffer-undo-list) (ignore-errors (undo))) save-restriction narrow-to-region] 12])) (defalias 'pgg-temp-buffer-show-function #[(buffer) "\302\303\"\206 \304 \305 \"\210\306 !)\207" [buffer window get-buffer-window visible split-window-vertically set-window-buffer shrink-window-if-larger-than-buffer] 3]) #@182 Situate en/decryption results or pop up an error buffer. Text from START to END is replaced by contents of output buffer if STATUS is true, or else the output buffer is displayed. (defalias 'pgg-display-output-buffer #[(start end status) "\203 \303 \n\"\207\304 \207" [status start end pgg-situate-output pgg-display-error-buffer] 3 (#$ . 1735)]) #@72 Place en/decryption result in place of current text from START to END. (defalias 'pgg-situate-output #[(start end) " |\210\304\n!\210\305`#\207" [start end pgg-output-buffer buffer-file-coding-system insert-buffer-substring decode-coding-region] 4 (#$ . 2091)]) #@76 Pop up an error buffer indicating the reason for an en/decryption failure. (defalias 'pgg-display-error-buffer #[nil "\306 r\307!q\210p\310 \210\n\311\211\312\211\312\313 \210\314\315!\210+\211\211q\210\316!\317!\210,\207" [temp-buffer-show-function default-directory #1=#:old-dir pgg-echo-buffer buffer-read-only buffer-file-name pgg-temp-buffer-show-function get-buffer-create kill-all-local-variables nil t erase-buffer run-hooks temp-buffer-setup-hook insert-buffer-substring internal-temp-output-buffer-show buffer-undo-list inhibit-modification-hooks inhibit-read-only #2=#:buf standard-output pgg-errors-buffer] 4 (#$ . 2362)]) (defvar pgg-passphrase-cache (make-vector 7 0)) #@193 Hash table for managing scheduled pgg cache management timers. We associate key and timer, so the timer can be canceled if a new timeout for the key is set while an old one is still pending. (defvar pgg-pending-timers (make-vector 7 0) (#$ . 3072)) #@247 Using PROMPT, obtain passphrase for KEY from cache or user. Truncate the key to 8 trailing characters unless NOTRUNCATE is true (default false). Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry' regulate cache behavior. (defalias 'pgg-read-passphrase #[(prompt &optional key notruncate) "\303 \"\206\n \304\n!\207" [key notruncate prompt pgg-read-passphrase-from-cache read-passwd] 3 (#$ . 3329)]) #@249 Obtain passphrase for KEY from time-limited passphrase cache. Truncate the key to 8 trailing characters unless NOTRUNCATE is true (default false). Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry' regulate cache behavior. (defalias 'pgg-read-passphrase-from-cache #[(key &optional notruncate) "\205% \205% \n\204 G\304V\203 \305\306O\202 \211\205% \307 \"J\207" [pgg-cache-passphrase key notruncate pgg-passphrase-cache 8 -8 nil intern-soft] 3 (#$ . 3761)]) #@251 Associate KEY with PASSPHRASE in time-limited passphrase cache. Truncate the key to 8 trailing characters unless NOTRUNCATE is true (default false). Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry' regulate cache behavior. (defalias 'pgg-add-passphrase-to-cache #[(key passphrase &optional notruncate) "\203 \202 G\306V\203 \307\310O\202 \311 \n\"\211J\310\f\203/ \312\f!\210\313\n\"\210\314 \"L\210\314 \n\"\315\310\316 %L,\207" [notruncate key pgg-pending-timers interned-timer-key old-timer new-timer 8 -8 nil intern-soft cancel-timer unintern intern pgg-run-at-time pgg-remove-passphrase-from-cache pgg-passphrase-cache passphrase pgg-passphrase-cache-expiry] 8 (#$ . 4262)]) (byte-code "\300\301!\203 \302\303\301\"\210\202 \302\303\304\"\210\300\207" [fboundp clear-string defalias pgg-clear-string #[(string) "\301\302\"\207" [string fillarray 95] 3]] 3) #@420 Omit passphrase associated with KEY in time-limited passphrase cache. Truncate the key to 8 trailing characters unless NOTRUNCATE is true (default false). This is a no-op if there is not entry for KEY (eg, it's already expired. The memory for the passphrase is filled with underscores to clear any references to it. Custom variables `pgg-cache-passphrase' and `pgg-passphrase-cache-expiry' regulate cache behavior. (defalias 'pgg-remove-passphrase-from-cache #[(key &optional notruncate) "\306 \" \203 \202 G\307V\203 \310\311O\202 \312\"\211J\n\2033 \313\n!\210\314\"\210 \205? \315 !\210\314\f\",\207" [key notruncate passphrase pgg-pending-timers interned-timer-key old-timer pgg-read-passphrase-from-cache 8 -8 nil intern-soft pgg-clear-string unintern pgg-cancel-timer pgg-passphrase-cache] 4 (#$ . 5182)]) (defalias 'pgg-convert-lbt-region '(macro . #[(start end lbt) "\303\304\305\306EDC\307 D\310\n\311BBF\207" [end start lbt let pgg-conversion-end set-marker (make-marker) goto-char case ((CRLF (while (progn (end-of-line) (> (marker-position pgg-conversion-end) (point))) (insert " ") (forward-line 1))) (LF (while (re-search-forward " $" pgg-conversion-end t) (replace-match ""))))] 6])) (put 'pgg-as-lbt 'lisp-indent-function 3) (defalias 'pgg-as-lbt '(macro . #[(start end lbt &rest body) "\304\305\306 \nF\304 \307BCBB\310BBBB\207" [start end lbt body let ((inhibit-read-only t) buffer-read-only buffer-undo-list) pgg-convert-lbt-region ((point)) ((push nil buffer-undo-list) (ignore-errors (undo)))] 6])) (put 'pgg-process-when-success 'lisp-indent-function 0) (defalias 'pgg-process-when-success '(macro . #[(&rest body) "\301\302\303\304\305\306\307\"BBBE\207" [body with-current-buffer pgg-output-buffer if (zerop (buffer-size)) nil append (t)] 8])) (byte-code "\300\301\302\303!\203\f \303\202 \304\"\207" [defalias pgg-make-temp-file fboundp make-temp-file #[(prefix &optional dir-flag) "\304\305!\306\307!\203 \307 \202 \"\203 \310\n!\210\n)\207" [prefix temporary-file-directory file dir-flag expand-file-name make-temp-name fboundp temp-directory make-directory] 4]] 4) #@229 Encrypt the current region between START and END for RCPTS. If optional argument SIGN is non-nil, do a combined sign and encrypt. If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user. (defalias 'pgg-encrypt-region #[(start end rcpts &optional sign passphrase) "\306\307!\203B p\310\311!r q\210\312\216\313\314\f#\210\315ed #\210\212\316\317\206* ed&)\313\nB\313\320\321\217\210-\202[ \214\f}\210\316\317\206P ed&)\306\307!\203j \322\f#\210)\207" [buffer #1=#:temp-buffer buffer-undo-list start end buffer-file-coding-system called-interactively-p interactive generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) nil insert-buffer-substring encode-coding-region pgg-invoke "encrypt-region" (undo) ((error)) pgg-display-output-buffer pgg-scheme pgg-default-scheme rcpts sign passphrase status] 8 (#$ . 7317) (list (region-beginning) (region-end) (split-string (read-string "Recipients: ") "[ ,]+"))]) #@163 Encrypt the current region between START and END symmetric with passphrase. If optional PASSPHRASE is not specified, it will be obtained from the cache or user. (defalias 'pgg-encrypt-symmetric-region #[(start end &optional passphrase) "\306\307!\203= p\310\311!r q\210\312\216\313\314\f#\210\315ed #\210\212\316\317\206* ed%)\313\nB\313\320\321\217\210-\202Q \214\f}\210\316\317\206K ed%)\306\307!\203` \322\f#\210)\207" [buffer #1=#:temp-buffer buffer-undo-list start end buffer-file-coding-system called-interactively-p interactive generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) nil insert-buffer-substring encode-coding-region pgg-invoke "encrypt-symmetric-region" (undo) ((error)) pgg-display-output-buffer pgg-scheme pgg-default-scheme passphrase status] 6 (#$ . 8361) "r"]) #@258 Encrypt the current buffer using a symmetric, rather than key-pair, cipher. If optional arguments START and END are specified, only encrypt within the region. If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user. (defalias 'pgg-encrypt-symmetric #[(&optional start end passphrase) "\206 e \206 d\304 \n#\305\306!\203 \307 #\210+\207" [start end passphrase status pgg-encrypt-symmetric-region called-interactively-p interactive pgg-display-output-buffer] 4 (#$ . 9239) nil]) #@291 Encrypt the current buffer for RCPTS. If optional argument SIGN is non-nil, do a combined sign and encrypt. If optional arguments START and END are specified, only encrypt within the region. If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user. (defalias 'pgg-encrypt #[(rcpts &optional sign start end passphrase) "\206 e \206 d\306 \n\f%\307\310!\203 \311 #\210 +\207" [start end rcpts sign passphrase status pgg-encrypt-region called-interactively-p interactive pgg-display-output-buffer] 6 (#$ . 9775) (list (split-string (read-string "Recipients: ") "[ ,]+"))]) #@148 Decrypt the current region between START and END. If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user. (defalias 'pgg-decrypt-region #[(start end &optional passphrase) "p\306\307!\203@ p\310\311!r\nq\210\312\216\313\314 \f #\210\315ed#\210\212\316\317\206- ed%)\313B\313\320\321\217\210-\202T \214\f }\210\316\317\206N ed%)\306\307!\203c \322\f #\210*\207" [buf buffer #1=#:temp-buffer buffer-undo-list start end called-interactively-p interactive generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) nil insert-buffer-substring encode-coding-region pgg-invoke "decrypt-region" (undo) ((error)) pgg-display-output-buffer buffer-file-coding-system pgg-scheme pgg-default-scheme passphrase status] 6 (#$ . 10405) "r"]) #@210 Decrypt the current buffer. If optional arguments START and END are specified, only decrypt within the region. If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user. (defalias 'pgg-decrypt #[(&optional start end passphrase) "\206 e \206 d\304 \n#\305\306!\203 \307 #\210+\207" [start end passphrase status pgg-decrypt-region called-interactively-p interactive pgg-display-output-buffer] 4 (#$ . 11256) ""]) #@336 Make the signature from text between START and END. If the optional 3rd argument CLEARTEXT is non-nil, it does not create a detached signature. If this function is called interactively, CLEARTEXT is enabled and the output is displayed. If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user. (defalias 'pgg-sign-region #[(start end &optional cleartext passphrase) "\306\307!\203F p\310\311!r q\210\312\216\313\314\f#\210\315ed #\210\212\316\317\206* ed\306\307!\2064 &)\313\nB\313\320\321\217\210-\202c \214\f}\210\316\317\206T ed\306\307!\206^ &)\306\307!\203r \322\f#\210)\207" [buffer #1=#:temp-buffer buffer-undo-list start end buffer-file-coding-system called-interactively-p interactive generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) nil insert-buffer-substring encode-coding-region pgg-invoke "sign-region" (undo) ((error)) pgg-display-output-buffer pgg-scheme pgg-default-scheme cleartext passphrase status] 7 (#$ . 11724) "r"]) #@391 Sign the current buffer. If the optional argument CLEARTEXT is non-nil, it does not create a detached signature. If optional arguments START and END are specified, only sign data within the region. If this function is called interactively, CLEARTEXT is enabled and the output is displayed. If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user. (defalias 'pgg-sign #[(&optional cleartext start end passphrase) "\206 e \206 d\305 \306\307!\206 \n$\306\307!\203% \310 \f#\210\f+\207" [start end cleartext passphrase status pgg-sign-region called-interactively-p interactive pgg-display-output-buffer] 5 (#$ . 12806) ""]) #@294 Verify the current region between START and END. If the optional 3rd argument SIGNATURE is non-nil, it is treated as the detached signature of the current region. If the optional 4th argument FETCH is non-nil, we attempt to fetch the signer's public key from `pgg-default-keyserver-address'. (defalias 'pgg-verify-region #[(start end &optional signature fetch) "\205! \306\307!r q\210\310\216\311 \210\312\313!\210\314!\210\315\316ed\"\236A+\317\n\236A\313\211;\203x *\203x \320G\321V\203D \322\313O\202E P\211\203x \323!\204x +\204\\ \324\325!\203x \326\327\330\"!\203x \331\n\236A\206n ,\211\203x \332 \"\210\324\325!\203\276 p-\306\307!.r.q\210\333\216\313/\334-01#\210\335ed2#\210\212\336\3373\206\252 4ed%)\313/B/\313\340\341\217\210-\202\323 \21401}\210\336\3373\206\316 4ed%)\324\325!\203#\342567r\3438!q\210p\344 \21076\313\2119:\345\211/\345;<\346 \210\347\350!\210+\211=\211>q\210\334\f\203?\202@!\210\351=!\210,\f,\207" [signature #1=#:temp-buffer packet key status keyserver generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) buffer-disable-undo set-buffer-multibyte nil insert-file-contents 2 pgg-decode-armor-region key-identifier "0x" 8 -8 pgg-lookup-key called-interactively-p interactive y-or-n-p format "Key %s not found; attempt to fetch? " preferred-key-server pgg-fetch-key ((byte-code "\301!\203\n \302!\210\301\207" [#2=#:temp-buffer buffer-name kill-buffer] 2)) insert-buffer-substring encode-coding-region pgg-invoke "verify-region" (undo) ((error)) pgg-temp-buffer-show-function get-buffer-create kill-all-local-variables t erase-buffer run-hooks temp-buffer-setup-hook internal-temp-output-buffer-show pgg-query-keyserver fetch pgg-default-keyserver-address buffer #2# buffer-undo-list start end buffer-file-coding-system pgg-scheme pgg-default-scheme temp-buffer-show-function default-directory #3=#:old-dir pgg-echo-buffer buffer-read-only buffer-file-name inhibit-modification-hooks inhibit-read-only #4=#:buf standard-output pgg-output-buffer pgg-errors-buffer] 7 (#$ . 13487) "r"]) #@350 Verify the current buffer. If the optional argument SIGNATURE is non-nil, it is treated as the detached signature of the current region. If the optional argument FETCH is non-nil, we attempt to fetch the signer's public key from `pgg-default-keyserver-address'. If optional arguments START and END are specified, only verify data within the region. (defalias 'pgg-verify #[(&optional signature fetch start end) "\206 e \206 d\306 \n$\307\310!\203a \311r\312!q\210p\313 \210\314\211\315\211\315\316 \210\317\320!\210+\211\211q\210\321\f\203W \202Y !\210\322!\210,\f+\207" [start end signature fetch status temp-buffer-show-function pgg-verify-region called-interactively-p interactive pgg-temp-buffer-show-function get-buffer-create kill-all-local-variables nil t erase-buffer run-hooks temp-buffer-setup-hook insert-buffer-substring internal-temp-output-buffer-show default-directory #1=#:old-dir pgg-echo-buffer buffer-read-only buffer-file-name buffer-undo-list inhibit-modification-hooks inhibit-read-only #2=#:buf standard-output pgg-output-buffer pgg-errors-buffer] 6 (#$ . 15629) ""]) #@38 Insert the ASCII armored public key. (defalias 'pgg-insert-key #[nil "\302\303\206 \"\207" [pgg-scheme pgg-default-scheme pgg-invoke "insert-key"] 3 (#$ . 16765) nil]) #@65 Import public keys in the current region between START and END. (defalias 'pgg-snarf-keys-region #[(start end) "\306\307!\2039 p\310\311!r q\210\312\216\313\314\f#\210\315ed #\210\212\316\317\206* \f$)\313\nB\313\320\321\217\210-\207\214\f}\210\316\317\206G \f$)\207" [buffer #1=#:temp-buffer buffer-undo-list start end buffer-file-coding-system called-interactively-p interactive generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) nil insert-buffer-substring encode-coding-region pgg-invoke "snarf-keys-region" (undo) ((error)) pgg-scheme pgg-default-scheme] 5 (#$ . 16942) "r"]) #@43 Import public keys in the current buffer. (defalias 'pgg-snarf-keys #[nil "\300ed\"\207" [pgg-snarf-keys-region] 3 (#$ . 17605) ""]) (defalias 'pgg-lookup-key #[(string &optional type) "\304\305\206 \n$\207" [pgg-scheme pgg-default-scheme string type pgg-invoke "lookup-key"] 5]) (defvar pgg-insert-url-function 'pgg-insert-url-with-w3) (defalias 'pgg-insert-url-with-w3 #[(url) "\300\301\302\217\207" [nil (byte-code "\302\301!\210\303\304 !)\207" [buffer-file-name url require nil url-insert-file-contents] 2) ((error))] 3]) (defvar pgg-insert-url-extra-arguments nil) (defvar pgg-insert-url-program nil) (defalias 'pgg-insert-url-with-program #[(url) "\306!\307\310\311!rq\210\312\216\313\314\315p\f\n C\244%\316 \317\"\210\320 !\321=\2030 \322 \323\"\210\202 \324 !\210 \203D \320 !\321=\203D \325 !\210\326 +c*\207" [pgg-insert-url-extra-arguments process args #1=#:temp-buffer pgg-insert-url-program url copy-sequence nil generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) apply start-process " *PGG url*" set-process-sentinel ignore process-status run accept-process-output 5 delete-process interrupt-process buffer-string] 7]) #@77 Attempt to fetch a KEY from KEYSERVER for addition to PGP or GnuPG keyring. (defalias 'pgg-fetch-key #[(keyserver key) "r\306!q\210\307 \210\310 \210\311\312 \"\205 \313\211\225SO\212\n\203$ \202) \314\315 \f#!\210)\316\317\320\321#\205^ e\313\224|\210\316\322\320\323#\203H \320\210`d|\210\324c\210\325\326!r q\210\327\216\330!\210\331ed\"+*\207" [pgg-output-buffer keyserver proto pgg-insert-url-function key #1=#:temp-buffer get-buffer-create buffer-disable-undo erase-buffer string-match "^[a-zA-Z\\+\\.\\\\-]+:" 0 format "http://%s:11371/pks/lookup?op=get&search=%s" re-search-forward "^-+BEGIN" nil last "^-+END" t "\n" generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) insert-buffer-substring pgg-snarf-keys-region] 5 (#$ . 18817)]) (provide 'pgg)