none
GIDS minidriver problem RRS feed

  • Question

  • Hello!

    I develop usb token (like smart card) with support microsoft GIDS. I read https://docs.microsoft.com/en-us/windows-hardware/drivers/smartcard/windows-inbox-smart-card-minidriver and GIDS Specification v2.0. I create a file system, as it is written: create files with id A000, A010-A014, put DOs in files (master file system table, cardapps, cardcf, mscp\cmapfile, cardid). I create INF file and install my device. All ok, device is recognized as GIDS smart card.

    Now I need to import certificate on my device. I implement a GIDS Specification. But when windows write digital signature on device (from control panel->users), I have an error: invalid signature. Wireshark usb dump here. Packet no 227 - Generate_Asymm_Key_Pair request. I return formated RSA key (first 256 byte), but then system not read last part of RSA key. System starts checking the key (packet no 246) and, оf course, It is not valid.

    When I try to import certificate by certutil (Wireshark dump here), system not create any EF key file on card. It read/write some DO in files, and then I have error: card not support some functions. Periodically windows try read DO DF20 from A000. I dont know what is this. According to documentation the file A000 have only master file system table with DO id DF1F.

    Where is a mistake? Or where I can find additional information about system minidriver? Or how I can debug/trace this minidriver? Please, help.



    • Edited by V_Sergey Sunday, October 15, 2017 8:47 AM
    Saturday, October 14, 2017 12:35 PM

All replies