danwent / Perspectives

Perspectives Firefox Extension
http://perspectives-project.org
66 stars 19 forks source link

Disable notaries that give bogus names #118

Open cyisfor opened 10 years ago

cyisfor commented 10 years ago

So 75% of your notaries agreed on a name/certificate. What about the other 15%? Shouldn't they be removed or somehow penalized if they're validating bogus certificates, or not validating good ones? It might take time for a certificate to get adopted by a group of notaries, but it still seems like you could guesstimate how long it's reasonable for the notaries to be out of sync, and b& ones that exceed that threshold?

Something like... for each of the ones in the minority, check how long that certificate has been around and if it's too long then disable them. Have a setting where the user can opt for this behavior or not, adjust how patient the watchdog algorithm is, and disable/enable notaries themselves manually like with https://github.com/danwent/Perspectives/issues/102

daveschaefer commented 10 years ago

Hey, good idea, but I'm not sure that notaries disagreeing would always mean things are bad. Some sites (like Google) serve different certificates if the request comes from different countries, or if the request is behind a load balancer and gets redirected to a different server.

Here are some relevant links with more detail:

We actually had a discussion about this on the mailing list a while back: https://groups.google.com/forum/#!topic/perspectives-dev/Yc1XM980kfw/discussion

Does that make sense?

cyisfor commented 10 years ago

It makes sense but I sure as heck don't have to like it. No way to tell good notaries apart from bad ones then, besides actually getting scammed and realizing it happened. SSL is so messed up...

ghost commented 10 years ago

Close issue? Btw: There is a proposal in #86 to display some kind of "server availability info"