yubioath-flutter icon indicating copy to clipboard operation
yubioath-flutter copied to clipboard

An internal consistency check failed.

Open gitgitwhat opened this issue 4 years ago • 0 comments

  • Yubico Authenticator version: 1.2.3
  • Operating system and version: Windows 10 x64 20H2
  • YubiKey model and version: FIPS 4 (firmware 4.4.5)
  • Bug description summary:

EV code signing cert fails. Debug log reports

2021-06-15 11:37:07 ykcontext.cpp:165 ykpiv_sign_data failed: YKPIV_GENERIC_ERROR (-7) 2021-06-15 11:37:07 ykcontext.cpp:221 <- YKContext::Sign returns 80100001 (An internal consistency check failed. ) 2021-06-15 11:37:07 cardcrypto.cpp:102 <- CardSignData returns 80100001 (An internal consistency check failed. )

I got a new EV code signing cert in the mail yesterday. Tried to sign a binary using signtool.exe and it failed. I enabled minidriver logging and saw the lines above. The CA support has been less than helpful up to this point. We've gone in circles resetting the device and reloading the certificate all with the same results.

What specifically is failing with this error? Is it is a sign that the key is corrupted? I've tried this on two systems with the same results so it can't just be a specific system error.

gitgitwhat avatar Jun 15 '21 19:06 gitgitwhat