GithubHelp home page GithubHelp logo

indolering / convergence Goto Github PK

View Code? Open in Web Editor NEW

This project forked from namecoin/convergence

0.0 2.0 0.0 993 KB

Secure peer-to-peer DNS resolution and HTTPS authentication for Firefox, without certificate authorities, using the Namecoin blockchain

Home Page: http://www.freespeechme.org

JavaScript 81.63% CSS 0.24% Python 18.13%

convergence's Introduction

FreeSpeechMe

FreeSpeechMe is a modification to Moxie Marlinspike's tool Convergence, modified to implement the Namecoin .bit specification. It can resolve .bit domains to IPv4 addresses, and verify .bit TLS certficates via the Namecoin blockchain. This allows safe usage of self-signed certificates, without trusting any third party. IP address mappings and TLS fingerprints are stored in the Namecoin blockchain; see the .bit specification for more details.

FreeSpeechMe is a product of Viral Electron Chaos Laboratories (VECLabs).

End-User Installation

  1. Install namecoind and nmcontrol as per their documentation, and ensure that they are both running. For best results, use the nmcontrol at https://github.com/uVAdN2vUw2aMENSu19cY7ic24Gvp7Fd/nmcontrol until khalahan merges those changes.
  2. Install the XPI into Firefox.
  3. Restart Firefox when prompted.
  4. There will be a Convergence icon in the toolbar. Click its dropdown menu and choose Options.
  5. On the Advanced tab, make sure that "Verify Namecoin (.bit) domains" and "Only verify Namecoin (.bit) domains" are both checked.
  6. Click OK.
  7. Click the Convergence icon to turn it green.
  8. That's it! You can safely browse .bit websites without relying on third-party DNS, and .bit HTTPS websites will automatically have their certificates verified.

Website Administrators

Website Administrators should place the SHA-1 fingerprint of their website in the "fingerprint" field of their Namecoin domain. Note that the newer "tls" field is not yet supported. The fingerprint may either include or omit colons. FreeSpeechMe is not aware of SNI (this is a good thing for privacy reasons); the "fingerprint" field should contain the fingerprint of the certificate presented to browsers when the IP address is typed into the browser. (The "Common Name" of the certificate does not need to match the domain; only the fingerprint is checked.) To debug websites which generate a "Convergence Certificate Verification Failure", you can click "View Details" in the yellow bar that appears on the top of the page, and then click "View"; Convergence will show you the certificate it received from the server. Consult the .bit specification for more information on how to embed TLS fingerprints in the Namecoin blockchain. An example configuration is at "d/namecoin-tls-test-3".

Known Bugs

  1. In extremely rare cases, some .bit websites might not load; this is because nmcontrol doesn't yet support the entire .bit specification. (Placing bounties might improve this situation.) However, almost all major .bit websites should now be supported if using the nmcontrol linked above.

Donate

If you like FreeSpeechMe and want to show your support, you can donate at the following addresses:

  • Bitcoin: 1JfNztz7GfcxPFXQTnxjco6HA53fg491FV
  • Namecoin: N4hnrzpQAiwwYXjvMVfqeoenUsvjZNRifV

Thanks to:

  • Moxie Marlinspike for Convergence.
  • phelix and the Namecoin Marketing and Development Fund for supporting the project bounty.
  • itsnotlupus for adding TLS to the .bit spec.
  • khal for nmcontrol.
  • khal and vinced for namecoind.
  • Anyone else I forgot.

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.