Skip to content

How to sign using a smart card #13

@DVSoftware

Description

@DVSoftware

Hi,
I'm currently using crypto11 module to login to client certificate protected API, which uses a smartcard to authenticate.
I wanted to get rid of crypto11 module and OpenSC dependency, and I stumbled upon your module, however I cannot figure out how to use the context i created with the smart card provider, because all encrypt functions create their own context. I guess i could fork the library to do it, but it would be nice to be able to supply your own context.
Also, consider implementing standard crypto.Signer interface, which would allow it to be used with TLS client directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions