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

failed to sign message: NCryptSignHash returned 80090022 ... #116

Closed
jspraul opened this issue Sep 8, 2022 · 0 comments
Closed

failed to sign message: NCryptSignHash returned 80090022 ... #116

jspraul opened this issue Sep 8, 2022 · 0 comments

Comments

@jspraul
Copy link

jspraul commented Sep 8, 2022

Command: echo test test test | smimesign -bsau [email]
Error: failed to sign message: NCryptSignHash returned 80090022 during signing: The operation completed successfully.
Platform: Windows 10 + smart card
Number of certificates matching given [email]: 2
Number of certificates from the smart card shown by --list-keys: 4
user.signingkey configured: yes

Error code details per random search: 0x80090022 (2146893790) NTE_SILENT_CONTEXT: Provider could not perform the action since the context was acquired as silent.

Perhaps it is unable to prompt for the PIN?

I have verified the smart card is usable for other purposes, such as a client certificate (successfully prompted for PIN) in multiple browsers.

@jspraul jspraul closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2022
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