News for hackers. Stuff that matters.
Re:The foundation of a more secure web: Google Trust Services by algesten on Thursday January 26, 2017 @04:05PM (#13495244)
I guess if NSA/FBI forces google to hand over the CA keys, they kan orchestrate undetectable MITM-attacks.

I wonder why browser won't automatically store the fingerprint for every HTTPS-certificate it encounters and throw up a fuzz to the user if a certificate changes without any good reason?

Re:The foundation of a more secure web: Google Trust Services by infogulch on Thursday January 26, 2017 @04:25PM (#13495366)
Why aren't new certificates for the same domain signed by the old (perhaps expired) certificate (recursively) in addition to the whole CA model?

This proves that whoever has the new cert used to have the old cert. A browser would save a copy of a certificate the first time it visits a site, then when it visits again later it could request the chain of certs back to the first one it ever encountered. Past certs verify new certs; this check wouldn't even involve a CA.

This basically overlays trust-on-first-use security model on top of the CA security model and would make it much more difficult to perform a MITM on sites that the user regularly visits (which are probably the most valuable targets).

Re:The foundation of a more secure web: Google Trust Services by JoshTriplett on Thursday January 26, 2017 @04:52PM (#13495567)
You'd need a backup plan for sites that have transferred ownership, or for sites that needed to revoke the old key due to compromise. And once you have that backup plan, how would you decide whether to care if that additional signature exists?
Re:The foundation of a more secure web: Google Trust Services by infogulch on Thursday January 26, 2017 @05:00PM (#13495635)
But ownership change and compromise should be communicated to the user. Maybe an "Unverified Identity" shows up for a while and triggers stronger checks in the browser for CT and revocation lists.
Re:The foundation of a more secure web: Google Trust Services by JoshTriplett on Thursday January 26, 2017 @04:38PM (#13495471)
Such a MITM attack could only happen once (per CA); doing so would burn a CA, as browsers would then stop trusting it. Certificate Transparency (which many CAs already do and which will become mandatory for all CAs in 2017) ensures that browsers only trust certificates whose issuance gets publicly logged.
Re:The foundation of a more secure web: Google Trust Services by buzer on Thursday January 26, 2017 @04:18PM (#13495320)
It's risky for browsers to do it automatically since it's not something that sites are excepting. Some might be using different certificates on different servers for same domain for example.

It's possible for sites to instruct browsers to do it though, but that's opt-in. https://en.wikipedia.org/w/index.php?title=HTTP_Public_Key_P...

Re:The foundation of a more secure web: Google Trust Services by tlrobinson on Thursday January 26, 2017 @04:20PM (#13495339)
It's opt-in by the site, but that's what public key pinning is: https://en.wikipedia.org/wiki/HTTP_Public_Key_Pinning
Re:The foundation of a more secure web: Google Trust Services by algesten on Friday January 27, 2017 @02:09AM (#13498266)
That's a bit different though, because you must pin an issuing key, not the actual cert.
Re:The foundation of a more secure web: Google Trust Services by pepr on Thursday January 26, 2017 @04:58PM (#13495618)
Because the browser (or the user) has no way of knowing if the certificate changed for a good reason. Certificate pinning tries to tackle this at the CA level but it's not perfect (in a nutshell, browsers know that google.com can be signed only by a certain small subset of CAs).
Re:The foundation of a more secure web: Google Trust Services by algesten on Friday January 27, 2017 @02:14AM (#13498276)
The effort to prove a certificate is being changed for a good reason should be with the site owner, so I perhaps the standard could build in some sort of sign-by-previous-cert combined with mandatory information fields.

The certificate pinning of CA is not that useful.

So google rotate a lot of certs, but I bet 95% of the internet use one cert for one server until it expires. Google could fall in in line.

Re:The foundation of a more secure web: Google Trust Services by quickben on Thursday January 26, 2017 @11:34PM (#13497735)
Perspectives for Firefox does this. But Google rotates their certs, this effectively disabling the approach and forcing most users to trust anything 'Google'.