Closed domob1812 closed 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?
Try https://tlsfail.bit/.
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.
Thanks for testing phelix. I think that's good enough to merge.
Instead of manually comparing a site's fingerprint to the blockchain, use nmcontrol's verifyFingerprint method instead. Also replace some whitespace with tabs.