List Info

Thread: command to erase card using pin




command to erase card using pin
country flaguser name
United States
2007-07-11 06:11:30
Hi all,
I am trying to implement
sc_pkcs15init_operations::erase_card function for my
card. My card need PIN value to clean the card. 

i tried "pkcs11-init -E --pin 1234" command.
But opensc module is trying to clean the card without
authenticating with the pin.

Am i missing anything. 
Regards,
Kamal.


       
____________________________________________________________
________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now
(it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyh
erenow  
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

Re: command to erase card using pin
user name
2007-07-11 06:44:20
On Wednesday 11 July 2007 13:11:30 kamal krishna wrote:
> Hi all,
> I am trying to implement
> sc_pkcs15init_operations::erase_card function for my
> card. My card need PIN value to clean the card.
>
> i tried "pkcs11-init -E --pin 1234" command.
> But opensc module is trying to clean the card without
> authenticating with the pin.

does pkcs15-init -T --pin 1234 work for you?
in that case opensc and the card driver would be ok,
but opensc-pkcs11.so would have a problem.

opensc-pkcs11.so + pkcs11-tool are not very well tested
when
it comes to initializing and erasing and modifications. help
on
that is very welcome, for example additional test cases for
src/test/regression and patches to get them to work.

Regards, Andreas
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )