Good evening mates,

I'm in a desperate need for a pkcs-15 der encoded private key. I read the
pkcs#15 spec in a sit and tried to edit, byte-per-byte a private key based
on my poor knowledge of ASN1. I don't have a SC reader. I want it generated
on a binary file.

I generated a rsa/2048 key using openssl. Then I created a pkcs-15
private-key structure and inserted the modulus, exponents, etc. in the
corresponding fields.

The ASN1 viewer opened the key, so it seems to be correct - no error in the
lengths or something like it. But the key doesn't work when I try to get the
modulus or exponents from it using the pkcs#11 tool that I have and that
acts like a black box to me.

Could you please help me? I need a functional pkcs-15 private key and I
can't stand one more night changing the bits and testing it!

Thanks in advance,
Eduardo Ellery
-- 
View this message in context: 
http://www.nabble.com/pksc15-private-key-tf3806707.html#a10773277
Sent from the OpenSC - Dev mailing list archive at Nabble.com.

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to