Coder Social home page Coder Social logo

Comments (9)

pdreijnders avatar pdreijnders commented on August 18, 2024

The same procedure seem to work when used on gethttpsforfree.com

from gethttpsforfree.

diafygi avatar diafygi commented on August 18, 2024

Howdy, a few questions:

  • Did you run the command above the options and copy in the results?
  • If you refresh the page and try the entire process again, do you still get the error?

Are you still getting the error? If so, when you get the error, can you please open your debugger console and run the following commands?

console.log(JSON.stringify(ACCOUNT_PUBKEY));
console.log(JSON.stringify(CSR));
console.log(JSON.stringify(DOMAINS));

from gethttpsforfree.

diafygi avatar diafygi commented on August 18, 2024

@pdreijnders since it's been over a week, I'm going to assume that you resolved your issue. Please ask to reopen if not.

from gethttpsforfree.

madbence avatar madbence commented on August 18, 2024

I've had the same issue, ACCOUNT_PUBKEY had no thumbprint, right now I'm investigating...

from gethttpsforfree.

madbence avatar madbence commented on August 18, 2024

Ok, it seems that window.crypto.subtle.digest is only available on secure origins on chrome, as the thrown error suggests (DOMException: Only secure origins are allowed (see: https://goo.gl/Y0ZkNV).), but the error is ignored, so it results in an empty thumbprint.

A simple workaround is to access the page through https (gh-pages are accessible through https), or use an other browser (eg. firefox seems to allow window.crypto functions on http sites).

from gethttpsforfree.

diafygi avatar diafygi commented on August 18, 2024

@madbence Interesting, I'm unable to reproduce this (works for me on both file://.... and http://localhost:8000/...). As stated in the link in the error the following are whitelisted as secure origins.

(https, *, *)
(wss, *, *)
(*, localhost, *)
(*, *.localhost, *)
(*, 127/8, *)
(*, ::1/128, *)
(file, *, —)
(chrome-extension, *, —)

Can you please create another bug and give more details about your setup? Thanks!

from gethttpsforfree.

madbence avatar madbence commented on August 18, 2024

@diafygi try to access the site through http: http://diafygi.github.io/gethttpsforfree/ (fails on chrome 47.0.2526.80)

from gethttpsforfree.

diafygi avatar diafygi commented on August 18, 2024

Ah, ok, please try https://diafygi.github.io/gethttpsforfree/

Nothing I can do about github not automatically redirecting to the https version. I'd highly suggest the HTTPS Everywhere plugin from the EFF.

from gethttpsforfree.

madbence avatar madbence commented on August 18, 2024

fyi you can detect the used protocol: window.location.protocol, but yeah it makes sense to use the site through https 😸.

from gethttpsforfree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.