Article View: alt.privacy.anon-server
Article #280628Re: Ping Zax / merkinmuffley - mixmaster4096
From: Zax
Date: Sun, 06 Mar 2016 19:12
Date: Sun, 06 Mar 2016 19:12
80 lines
3380 bytes
3380 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sun, 6 Mar 2016 15:50:27 +0100 (CET), Nomen Nescio wrote in
Message-Id: <a759f89bd7e7aad1f7a11e0a3694f1d6@dizum.com>:
>
> Correction for 'Key is expired:' error. This should stop the new
> key generation 5 day hiatus.
>
> https://github.com/merkinmuffley/mixmaster4096/archive/master.zip
> The code in \mixmaster4096-master\Src\crypto.c needs correcting:
>
> Line 394 needs to be changed from
>
> fprintf(f, "%s\nCreated: %s\n", begin_key, line);
> to
> fprintf(f, "%s\ncreated: %s\n", begin_key, line);
>
> and line 404 needs to be changed from
>
> fprintf(f, "Expires: %s\n", line);
> to
> fprintf(f, "expires: %s\n", line);
>
> Delete the pre-compiled file crypto.o before compiling.
Hi,
Please can you offer some explanation as to how this fixes the key
expiration issue?
The Created and Expired lines are read in keymgt.c using this clause:-
if (strileft(line, "created:")) {
created = parse_yearmonthday(strchr(line, ':')+1);
if (created == -1)
created = 0;
} else if (strileft(line, "expires:")) {
expires = parse_yearmonthday(strchr(line, ':')+1);
if (expires == -1)
expires = 0;
}
The strileft function contains:
int strileft(const char *string, const char *keyword)
{
register unsigned int i;
for (i = 0; keyword[i] != '\0'; i++)
if (tolower(string[i]) != tolower(keyword[i]))
return 0;
return 1;
}
The tolower() function should be case insensitive.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJW3IELAAoJEC3jHKG+PvqnIdwQAI8J9aIZtlWoAIqUwnaPl9/x
mu1hVchlSzzkXtcJ62/pxL9BTFdS9zJi3hJY/meDF7z2SQ/7LeNMnoMYrsxGdq+b
cooS8r/NsWdRaZ0E5IdfjPEKrmg+eEQItrPvUCOnrXBCTuZC5+k33KdByAFrKgIy
+LtHV2zn13v9m4kCyjJzYlfNn7+qYgw1STmutbrrvos/9u9jfRG5ZopZ/GnQJs0V
fRpvSFdso9iP9+c9mrz0V1HIk1JDYqe7qW5wKWVDVrKHzM6R2CcVrzwr0TSK/fvK
hC56YRSUH9io/oq+scTsRNJ0JEt/EY9c00N7Yb3XLmyar+eHehQb1T5LfvsyTr1V
Lijy7GjA1HhUUwor3+Uo3FJUl5rKOvYPFFoeFiLWIaTlJXrxOOnI1ucA1jKptK04
68zyAwCKqAMNZJH+vR+zmZbouE7h9ynncbT5+AfXYW6vKRKfABULO1RPDQCCgLf5
JlnOPoNkXgiRn/arQU+bv6XJZfImrEpziPLdqQZGiEGsjdPuxHJ9TrzvakMWhKPw
bR98IA64UyLOd1jTD2ihQ3oRRptHN5Wa9x5pANnw76k9blHOocxC2K+IdaWbG4Re
0Ci/syc3L8dmHMkvNx8AZCb/bQBTxQxyz4G3ld2KwLHp9kcF2PR6zcjHJp5eHUTs
of6phqglq10M4dFxl2nf
=NQux
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/BE3EFAA7 created: 2014-11-14 expires: 2016-11-13 usage: S
Technical Details
Message-ID:
<slrnndp08b.qfp.admin@fleegle.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<a8b251375d616a0b2d33ebb1dbb8718f@foto.nl1.torservers.net> <a759f89bd7e7aad1f7a11e0a3694f1d6@dizum.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnndp08b.qfp.admin@fleegle.mixmin.net> Subject: Re: Ping Zax / merkinmuffley - mixmaster4096 Date: Sun, 06 Mar 2016 19:12:11 +0000 From: Zax <admin@mixmin.net> References: <a8b251375d616a0b2d33ebb1dbb8718f@foto.nl1.torservers.net> <a759f89bd7e7aad1f7a11e0a3694f1d6@dizum.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Sun, 6 Mar 2016 19:12:11 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="d610aacde1647b7853f6ead2ac712d35b3a902cc"; User-Agent: slrn/pre1.0.3-6 (Linux) Lines: 79