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

How to sign using a smart card #13

Open
DVSoftware opened this issue Jan 25, 2022 · 0 comments
Open

How to sign using a smart card #13

DVSoftware opened this issue Jan 25, 2022 · 0 comments

Comments

@DVSoftware
Copy link

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.

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