From owner-freebsd-bugs Sat Dec 9 11:40:44 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA09282 for bugs-outgoing; Sat, 9 Dec 1995 11:40:44 -0800 (PST) Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA09275 for ; Sat, 9 Dec 1995 11:40:35 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.6.12/8.6.9) with ESMTP id VAA01347; Sat, 9 Dec 1995 21:40:24 +0200 Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.7.2/8.6.9) with SMTP id VAA01059; Sat, 9 Dec 1995 21:40:23 +0200 (SAT) Message-Id: <199512091940.VAA01059@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host mark@localhost [127.0.0.1] didn't use HELO protocol To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) cc: bugs@freebsd.org Subject: Re: PGP has expired! Date: Sat, 09 Dec 1995 21:40:22 +0200 From: Mark Murray Sender: owner-bugs@freebsd.org Precedence: bulk =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote: > >> Does you have the same checksum? > >> > >> MD5 (pgp263i-dev.tgz) = 2e8b5d57b1b5d4512b0bd0baed762bc0 > > >MD5 (pgp263i-dev.tgz) = 2e8b5d57b1b5d4512b0bd0baed762bc0 > > >Absolutely! I have had to hack this port to make it work. > > ??? Please stop for a while! I just build it and run as 'pgp' > and it don't say expired message. Do you any try special options? Nope. Just ran it "as is". I had to fiddle it to make it run here. (Don't worry - I won't commit anything!) Look at this bit from pgp.c: #ifdef TEMP_VERSION /* temporary experimental version of PGP */ #include #define CREATION_DATE 0x3080F7C0ul /* CREATION_DATE is Sun Oct 15, 1995 1200 hours UTC */ #define LIFESPAN ((unsigned long) 60L * (unsigned long) 86400L) /* LIFESPAN is 60 days */ /* If this is an experimental version of PGP, cut its life short */ void check_expiration_date(void) { if (get_timestamp(NULL) > (CREATION_DATE + LIFESPAN)) { fprintf(stderr, "\n\007This experimental version of PGP has expired.\n"); exit(-1); /* error exit */ } } /* check_expiration_date */ #else /* no expiration date */ #define check_expiration_date() /* null statement */ #endif /* TEMP_VERSION */ This expiry code is what is doing the job, but Oct 15, 1995 +60 days is approx mid December. This is where the problem is occurring, though. I just undef'ed TEMP_VERSION here to make it work. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grondar.za for PGP key