%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/epg-config.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@23 Name of this package. (defconst epg-package-name "epg" (#$ . 408)) #@33 Version number of this package. (defconst epg-version-number "1.0.0" (#$ . 481)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\210\312\313\305\314\315\316\317\320\321\322\321\323&\210\324\325\326\327\317\330\331\332&\210\324\333\334\335\331\332%\210\324\336\337\340\317\330\331\332&\210\324\341\305\342\331\343%\210\324\344\305\345\331\346%\210\302\347\350\305#\210\306\305\211\203\234 @\347N\203\225 \350N\204\225 \307\350\347N#\210 A\211\204~ *\310\347\350\311#\210\324\350\305\351\331\352\317\311&\210\324\353\305\354\331\355%\207" [prop --dolist-tail-- defvaralias epg-bug-report-address report-emacs-bug-address nil (saved-value saved-variable-comment) put make-obsolete-variable "27.1" custom-declare-group epg "Interface to the GNU Privacy Guard (GnuPG)." :tag "EasyPG" :version "23.1" :group data external custom-declare-variable epg-gpg-program (if (executable-find "gpg2") "gpg2" "gpg") "Say what gpg program to prefer (if it satisfies minimum requirements).\n\nIf this variable is \"gpg2\", but the version of gpg2 installed\nis less than `epg-gpg2-minimum-version', then version 1 of\nGnuPG (i.e., \"gpg\") will be used instead. If the version of\nversion 1 is less than `epg-gpg-minimum-version', then that won't\nbe used either.\n\nIf you want to explicitly specify what gpg program to use, you\nhave to use \\[customize] instead (see the info node `Easy\nCustomization'). Setting this variable without \\[customize] has\nno effect." "25.1" :type string epg-gpgsm-program "gpgsm" "The `gpgsm' executable.\nSetting this variable directly does not take effect;\ninstead use \\[customize] (see the info node `Easy Customization')." epg-gpgconf-program "gpgconf" "The `gpgconf' executable." epg-gpg-home-directory "The directory which contains the configuration files of `epg-gpg-program'." (choice (const :tag "Default" nil) directory) epg-passphrase-coding-system "Coding system to use with messages from `epg-gpg-program'." symbol epa-pinentry-mode epg-pinentry-mode "The pinentry mode.\n\nGnuPG 2.1 or later has an option to control the behavior of\nPinentry invocation. The value should be the symbol `error',\n`ask', `cancel', or `loopback'. See the GnuPG manual for the\nmeanings.\n\nA particularly useful mode is `loopback', which redirects all\nPinentry queries to the caller, so Emacs can query passphrase\nthrough the minibuffer, instead of external Pinentry program." (choice (const nil) (const ask) (const cancel) (const error) (const loopback)) epg-debug "If non-nil, debug output goes to the \" *epg-debug*\" buffer.\nNote that the buffer name starts with a space." boolean] 13) (defconst epg-gpg-minimum-version "1.4.3") (defconst epg-gpg2-minimum-version "2.1.6") #@349 Alist used to obtain the usable configuration of executables. The first element of each entry is protocol symbol, which is either `OpenPGP' or `CMS'. The second element is a symbol where the executable name is remembered. The rest of the entry is an alist mapping executable names to the minimum required version suitable for the use with Emacs. (defconst epg-config--program-alist (byte-code "\302\303\304B\305 \306BEF\307B\207" [epg-gpg2-minimum-version epg-gpg-minimum-version OpenPGP epg-gpg-program "gpg2" "gpg" "2.0" ((CMS epg-gpgsm-program ("gpgsm" . "2.0.4")))] 6) (#$ . 3282)) #@245 Alist used to obtain the usable configuration of executables. The first element of each entry is protocol symbol, which is either `OpenPGP' or `CMS'. The second element is a function which constructs a configuration object (actually a plist). (defconst epg-config--configuration-constructor-alist '((OpenPGP . epg-config--make-gpg-configuration) (CMS . epg-config--make-gpgsm-configuration)) (#$ . 3879)) (defvar epg--configurations nil) #@435 Find or create a usable configuration to handle PROTOCOL. This function first looks at the existing configuration found by the previous invocation of this function, unless NO-CACHE is non-nil. Then it walks through PROGRAM-ALIST or `epg-config--program-alist'. If `epg-gpg-program' or `epg-gpgsm-program' is already set with custom, use it. Otherwise, it tries the programs listed in the entry until the version requirement is met. (defalias 'epg-find-configuration #[(protocol &optional no-cache program-alist) "\204 \n\236\211\204 \306\307\n\"\210A\211\203\"