Re: Old cryptlib releases

Peter Gutmann <[email protected]> Sun, 14 Dec 2014 22:36:51 +1300
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Frederik Kriewitz <[email protected]> writes:

>using cryptlib 3.4.2 I've some trouble opening p15 files which were generated
>using release 3.1.1. When calling GetPrivateKey() it fails with error code:
>-26 (Private key components failed validity check) in case a 1024 bit RSA key
>was used. For 2048 Bit keys it's working fine. I would like to test if I can
>open them using the old version. But I can't find any download archive. Is it
>still available somewhere?

Is that really cryptlib 3.1.x from 11 years ago?  That's been out of support for
years, it looks like there's an old copy of 3.1 b5 at:

ftp://rinet.tucows.com/pub/FreeBSD-Archive/ports/i386/packages-5.2-release/All/cryptlib-3.1.b5.tbz

but if the key was generated with 3.1 it implies it's more than a decade old.
If you want to read the file with 3.4.x you could put a breakpoint in
keyset/pkcs15_getp.c, line 814, the call:

    status = krnlSendMessage( SYSTEM_OBJECT_HANDLE, IMESSAGE_DEV_IMPORT,
                              &mechanismInfo, MECHANISM_PRIVATEKEYWRAP );

and see where the error is coming from, with a key that old it's hard to tell
what the issue could be.

Peter.

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.