INTERNAL_ERROR

JexMcByte <[email protected]> Wed, 1 Aug 2012 09:46:15 -0700 (PDT)
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
When the keypair is gnerated on the device I can't export the private key
(for backup) as expected.

If I create it outside the device I was unable to import it on the device,
tryed several ways, each with different problems. (Still working on that)

Then I created it using openssl, imported usig the token tool, it showed ok
on the token and on certificate tool on windows.

But cryptGetPrivateKey aborts with INTERNAL_ERROR on device\pkcs11_rd.c line
146.

criptDeviceOpen // ok
cryptSetAttribute for CRYPT_DEVINFO_AUTHENT_USER // ok
cryptGetCAItem // ok
cryptGetPrivateKey // asserts with the erro explained above.

I've attached the script used to create the certificate

http://old.nabble.com/file/p34241636/opensslgen.txt opensslgen.txt 

Jacques

-- 
View this message in context: http://old.nabble.com/INTERNAL_ERROR-tp34241636p34241636.html
Sent from the Cryptlib mailing list archive at Nabble.com.


_______________________________________________
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.