Re: [tin-users] pgp setup and posts
In Luc Lan <swimm3r@gmx.com> wrote:
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--r-- 1 luc luc 1236 Jan 5 09:43 pubring.kbx
looks ok
So, pubring.kbx is present and it is readable by all. But something is fishy with ~/.gnupg dir permissions.
to get a more detailed error message (for 2 secs on screen and captured in ~/.tin/$NNTPSERVER/msglog), e.g.: "Can't open .../pubring.kbx: Error: No such file or directory" you could apply the patch below. --- tin-2.6.6/src/pgp.c 2025-12-06 00:27:07.857763869 +0100 +++ tin-2.6.6/src/pgp.c 2026-01-05 09:31:02.598077613 +0100 @@ -347,6 +347,10 @@ fclose(fp); return TRUE; } + else + perror_message(_(txt_cannot_open), keyring); +#else +# error "HAVE_GPG not defined" #endif /* HAVE_GPG */ joinpath(keyring, sizeof(keyring), pgp_data, PGP_PUBRING);
participants (1)
-
Urs Janßen