[tin-users] pgp setup and posts
Urs Janßen
urs at tin.org
Sun Jan 4 17:42:16 CET 2026
In Luc Lan <swimm3r at gmx.com> wrote:
> gpg --version | head -n 2
> gpg (GnuPG) 2.4.9
> libgcrypt 1.11.2
> tin -V 2>&1 | grep GP
> +HAVE_ISPELL -HAVE_METAMAIL -HAVE_PGP -HAVE_PGPK +HAVE_GPG
looks ok, but somehow pgp.c:pgp_available() fails.
it can't read neither
${GNUPGHOME:-"${PGPPATH:-"$HOME"}"}/.gnupg/pubring.kbx
nor
${GNUPGHOME:-"${PGPPATH:-"$HOME"}"}/.gnupg/pubring.gpg
(tired in that order).
as your quoted error messages says:
"... can't open /home/user/.gnupg/pubring.gpg"
^^^^^
which looks a bit uncommon (username = "user"?) I guess you have
set $GNUPGHOME (or $PGPPATH) to "/home/user/" but it should be left
blank (if the pubring is below ~/.gnupg/ and your username is not "user").
More information about the tin-users
mailing list