🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Russell Sat, 22 May 2021 13:50
Checking PGP/GnuPG Signatures in tin
#264964
Author: Russell
Date: Sat, 22 May 2021 13:50
15 lines
1372 bytes
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
Re: Checking PGP/GnuPG Signatures in tin
#264974
Author: Urs Janßen
Date: Sun, 23 May 2021 00:41
19 lines
1599 bytes
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.
Re: Checking PGP/GnuPG Signatures in tin
#264967
Author: Russell
Date: Mon, 24 May 2021 00:04
34 lines
2359 bytes
Urs Janßen <urs@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
Re: Checking PGP/GnuPG Signatures in tin
#264980
Author: Urs Janßen
Date: Tue, 25 May 2021 21:07
20 lines
1606 bytes
Russell wrote:
> If the developer of tin doesn't have it working, I guess it just doesn't
> work.

well, I don't do gpg, so that's _low_ on the list.
the note about RFC 2015 in TODO is ~20 years old.

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

as a last resort you could either pipe '|' the article to metamutt from the
pager (that's what I would do; I have metamail_prog left blank so tin does
the (other) mime handling internally).

a copy of metamutt (which of course requires a propperly configured mutt)
comes with the tin source, upstream is
<https://www.spinnaker.de/mutt/metamutt>.

or set metamail_prog (from 'M'enu / tinrc) to metamutt (I don't like that
(at least not without ask_for_metamail=ON), but YMMV).
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads