Re: GPGME 1.23.1

Denis Corbin <[email protected]> Sun, 5 Nov 2023 21:56:13 +0100
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 05/11/2023 18:09, Marcin Wieczorek wrote:
> Hello,

Hello,

> 
> First of all thank you for creating and supporting such a technological
> marvel.

Thanks,

> 
> I am using dar with gpg support. It used to work just fine before.
> Now I'm getting this message:
>> Aborting program. The requested operation needs a feature that has
>> been disabled at compilation time: Asymetric Strong encryption
>> algorithms using GPGME
> 
> Fine, I tried to recompile (2.7.13):
> 
> checking for gpgme-config... no
> checking for GPGME - version >= 1.2.0... no
> configure: WARNING: Public key support (GPGME linking) requires version greater than 1.2.0
> ...
>     Public key cipher support  : NO

you should find in the config.log file generated by the configure script 
the reason why the configure script failed to activate public key cipher 
support.

> 
> My package manager versions (distro is Arch):
> $ pacman -Qi gpgme
> Name            : gpgme
> Version         : 1.23.1-1
> $ pacman -Qi libgcrypt
> Name            : libgcrypt
> Version         : 1.10.2-1
> $ pacman -Qi dar
> Name            : dar
> Version         : 2.7.13-1
> 
> One thing that comes to mind is that configure is using (pseudocode
> warning) version[2] > 2 as comparison, but that would mean the issue
> would exist for a long time.

there is no risk here as the version check is done by gpgme itself by 
mean of gpgme_check_version() function [1]

and here the check is done at run time not at compilation time, so it's 
unlikely the cause of the problem.

> 
> I'm hoping you can help me with getting dar up and running again.

Sure. Double check you have all the prerequisites here:

http://dar.linux.free.fr/doc/from_sources.html

For libraries, you should have installed also the included files. Debian 
makes sperarated packages for them, those ending with *-dev, don't know 
about Arch. Anyway, this should show in the config.log generated file

> 
> Best regards,
> Marcin Wieczorek
> 
> 

Cheers,
Denis

[1] 
https://www.gnupg.org/documentation/manuals/gpgme/Library-Version-Check.html
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEVeSEpqXFvH9T9/cuqLFBYNNrO6cFAmVIAW0FAwAAAAAACgkQqLFBYNNrO6c2
FxAAgWbTtJ1s6rvPRbc/GOII0rT+HdjwrzeTErTs2vs8/oGCFyPe6kH48c2y+CU2YS7DhQK5WDgh
6JXhV7raQ8J1kafsSNI1F6pqACtAEqcBaBHnEjUxaAQ9c3fcrSTOkH/hkGnUXkO90S0cg8PKkdKR
h0FE0oyjr9R0voLty0t4DYb+hTUQga02U8SZzNcwexx1kOQAbGFs6xADh4HlFAcT2ECbjCq/kX9n
KaBAkX0tBZMaKpxwBvDYbrJoTBZl4vipueMHG1XHE3/7YUjcaitDfTxgBVrhW9HsUspQo8vyaC+k
nuBUXQl/d6aEx1GA4QhvqjCFgalBN+DGkKbktjH2eLrd8xdbR/fFMHrMfEK13x6z4j9K4AffJaki
d2NjLiUFzikpEyznaCD4lRLSaoR+5UpkIEuF5dihH7VhAWEOG99klBqI1hvi+Tjj178lqcPcs5ss
EAbUDr9UhIJY4S4102tZMRSudDszAeDilvN0CjoRzYxbwd9iWlFFJ0Qjlop3EmCj1Vaeg1H3e7qO
XO7j+TCgxV4ybSDzr0Vv8eDglt7a/mKhD4StpSmB9QssS6EJIRWPmUsiNlyrdejBa5yr6VF2w/GI
oQcq60el/42JjYXfN+w/hWUZpsDDKX5LXMs0OpcSOV6kAzRUWeWRlLlkOpnN8XEitlIusjVlK/oQ
Wec=
=Madq
-----END PGP SIGNATURE-----