Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMCK errors on windows #56

Open
sosthene-nitrokey opened this issue Jun 25, 2024 · 0 comments
Open

CMCK errors on windows #56

sosthene-nitrokey opened this issue Jun 25, 2024 · 0 comments

Comments

@sosthene-nitrokey
Copy link
Collaborator

With the base minidriver

  • SimultaneousUse:
    Couldn't find a key container protected by ROLE_USER
  • ExecutionSpeed no more info on the reason of the failure. It is known that the NK3 is pretty slow for many operations
  • :InsCheckInf`:
  • CardGetChallenge and CardAuthenticateChallenge: Not sure what this correspond to in the PIV standard. The ADMIN authentication is a form of challenge-response
  • CardRsaDecrypt: Not fully understood

VerifyPKCS2Padding(pRSADecryptInfo->pbData, pRSADecryptInfo->cbData, &pbLocalUnpaddedData, &cbLocalUnpaddedData) failed, status = 0x80090005
Error: 0x80090005, Bad Data.
CardRSADecrypt failed with wrong error code (0x80090005). Expected error code: 0x8010006a
File=ds\security\scard\test\hlk\minidriver\cmck\fncryptotests.cpp Line=2561
End: Fail, Negative, TUID=, Repro=exec CardRSADecrypt Negative

End: Fail, CardRSADecrypt, TUID=, Repro=exec CardRSADecrypt

Authentication:

The Role 4 is required in the configuration but does not correspond to anything in the PIV standard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant