From: Doug E. <no...@gi...> - 2019-12-05 15:33:37
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 5fa633075d8c804300db6f479a8b730e0b51ecdb https://github.com/OpenSC/OpenSC/commit/5fa633075d8c804300db6f479a8b730e0b51ecdb Author: Doug Engert <dee...@gm...> Date: 2019-12-05 (Thu, 05 Dec 2019) Changed paths: M src/libopensc/card-gids.c Log Message: ----------- GIDS Decipher fix for TPM GIDS decipher APDU fails with status '65 00' or '67 00' if "Padding Indication" byte is present. Debug logs of Microsoft certutil -v -scinfo using Microsoft drivers show that for a decipher, the "Padding Indication" is not present. It maybe needed if Secure Messaging is added later. Extended APDU is turned off as this may not be supported on some cards. Chaining is used used instead, it works on all cards. RAW RSA is turned off, it is supported. Tested with pkcs11-tool on Windows 10 with a TPM 2.0 module. On branch gids-decipher Changes to be committed: modified: src/libopensc/card-gids.c Date: Tue Dec 3 18:08:32 2019 -0600 interactive rebase in progress; onto 01678e87 Last commands done (3 commands done): squash c968d0dd GIDS No Padding Indication Byte squash 0fa940fc Take 3 No commands remaining. You are currently rebasing branch 'gids-decipher' on '01678e87'. |