You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2023. It is now read-only.
I am trying to run u2f-ref-code on my local environment. I ran m.google.u2f.tools.httpserver.U2fHttpServer . This started the basic http server at 8080 port.
On accessing http://localhost:8080 , I see home page. On clicking "Test Registration" it fails in javascript error:
denying load of chrome-extension pfboblefjcgdjicmnffhdgionmgcdmne/u2f-api.js . Resource must be listed in the web_accessible_resources . Here is the screenshot.
Then I tried to load the unpacked chrome extension ( u2f-chrome-extension ). I planned to add u2f-api.js in web_accessible_resources . But there is no u2f-api.js in that project. I found one u2f-comms.js instead.
I restarted chrome browser with --show-component-extension-options command line. Then in CryptoTokenExtension extension I set HTTP_ORIGINS_ALLOWED = true . In the u2f-ref-code app I replaced extension: pfboblefjcgdjicmnffhdgionmgcdmne to chrome-extension://kmendfapggjehodndflmmgagdbamhnfd . Even then I got same error.
Denying load of chrome-extension://kmendfapggjehodndflmmgagdbamhnfd/u2f-api.js. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
How can I run sample java u2f app? Am I missing any step?
Browser Info:
Chrome Version 48.0.2564.116 m
Latest FIDO U2F (Universal 2nd Factor) extension