Target: JB 4.1 latest SDK/Emulator

I successfully imported (through the security menu) a P12 with an ECSDA cert 
and key using the NIST P-256 curve.
It has worked in both Java and .NET installations.

Using Nikolay's https://github.com/nelenkov/keystore-test I get an error when 
locating the key:

10-10 10:47:28.524: V/OpenSSL-keystore(617): keystore_loadkey(0x2a133260, 
"1000_USRPKEY_ecdsa", 0x0, 0x0)
10-10 10:47:28.554: I/Choreographer(617): Skipped 31 frames!  The application 
may be doing too much work on its main thread.
10-10 10:47:28.824: W/keystore_client(617): Error from keystore: 4
10-10 10:47:28.854: I/Choreographer(617): Skipped 39 frames!  The application 
may be doing too much work on its main thread.
10-10 10:47:28.874: V/OpenSSL-keystore(617): Cannot get public key for 
1000_USRPKEY_ecdsa
10-10 10:47:29.514: E/KeystoreTest(617): Error using private key
10-10 10:47:29.514: E/KeystoreTest(617): android.security.KeyChainException: 
java.lang.RuntimeException: error:26096080:engine 
routines:ENGINE_load_private_key:failed loading private key
10-10 10:47:29.514: E/KeystoreTest(617):     at 
android.security.KeyChain.getPrivateKey(KeyChain.java:319)
10-10 10:47:29.514: E/KeystoreTest(617):     at 
org.nick.keystoretest.KeystoreTest$2$1.doInBackground(KeystoreTest.java:199)
10-10 10:47:29.514: E/KeystoreTest(617):     at 
org.nick.keystoretest.KeystoreTest$2$1.doInBackground(KeystoreTest.java:1)

Any clues?

Anders

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to