🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #184260

Re: How long is a signature valid?

#184260
From: Thomas J. Boschloo
Date: Sun, 10 Apr 2005 13:14
40 lines
2579 bytes
-----BEGIN PGP SIGNED MESSAGE-----

BiKiKii Admin wrote:
> On Fri, 08 Apr 2005, Igenlode wrote:
> 
>>>How long does the nym software hold a PGP signature to be valid?
>>>
> 
> 
> 7 days +/- 1 day

I should have know better than to try to correct a Bikikii Admin post, I
downloaded the nymserver code from
ftp://ftp.zedz.net/pub/crypto/remailer/nymservers/nym.alias.net.txt
and there seems to be a replay cache that has code like this:

##
    ($err =~ /^Signature made (\d{4})\/(\d{2})\/(\d{2}) /m) || return (-1);
    my $sigday = &sumtime ($1 - 1900, $2 - 1, $3 + 0);
    my $today = &sumtime ((gmtime)[5,4,3]);
    ($today >= $sigday + $SIGDAYS) && return (1);
    ($sigday > $today + 1)
&& &fatal (65, "Invalid date on PGP signature\n");
##

So posts with PGP signatures older than 7 days are dropped:
my $SIGDAYS = 7; # Number of days a digital signature is good for

Thomas
- --
"Nothing is true. Everything is permitted" - W.S. Burroughs, Naked Lunch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQB5AwUBQlkmvAEP2l8iXKAJAQGqAQMeKvyowBo2RmpkHVPqdUWPcjWxE4CEPaJV
0NftwoREeCCw/7p7+EeIxhHRy/uttBbFvaivHHS80YBlKZ9yBWnLiR7BqhX+CM49
lggTBJm4gcOIdjtWigJNEtNIsVIqaHURmtQIVw==
=6D3Q
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <4259275c$0$777$3a628fcd@reader20.nntp.hccnet.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!reader.nntp.hccnet.nl!not-for-mail
References: <20050410031229.4102.qmail@riot.eu.org> <D2F6F071B@bikikii.ath.cx>

Show Full Headers
Complete Article Headers
Message-ID: <4259275c$0$777$3a628fcd@reader20.nntp.hccnet.nl>
Subject: Re: How long is a signature valid?
Date: Sun, 10 Apr 2005 15:14:36 +0200
From: "Thomas J. Boschloo" <nospam@hccnet.nl.invalid>
References: <20050410031229.4102.qmail@riot.eu.org> <D2F6F071B@bikikii.ath.cx>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!reader.nntp.hccnet.nl!not-for-mail
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: alt.privacy.anon-server
In-Reply-To: <D2F6F071B@bikikii.ath.cx>
X-Enigmail-Version: 0.91.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Lines: 40
Organization: HCCnet Nieuwsgebruiker
NNTP-Posting-Date: 10 Apr 2005 13:17:16 GMT
NNTP-Posting-Host: 62.251.43.104
X-Trace: 1113139036 reader20.nntp.hccnet.nl 777 62.251.43.104:1187
X-Complaints-To: abuse@hccnet.nl