From: Douglas E E. <dee...@gm...> - 2022-11-25 14:59:20
|
In addition to what Frank said: See * Entries for PIV cards are not added to the registry by OpenSC. o Every piv vendor I have seen has their own minidriver and they are installed via plug-and-play. * Microsoft has it own PIV support by checking for PIV AID and and adding to registry. "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Calais\PIV Device ATR Cache" You may need to remove it andd your registry entries before inserting it again. * OpenSC 0.22.0 minidriver does not support EC correctly. 0.23.0 release candidates have changes to fix that. See https://github.com/OpenSC/OpenSC/pull/2523 For PIV registry entries for 0.23.0 see https://github.com/OpenSC/OpenSC/issues/2426#issuecomment-1280934853 On 11/25/2022 4:07 AM, Cui Alan wrote: > 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 { > debug = 100; > debug_file = opensc-debug.txt; > } > app cardmod { > debug = 1000; > debug_file = opensc-debug.txt; > framework pkcs15 { > # use_file_caching = public; > } > reader_driver pcsc { > } > card_atr 3b:f7:11:00:00:81:31:fe:65:43:61:6e:6f:6b:65:79:99 { > name = "Canokey Piegon"; > driver = "PIV-II"; > flags = "keep_alive"; > }Franks > } > And I got no output both in C:/tmp and C:\Program Files\OpenSC Project\OpenSC\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. > > > > _______________________________________________ > Opensc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensc-devel -- Douglas E. Engert<DEE...@gm...> |