🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #119599

Re: [slrn] Importing pgp keys

#119599
From: Emmanuele Bassi
Date: Sat, 01 Feb 2003 23:10
56 lines
3527 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* Bilbo <bilbono@spamnedlinux.nl> [2003-02-01 12:32]:

> When I use the verify function the macro seems to know this identifier... is
> there a way to let the import function know the identifier as well>

First, a little background on how gnupg.sl does work.

The `verify' function simply tells GnuPG to check the article in order
to verify its PGP/GPG signature against the *local* key database. That
is, if the key with which has been the article signed is known, and the
key is valid, then the article is verified (i.e.: it surely has been
sent from the sender; that's the whole point of having an article signed
with PGP/GnuPG).

The `import' function importa a key from a remote keyserver into the
local key database. In order to retrieve the correct key, you must
provide the correct key-id (in a fingerprint: the last two character
quartets, with no space, and an optional '0x' prefix).

So, when verifying the key, no keyid is necessary. On the other hand,
importing a key needs the keyid to be known.

+++

As a work around, since version 1.6.0 of gnupg.sl, I've added the
ability to use a (customisable) special header, 'X-PGP-KeyID'; when
importing a new key, my macro searches for that header, and if it founds
this header, the default keyid to import is the content of that header.

Unfortunately, there is no standard way of telling a news user agent
what keyid has been used to sign an article. MUAs that support MIME,
and the application/pgp MIME type, have the ability to retrieve the
keyid from the MIME type header. If (or when) MIME attachments are
supported by Usenet clients, signing or encrypting Usenet articles will
be done with application/pgp, and signing, verifying and importing will
be much easier to implement. But don't keep your hopes up, as a MIME
Usenet means HTML articles too... ;-)

Bye,
 Emmanuele.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+PFLYjszbj6QyD/QRApBOAJ9R2J0iCBQISROBT04o+Yi4eHSx7wCeORQZ
w5aOEoowh1Nxy9B8dxooR18=
=3Oyb
-----END PGP SIGNATURE-----

-- 
Emmanuele Bassi              [ http://digilander.iol.it/ebassi/slrn.html ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738  08BD 8ECC DB8F A432 0FF4
Technical Details
Message-ID: <slrnb3okmo.33s.zefram@wolverine.lohacker.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
References: <slrnb3nfim.88m.bilbono@bilbo.balings>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb3okmo.33s.zefram@wolverine.lohacker.net>
Subject: Re: [slrn] Importing pgp keys
Date: Sat, 01 Feb 2003 23:10:32 GMT
From: Emmanuele Bassi <zefram@wolverine.lohacker.home>
References: <slrnb3nfim.88m.bilbono@bilbo.balings>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
Newsgroups: news.software.readers
Lines: 55
Reply-To: Emmanuele Bassi <emmanuele.bassi@iol.it>
X-Face: &2.Q,Qgj{KA*q4G%p`*s`1f!hjGTi-9~Ju,L^d#P49tt}?jS(h@;s/K/]gc?bi-9=>%E\6#?o&[Kmng:@W+8W4y6dCuyl?L>k3i7D
User-Agent: slrn/0.9.7.4pl1-eb2 (Linux)
NNTP-Posting-Host: 151.29.203.243
X-Complaints-To: abuse@libero.it
X-Trace: twister2.libero.it 1044141032 151.29.203.243 (Sun, 02 Feb 2003 00:10:32 MET)
NNTP-Posting-Date: Sun, 02 Feb 2003 00:10:32 MET
Organization: [Infostrada]