Skip to content

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

@jspraul

Description

@jspraul

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions