hwcrypto / hwcrypto.js

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

Fix for loading hwcrypto.js with Chrome in iframed window #18

Closed arikarjalainen closed 7 years ago

arikarjalainen commented 8 years ago

Hwcrypto.js fails to load with Chrome when hwcrypto.js is loaded to iframe (not top-most document). For test see iframe-sign.html, there we get "no_implementation" with Chrome. I've included fix for hwcrypto.js that fixes this.

martinpaljak commented 7 years ago

Latest version of the Chrome WebExtensions attaches to all iframes, thus this should not be relevant any more.