Files
Sander van Deijck 5e338b5dbf fwknop: switch GPG support to gnupg2
GnuPG 1.4 is being removed from the feed. Use gnupg2 for GPG support
instead. GPGME 2.x still works with either, but GnuPG 2 does all secret
key operations through gpg-agent, which is packaged in gnupg2-utils, so
depend on that as well.

While at it:
- fix fwknopd depending on the nonexistent FWKNOP_GPG symbol instead of
  FWKNOPD_GPG; it only got gnupg through libfko so far.
- pass --with-gpg=/usr/bin/gpg. Without it, configure looks for gpg on
  the build host, and libfko fails to build with GPG support if there
  is none.

With GnuPG 2, the GPGME passphrase callback libfko uses only works in
loopback pinentry mode, which libfko does not select. Passphrase-
protected keys therefore need "pinentry-mode loopback" in gpg.conf, or
a key without a passphrase together with GPG_ALLOW_NO_PW, as described
in fwknopd(8).

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
2026-10-23 20:52:28 +01:00
..
2026-10-23 20:52:28 +01:00
2026-10-23 20:52:28 +01:00