Home GnuPG
Diffusion Scute a467acce6488

Do not test for GnuPG version and use gpgconf to find it.

Description

Do not test for GnuPG version and use gpgconf to find it.

* configure.ac: Remove all tests for GPGSM and GPG_CONNECT_AGENT.
* src/agent.c (agent_connect): Change to use gpgconf.
* src/get-path.c (get_gpg_connect_agent_path): Rename to ...
(get_gpgconf_path): this.
(get_bindir): New.
(get_gpgsm_path): Implement using get_bindir.

gpgconf is the suggested way to test for gnupg and to find properties
of the installation.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 25 2019, 12:43 PM
Parents
rS4fc9da05d490: Implement decryption.
Branches
Unknown
Tags
Unknown