hwcrypto / hwcrypto.js

Browser JavaScript library for working with hardware tokens
https://hwcrypto.github.io
MIT License
157 stars 47 forks source link

Get Certificate with filter AUTH fails silently on first try #59

Open Tieno opened 4 years ago

Tieno commented 4 years ago

It's reproducable on the demo page

  1. Go to https://hwcrypto.github.io/hwcrypto.js/sign.html
  2. Select Certificate AUTH
  3. Click sign
  4. Confirm the dialog ...nothing happens

However if you do the following it does work

  1. Go to https://hwcrypto.github.io/hwcrypto.js/sign.html
  2. Select Certificate SIGN
  3. Click sign
  4. Confirm the dialog
  5. Enter pin
  6. Select Certificate AUTH
  7. Click sign
  8. Confirm dialog
  9. Enter pin

Seems like some kind of invalid internal state. Anyone any idea how to fix this?

metsma commented 4 years ago

Can you get logs https://github.com/open-eid/chrome-token-signing/wiki/DeveloperTips#logging