-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Help wanted: how to get cert Subject/Issuer (Yubikey) #93
Comments
Yubico PKCS#11 doesn't support You can use pkijs to parse X509 certificate and get it's name |
Thank you! That's what I suspected. I'll try with pkijs . |
Have you seen node-webcrypto-p11? It's based on |
@microshine OK, I'll take a look 👍 |
@microshine I had some luck using node-webcrypto-p11, so I guess I can use it to get Can I use graphene and node-webcrypto-p11 simultaneously in my Electron app? Is there likely to be any side-effects with sessions etc ?? |
I'm struggling with Yubikey 4 PIV slots, and trying to find specific slot Subject/Issuer value.
Trying something code like :
but I got :
Yubikey's own tool gets information:
and I'm trying to get Subject DN (or Issuer DN) string to show information for end user.
Is there a way to get it via PKCS#11 (graphene-pk11) ??? Any code sample or workaround?
The text was updated successfully, but these errors were encountered: