How to create minidriver on OpenSC
Cui Alan <[email protected]> Fri, 25 Nov 2022 10:07:28 +0000
| Newsgroups | gmane.comp.encryption.opensc.devel |
|---|---|
| Message-ID | <TYWP286MB2218F70A8F3E1F5330A2B870AD0E9@TYWP286MB2218.JPNP286.PROD.OUTLOOK.COM> |
Hi,
I'm the developer of the Minidriver of Canokey(https://www.canokeys.org/)
I recently build OpenSC 0.22.0. Using /DDEBUG and following conf file:
app default {
=A0=A0=A0=A0=A0=A0 debug =3D 100;
=A0=A0=A0=A0=A0=A0 debug_file =3D opensc-debug.txt;
}
app cardmod {
=A0=A0=A0=A0=A0=A0 debug =3D 1000;
=A0=A0=A0=A0=A0=A0 debug_file =3D opensc-debug.txt;
=A0=A0=A0=A0=A0=A0 framework pkcs15 {
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # use_file_caching =3D public;
=A0=A0=A0=A0=A0=A0 }
=A0=A0=A0=A0=A0=A0 reader_driver pcsc {
=A0=A0=A0=A0=A0=A0 }=A0=A0=A0=A0=A0 =
=A0=A0=A0=A0=A0=A0 card_atr 3b:f7:11:00:00:81:31:fe:65:43:61:6e:6f:6b:65:79=
:99 {
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 name =3D "Canokey Piegon";
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 driver =3D "PIV-II";
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 flags =3D "keep_alive";
=A0=A0=A0=A0=A0=A0 }
}
And I got no output both in C:/tmp and C:\Program Files\OpenSC Project\Open=
SC\tools\opensc-debug.txt
At the same time, the notice of pluging in popped out as normal.
I have no idea about how to config or debug it.
Thank you.
Alan.