Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"A car is just a big purse on wheels." -- Johanna Reynolds


computers / news.software.readers / Checking PGP/GnuPG Signatures in tin

SubjectAuthor
* Checking PGP/GnuPG Signatures in tinRussell
`* Re: Checking PGP/GnuPG Signatures in tinUrs Janßen
 `* Re: Checking PGP/GnuPG Signatures in tinRussell
  `- Re: Checking PGP/GnuPG Signatures in tinUrs Janßen

1
Checking PGP/GnuPG Signatures in tin

<s8b282$opl$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=449&group=news.software.readers#449

  copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!aioe.org!yOKtEt/+TrHtdyDN3pco6A.user.gioia.aioe.org.POSTED!not-for-mail
From: rustbuck...@pm.me (Russell)
Newsgroups: news.software.readers
Subject: Checking PGP/GnuPG Signatures in tin
Date: Sat, 22 May 2021 13:50:59 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <s8b282$opl$1@gioia.aioe.org>
NNTP-Posting-Host: yOKtEt/+TrHtdyDN3pco6A.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.12.4-arch1-2 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Russell - Sat, 22 May 2021 13:50 UTC

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

<s8c8cc$h19$1@nntp.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=451&group=news.software.readers#451

  copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.cgarbs.de!nntp.de!.POSTED.akk21-int.akk.kit.edu!not-for-mail
From: urs...@buil.tin.org (Urs Janßen)
Newsgroups: news.software.readers
Subject: Re: Checking PGP/GnuPG Signatures in tin
Date: Sun, 23 May 2021 00:41:48 -0000 (UTC)
Organization: tin.org
Archive: no
Message-ID: <s8c8cc$h19$1@nntp.de>
References: <s8b282$opl$1@gioia.aioe.org>
Injection-Date: Sun, 23 May 2021 00:41:48 -0000 (UTC)
Injection-Info: nntp.de; posting-host="akk21-int.akk.kit.edu:2a00:1398:5:f602:cafe:cafe:cafe:21";
logging-data="17449"; mail-complaints-to="abuse@nntp.de"
User-Agent: tin/2.6.0-20210414 ("Glen Albyn") (Linux/4.19.0-14-amd64 (x86_64))
Cancel-Lock: sha1:DwBNyxUmXQK6H2f82kmvz1cQsWA=
X-No-Archive: yes
X-No-HTML: yes
 by: Urs Janßen - Sun, 23 May 2021 00:41 UTC

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

<s8eqhp$1vdm$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=455&group=news.software.readers#455

  copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!aioe.org!yOKtEt/+TrHtdyDN3pco6A.user.gioia.aioe.org.POSTED!not-for-mail
From: rustbuck...@pm.me (Russell)
Newsgroups: news.software.readers
Subject: Re: Checking PGP/GnuPG Signatures in tin
Date: Mon, 24 May 2021 00:04:09 +0000 (UTC)
Organization: Aioe.org NNTP Server
Lines: 34
Message-ID: <s8eqhp$1vdm$1@gioia.aioe.org>
References: <s8b282$opl$1@gioia.aioe.org> <s8c8cc$h19$1@nntp.de>
NNTP-Posting-Host: yOKtEt/+TrHtdyDN3pco6A.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.12.5-arch1-1 (x86_64))
X-Notice: Filtered by postfilter v. 0.9.2
 by: Russell - Mon, 24 May 2021 00:04 UTC

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

<s8jou1$7fc$1@nntp.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=466&group=news.software.readers#466

  copy link   Newsgroups: news.software.readers
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.cgarbs.de!nntp.de!.POSTED.akk21-int.akk.kit.edu!not-for-mail
From: urs...@buil.tin.org (Urs Janßen)
Newsgroups: news.software.readers
Subject: Re: Checking PGP/GnuPG Signatures in tin
Date: Tue, 25 May 2021 21:07:13 -0000 (UTC)
Organization: tin.org
Archive: no
Message-ID: <s8jou1$7fc$1@nntp.de>
References: <s8b282$opl$1@gioia.aioe.org> <s8c8cc$h19$1@nntp.de> <s8eqhp$1vdm$1@gioia.aioe.org>
Injection-Date: Tue, 25 May 2021 21:07:13 -0000 (UTC)
Injection-Info: nntp.de; posting-host="akk21-int.akk.kit.edu:2a00:1398:5:f602:cafe:cafe:cafe:21";
logging-data="7660"; mail-complaints-to="abuse@nntp.de"
User-Agent: tin/2.6.0-20210414 ("Glen Albyn") (Linux/4.19.0-14-amd64 (x86_64))
Cancel-Lock: sha1:SevK1ytBNaNjKAQdopSLyDsOxNQ=
X-No-Archive: yes
X-No-HTML: yes
 by: Urs Janßen - Tue, 25 May 2021 21:07 UTC

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).

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor