[tin-users] pgp setup and posts

Luc Lan swimm3r at gmx.com
Mon Jan 5 08:57:13 CET 2026


On Sun, Jan 04, 2026 at 07:55:58PM +0100, Urs Janßen wrote:
> On Sun, Jan 04, 2026 at 06:57:27PM +0200, Luc Lan wrote:
> > Now I discovered that gnupg is configured as "use-keyboxd" (in
> > ~/.gnupg/common.conf).
> > I think thats why the pubring.kbx is missing.
> 
> *shrug* I don't know anything about keyboxd.
> 
> > But why tin is looking only for .gpg?
> 
> that's not what the code does. tin tries
> 	${GNUPGHOME:-"${PGPPATH:-"$HOME"}"}/.gnupg/pubring.kbx
> first and if that is not readable (wrong permissions or not present)
> 	${GNUPGHOME:-"${PGPPATH:-"$HOME"}"}/.gnupg/pubring.gpg
> and if that also fails an error message with the last filename tried is
> issued.
> 
> _______________________________________________
> tin-users mailing list
> tin-users at tin.org
> http://lists.tin.org/cgi-bin/mailman/listinfo/tin-users

The error message is still displayed.
The env check:
	$ echo $GNUPGHOME

	$ echo $PGPPATH

	$ echo $HOME
	/home/luc

So, both GNUPGHOME and PGPPATH are not defined, so it will go with HOME.

The permission check:
	~/.gnupg$ ls -la
	total 48
	drwx------  6 luc luc 4096 Jan  5 09:46 .
	drwx------ 44 luc luc 4096 Jan  5 09:47 ..
	-rw-r-----  1 luc luc   13 Jan  5 09:38 common.conf
	drwx------  2 luc luc 4096 Aug 15 17:13 crls.d
	-rw-r--r--  1 luc luc   19 Jan  5 09:42 gpg.conf
	drwx------  2 luc luc 4096 Jan  5 09:43 openpgp-revocs.d
	-rw-r--r--  1 luc luc  210 Jan  4 15:46 otrust.lst
	drwx------  2 luc luc 4096 Jan  5 09:43 private-keys-v1.d
	drwxr-x---  2 luc luc 4096 Jan  4 21:02 public-keys.d
	-rw-r--r--  1 luc luc 1236 Jan  5 09:43 pubring.kbx
	-rw-------  1 luc luc  600 Jan  4 15:00 random_seed
	-rw-------  1 luc luc 1400 Jan  5 09:43 trustdb.gpg

So, pubring.kbx is present and it is readable by all.

But something is fishy with ~/.gnupg dir permissions.




More information about the tin-users mailing list