summaryrefslogtreecommitdiff
path: root/lisp/epg-config.el
Commit message (Collapse)AuthorAge
* ; Add 2024 to copyright yearsPo Lu2024-01-02
|
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-01
|
* Make point-at-eol and point-at-bol obsoleteStefan Kangas2022-08-23
| | | | | | | * lisp/subr.el (point-at-eol, point-at-bol): Make XEmacs compat aliases obsolete in favor of `pos-bol'/'line-beginning-position' or 'pos-eol'/'line-end-position'. Update callers. Ref: https://lists.gnu.org/r/emacs-devel/2022-08/msg00853.html
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-01
|
* Use lexical-binding in epg-config.el and add testsStefan Kangas2021-04-01
| | | | | | * lisp/epg-config.el: Use lexical-binding. (epg-find-configuration): Improve error message. * test/lisp/epg-config-tests.el: New file.
* Update copyright year to 2021Paul Eggert2021-01-01
| | | | Run "TZ=UTC0 admin/update-copyright".
* Split EasyPG libraries into outline sectionsJonas Bernoulli2020-08-13
| | | | | | | | | | | * lisp/epa-dired.el: lisp/epa-file.el: lisp/epa-hook.el: lisp/epa-mail.el: lisp/epa.el: lisp/epg-config.el: lisp/epg.el: Split into outline sections. * lisp/epg.el (epg-error): Move definition.
* * lisp/epg-config.el (epg-config--make-gpg-configuration): Fix indentation.Jonas Bernoulli2020-07-15
|
* Fix invocations of gpg from GnusEli Zaretskii2020-04-03
| | | | | | | * lisp/epg-config.el (epg-config--make-gpg-configuration): Bind coding-system-for-read/write to 'undecided', to countermand possible values of 'no-conversion' or somesuch by the callers. (Bug#40248)
* Update copyright year to 2020Paul Eggert2020-01-01
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Add -unknown to version-regexp-alistLars Ingebrigtsen2019-10-13
| | | | | | | | | * lisp/epg-config.el (epg-find-configuration): Remove the -unknown hack, because it led to further problems later when comparing versions. * lisp/subr.el (version-regexp-alist): Rate -unknown versions the same as -alpha releases (bug#37556).
* Allow finding gpg2 binaries when gpg2 has an "unknown" version stringLars Ingebrigtsen2019-08-26
| | | | | | * lisp/epg-config.el (epg-find-configuration): Allow finding a usable configuration even if the version string looks like "gpg (GnuPG) 2.2.15-unknown" (bug#35629).
* Only use --sender for gpg when gpg supports itTeemu Likonen2019-08-26
| | | | | | | | | * lisp/epg-config.el (epg-required-version-p): New function (bug#37025). * lisp/gnus/mml-sec.el (mml-secure-epg-sign): * lisp/epg.el (epg-start-sign): (epg-start-encrypt): Use it to only use --sender when the gpg binary supports it.
* Clarify when gpg2 and gpg are used in the epg-gpg-program doc stringLars Ingebrigtsen2019-07-26
| | | | | * lisp/epg-config.el (epg-gpg-program): Doc string clarification (bug#26090).
* Cleanup of TODO to prefer report-emacs-bugStefan Kangas2019-05-28
| | | | | | | | | | * etc/TODO: Remove already completed removal of `report-calc-bug'. * lisp/calc/calc.el: Remove any mention of `report-calc-bug'. * lisp/epg-config.el: Redefine `epg-bug-report-address' as obsolete variable alias for `report-emacs-bug-address'. * lisp/expand.el: Remove any mention of `expand-submit-report'. * lisp/obsolete/fast-lock.el: Remove commented out code for `fast-lock-submit-bug-report'.
* Merge from origin/emacs-26Paul Eggert2018-12-31
|\ | | | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Update copyright year to 2019Paul Eggert2019-01-01
| | | | | | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* | ; Remove tracing for epg-tests (Bug#23561)Noam Postavsky2018-07-16
| |
* | Reject gpg 2.0 for epg configs by default (Bug#23561)Noam Postavsky2018-07-15
| | | | | | | | | | | | | | | | | | | | | | Previously, gpg2 2.0 would be rejected, but the same version installed as "gpg" would be accepted. * lisp/epg-config.el (epg-gpg2-minimum-version): New constant. (epg-config--program-alist) <OpenPGP>: Require a version in 1.4.3..2.0 or 2.1.6+., not just anything above 1.4.3. (epg-check-configuration): Accept a list of required version intervals, in addtion to just a single minimum.
* | ; Trace gpg stderr config output during epg-tests (Bug#23561)Noam Postavsky2018-07-14
| |
* | ; Further tracing of epg-tests gpg config (Bug#23561)Noam Postavsky2018-07-14
| |
* | Place epg-pinentry-mode varalias before defcustomBasil L. Contovounesios2018-05-27
| | | | | | | | | | | | | | This is needed to avoid losing user settings made under the obsolete name (Bug#31603). * lisp/epa.el (epa-pinentry-mode): Move obsolete varalias from here... * lisp/epg-config.el (epg-pinentry-mode): ...to here.
* | Move epa-pinentry-mode to epg-config (Bug#26298)Noam Postavsky2018-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/epa.el (epa-pinentry-mode): Make into obsolete alias for... * lisp/epg-config.el (epg-pinentry-mode): ...this new user option. * lisp/epg.el (epg-context): Use it as the default value for pinentry-mode. * etc/NEWS: Announce name change. * lisp/epa-file.el (epa-file-insert-file-contents) (epa-file-write-region): * lisp/epa.el (epa-decrypt-file, epa-sign-file) (epa-encrypt-file, epa-decrypt-region) (epa-sign-region, epa-encrypt-region): Don't change epg-context-pinentry-mode from the default.
* | Drop some epg/epa backwards compat code for ancient Emacs versionsNoam Postavsky2018-05-23
|/ | | | | | | | | | | | | | | | | * lisp/epa.el (epa--select-safe-coding-system): Remove, `select-safe-coding-system' has been present since Emacs 20.3. (epa--encode-coding-string, epa--decode-coding-string): * lisp/epg.el (epg--decode-coding-string, epg--encode-coding-string) (epg--clear-string): Remove, the corresponding Emacs functions are so old they don't show up in NEWS. Furthermore, the fallback for the *-coding-string functions was `identity' which wouldn't have worked anyway, since it only takes a single argument. (epg--make-temp-file): Remove, `make-temp-file' has been present since Emacs 21.1. * lisp/epg-config.el (epg-gpg-program, epg-gpgsm-program) (epg-gpgconf-program, epg-gpg-home-directory) (epg-passphrase-coding-system, epg-debug): Remove unneeded :group parameter.
* Update copyright year to 2018Paul Eggert2018-01-01
| | | | Run admin/update-copyright.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-13
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Remove custom version parsing from epg-config.el (Bug#27963)Noam Postavsky2017-08-17
| | | | | | * lisp/epg-config.el (epg-config--compare-version) (epg-config--parse-version): Remove. (epg-check-configuration): Use `version<=' instead.
* Remove trivial duplication in epg-configGlenn Morris2017-03-11
| | | | | * lisp/epg-config.el (epg-config--program-alist): Use epg-gpg-minimum-version.
* Small epg-find-configuration improvementGlenn Morris2017-03-11
| | | | | * lisp/epg-config.el (epg-find-configuration): Handle epg-gpg-program customized but not saved. (Bug#25947)
* Merge from origin/emacs-25Paul Eggert2017-01-01
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-31
| | | | | | | | Run admin/update-copyright.
| * Revert "epg: Add a way to detect gpg1 executable for tests"Daiki Ueno2016-05-20
| | | | | | | | This reverts commit d4ae6d7033b34e8b75c59aaf1584131e439ef2d5.
| * epg: Add a way to detect gpg1 executable for testsDaiki Ueno2016-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug#23561. * test/automated/epg-tests.el (epg-tests-program-alist-for-passphrase-callback): New constant. (epg-tests-find-usable-gpg-configuration): New function, renamed from `epg-tests-gpg-usable'. All callers changed. (epg-tests-gpg-usable): Remove. * lisp/epg-config.el (epg-config--program-alist): Factor out constructor element to... (epg-config--configuration-constructor-alist): ...here. (epg-find-configuration): Rename FORCE argument to NO-CACHE, and add PROGRAM-ALIST argument.
* | Improve doc string of epg-*-programDaiki Ueno2016-08-19
| | | | | | | | | | * lisp/epg-config.el (epg-gpg-program, epg-gpgsm-program): Suggest to use Customize when setting. (Bug#24229)
* | epg: Add a way to detect gpg1 executable for testsDaiki Ueno2016-05-20
|/ | | | | | | | | | | | | | | | | Fixes bug#23561. * test/automated/epg-tests.el (epg-tests-program-alist-for-passphrase-callback): New constant. (epg-tests-find-usable-gpg-configuration): New function, renamed from `epg-tests-gpg-usable'. All callers changed. (epg-tests-gpg-usable): Remove. * lisp/epg-config.el (epg-config--program-alist): Factor out constructor element to... (epg-config--configuration-constructor-alist): ...here. (epg-find-configuration): Rename FORCE argument to NO-CACHE, and add PROGRAM-ALIST argument.
* Naming fix for consistencyDaiki Ueno2016-02-21
| | | | | | * lisp/epg-config.el (epg-find-configuration): Rename from `epg-configuration-find' to be consistent with other epg-* functions. Change all callers.
* Prefer customized value for GnuPG executableDaiki Ueno2016-02-21
| | | | | * lisp/epg-config.el (epg-configuration-find): Don't check GPG configuration if it is already set with custom. (Bug#22747)
* Make GnuPG version check robusterDaiki Ueno2016-02-17
| | | | | | | | | | | | | | | | We changed the default gpg program to "gpg2" from "gpg" in the commit f93d669a16bd3cb3f43f0c8cfd22fe18b627a6a1. However, there are two maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0 series. Check the actual version of "gpg2" at run time, and properly divert to "gpg" if necessary. * lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'. (epg-config--program-alist): New variable. (epg--configurations): New variable. (epg-configuration-find): New function. (epg-config--make-gpg-configuration): New function. (epg-config--make-gpgsm-configuration): New function. (epg-configuration): Mark as obsolete. * lisp/epg.el (epg-context): Use `epg-configuration-find'.
* Default to gpg2 instead of gpgLars Ingebrigtsen2016-02-07
| | | | | | * lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if it exists. This fixes many problems with using the GPG authentication agent.
* Add some missing version tags.Glenn Morris2016-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/electric.el (electric-quote-comment) (electric-quote-string, electric-quote-paragraph): * lisp/epg-config.el (epg-gpgconf-program): * lisp/rect.el (rectangle-preview): * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors): * lisp/emacs-lisp/package.el (package-selected-packages) (package-hidden-regexps): * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list): * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies): * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers) (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self) (mml-smime-encrypt-to-self, mml2015-sign-with-sender) (mml-smime-sign-with-sender, mml2015-always-trust) (mml-secure-fail-when-key-problem, mml-secure-key-preferences): * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer) (browse-url-conkeror-arguments): * lisp/net/newst-reader.el (newsticker-download-logos): * lisp/progmodes/gud.el (gud-guiler-command-name): * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point): * lisp/progmodes/project.el (project-vc): * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose) (python-shell-remote-exec-path, python-shell-first-prompt-hook) (python-shell-completion-native-disabled-interpreters) (python-shell-completion-native-enable) (python-shell-completion-native-output-timeout) (python-shell-completion-native-try-output-timeout): * lisp/progmodes/xref.el (xref): * lisp/term/screen.el (xterm-screen-extra-capabilities): * lisp/term/xterm.el (xterm-max-cut-length): Add missing version tags.
* Update copyright year to 2016Paul Eggert2016-01-01
| | | | Run admin/update-copyright.
* epg: Automatically start pinentry serverDaiki Ueno2015-07-16
| | | | | | * epg-config.el (epg-gpgconf-program): New variable. * epg.el (epg--start): Call `pinentry-start' if allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
* Update copyright year to 2015Paul Eggert2015-01-01
| | | | Run admin/update-copyright.
* * lisp/epg-config.el (epg-gpg-program): Use the plain program names ratherStefan Monnier2014-09-27
| | | | than their absolute file name.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-01
|
* Update copyright notices for 2013.Paul Eggert2013-01-01
|
* Tweaks to Customize interface. Set custom-reset-button-menu to t.Chong Yidong2012-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-edit.el (custom-commands, custom-reset-menu) (Custom-reset-standard): Tweak labels. (custom-reset-button-menu): Change default to t. (custom-buffer-create-internal): For the custom-reset-button-menu case, put the revert button first. (custom-group-subtitle): New face. (custom-group-value-create): Align docstring to a specific column. * wid-edit.el (widget-documentation-link-add): Don't handle indentation in this function. (widget-documentation-string-indent-to): New function. (widget-documentation-string-value-create): Use it. * autorevert.el (auto-revert): * epg-config.el (epg): * ibuffer.el (ibuffer): * mpc.el (mpc): * ses.el (ses): * eshell/eshell.el (eshell): * net/ange-ftp.el (ange-ftp): * progmodes/ebnf2ps.el (postscript): * progmodes/flymake.el (flymake): * progmodes/prolog.el (prolog): * progmodes/verilog-mode.el (verilog-mode): * progmodes/which-func.el (which-func): * textmodes/picture.el (picture): * textmodes/tildify.el (tildify): * vc/ediff.el (ediff): Tweak defgroups to improve presentation in customization buffers.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-05
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-24
|
* Nuke arch-tags.Glenn Morris2011-01-15
|