From: Frank M. <no...@gi...> - 2024-02-13 17:03:38
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: 3d725ed1df9f0c7f2cd7c9f22e86c714a147e16f https://github.com/OpenSC/OpenSC/commit/3d725ed1df9f0c7f2cd7c9f22e86c714a147e16f Author: Luka Logar <luk...@ci...> Date: 2024-02-13 (Tue, 13 Feb 2024) Changed paths: M src/minidriver/minidriver.c Log Message: ----------- minidriver: Fix wrong hash selection in CardSignData if pszAlgId is NULL According to CardSignData docs, if pszAlgId is NULL, OID should not be added to signature, but minidriver erroneously selects SC_ALGORITHM_RSA_HASH_MD5_SHA1. See: https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/ns-bcrypt-bcrypt_pkcs1_padding_info |