Checking PGP/GnuPG Signatures in tin

0 views
Skip to first unread message

Russell

unread,
May 22, 2021, 9:51:01 AMMay 22
to
I see a lot of people signing their posts with PGP and GnuPG, but when I
view the post, I just see the signature as an attachment. I can view the
attachments with 'V' and open the signature block, but I can't figure
out how to check the validity of the signed message. I've added the
public key to my gpg keyring and tried several variations of a mailcap
entry, but nothing works. Tin hooks the line in mailcap, but I get an
error that the command failed. I think I'm on the right track, but I
can't figure out the details since tin doesn't have a lot of
documentation.

Anyway, do any of you have this working in tin? How?

--
rust
0x68caecc97f6a90122e51c0692c88d9cb6b58a3dc

Russell

unread,
May 23, 2021, 8:04:15 PMMay 23
to
Urs Janßen <u...@buil.tin.org> wrote:
> In <s8b282$opl$1...@gioia.aioe.org> on Sa, 22 Mai 2021 15:50:59, Russell wrote:
>> entry, but nothing works. Tin hooks the line in mailcap, but I get an
>> error that the command failed. I think I'm on the right track, but I
>> can't figure out the details since tin doesn't have a lot of
>> documentation.
>
> inline pgp/gpg (none mime) should work via ^G when viewing an article
> (and pgp/gpg was propperly detected/configured at compile time).
>
> when mime is involved 'V' and mailcap should work
>
> this is from my ~/.mailcap which I havn't touched for ages, can't say if
> that still works, I don't do gpg.
>
> application/pgp-signature;\
> NAME=%s \&\& DATA=`echo $NAME|sed 's,\\(unknown-00.\\)\\.pgp,\\1.asc,'|tr '123456789' '012345678'` \&\& gpg --verify %s $DATA; needsterminal
>
> and for headersigning (like in control messages) '|'"pgpverify" should do
> it.

That didn't work. I guess it just can't be done. At least I don't
understand enough to get it to work. I almost never see anyone using
inline signatures and I don't know that I've ever seen header signing.
If the developer of tin doesn't have it working, I guess it just doesn't
work. I'm not really a programmer or I'd look into it, but I wouldn't
even know where to start.

Thank you for your suggestions. Please followup if you figure it out.
I'll do the same if I stumble onto a solution. lol!

--
rust
0x890FAC3B7DD734A435AB7624FD3E8AFDB2EE6EF0
Reply all
Reply to author
Forward
0 new messages