On Tue, Aug 14, 2007 at 07:15:59PM -0700, Siddhartha Kasivajhula wrote:
> How do I verify that the certificate is on the card?

pkcs15-tool -c


> I was trying to run "verify" in opensc-explorer, but I entered the
> wrong password too many times and now it says "authentication
> locked"!

Depending on your card OS this may be irreversible. :\


> What is the correct format for the "verify" command? Do I just put
> my KEY as "111111" or as "11:11:11"? When I initialized the card, I
> entered "111111" as the user PIN.

I would assume it's more like 31:31:31:31:31:31 but possibly it will
need padding to 8 bytes with 00 or ff, before or after.


> I'm assuming this is the same as the "KEY"?

KEY1, yeah, I think so.


> OpenSC [3F00]> verify KEY1 111111

opensc-explorer really is just a low-level software debugging tool,
not intended for anyone but developers.


> How do I unlock the card now?

What card was this again?


> Also, if I want to clear the card and reinitialize it, would I use
> "pkcs15-init --erase-card"?

That sounds good, yes. Give it a go.


//Peter
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to