Re: Problems with token and rsa and possible bug with cryptAddPrivateKey

Peter Gutmann <[email protected]> Fri, 27 Jul 2012 10:08:49 +1200
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
JexMcByte <[email protected]> writes:

>cryptLogin fails with INTERNAL_ERROR at cryptapi.c line 1872 The token has
>been  initialised using the provided tool.

I'm not sure what you're referring to here, there's no documented thing called
cryptLogin.  You need to read the section "Activating and Controlling
Cryptographic Devices" in the manual.

>Regarding the possible bug with cryptAddPrivateKey, where you able to
>simulate it ?

There's no bug, you haven't logged into the token (and, as I mentioned 
earlier, possibly not initialised it as described in the manual) so you can't 
perform any operations with it.

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.