namecoin / Convergence

Secure peer-to-peer DNS resolution and HTTPS authentication for Firefox, without certificate authorities, using the Namecoin blockchain. This repo is deprecated in favor of https://github.com/namecoin/ncdns and https://github.com/namecoin/dns-prop279
https://bit.namecoin.org/freespeechme.html
27 stars 26 forks source link

Use nmcontrol's verifyFingerprint. #4

Closed domob1812 closed 10 years ago

domob1812 commented 10 years ago

Instead of manually comparing a site's fingerprint to the blockchain, use nmcontrol's verifyFingerprint method instead. Also replace some whitespace with tabs.

JeremyRand commented 10 years ago

I can confirm that https://dot-bit.bit still loads fine with this PR. @domob1812 Can you provide a .bit domain that intentionally has an incorrect fingerprint so I can test that with this PR?

domob1812 commented 10 years ago

Try https://tlsfail.bit/.

phelixbtc commented 10 years ago

I manually replaced the file in my firefox folder. Both https://dot-bit.bit and https://nameid.bit verify. https://tlsfail.bit fails as it should.

JeremyRand commented 10 years ago

Thanks for testing phelix. I think that's good enough to merge.