Date: Sat, 09 Dec 1995 21:40:22 +0200 From: Mark Murray <mark@grondar.za> To: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su> Cc: bugs@freebsd.org Subject: Re: PGP has expired! Message-ID: <199512091940.VAA01059@grumble.grondar.za>
next in thread | raw e-mail | index | archive | help
=?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 <time.h> #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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512091940.VAA01059>