Re: Cryptlib fails to load a private key from an openpgp keyset

Lahiru Dissanayake <[email protected]> Mon, 8 Jul 2013 12:52:05 +0800
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <CAHeAcfDuTUPAam+f3i=YKt1mZg+pQiPJKf9Vt+-LCemUPJH2dA@mail.gmail.com>
Here you go. UserID and passphrase are both set to "test".


On Mon, Jul 8, 2013 at 11:01 AM, Peter Gutmann <[email protected]>wrote:

> Hi,
>
> >The key was generated by the Bouncy Castle library. We're probably not
> using
> >the latest version, so maybe this is fixed in newer versions. Kind of
> >difficult to verify this using testing though, since it only happens
> >occasionally. For now I'll just skip the validation in Cryptlib to get it
> >working.
>
> OK.  What I'll do for future releases is add some code to re-generate the
> RSA
> u value if it's invalid.
>
> Would it be possible to get a sample private key file generated that way
> (that
> produces the CRYPT_ERROR_INVALID result) with, say, password = "test",
> userID
> = "test"?  I can add that to the regression-test code to make sure that the
> workaround for the problem functions correctly.
>
> 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.
samplekey (application/octet-stream, 1.2 KB) - not displayed