News for hackers. Stuff that matters.
Re:CA Comodo used broken OCR and issued certificates to the ... by wolf550e on Friday October 21, 2016 @12:06PM (#12761563)
If the browser adopts a trust-on-first-use policy with self signed certificates and the certificate is replaced (possibly because it has expired), how do you know whether it's MiTM or benign?
Re:CA Comodo used broken OCR and issued certificates to the ... by LukeShu on Friday October 21, 2016 @12:28PM (#12761788)
I recall a website with a self-signed cert, but they had a non-https page that had a their TLS cert fingerprint signed with their GPG key; which effectively moved the trust from the centralized CA system to the PGP web of trust.

I think it would be cool to have a standard URL (/.well-known/certificate or something) that explains why you should trust their self-signed certificate, and have the browser show that as part of the view when you encounter a self-signed cert.

Re:CA Comodo used broken OCR and issued certificates to the ... by 45h34jh53k4j on Friday October 21, 2016 @12:37PM (#12761889)
Then you have leaked material over http or some other cleartext protocol. If you try to add encryption to that you just have turtles or move the key exchange somewhere else.

The current PKI system allows you to make an unsolicited encrypted connections to an internet origin over an untrusted connection with strong server authentication.

Self signed can not provide this. We do not want the web to be like SSH.

Re:CA Comodo used broken OCR and issued certificates to the ... by geofft on Friday October 21, 2016 @12:43PM (#12761962)
How many people do you think actually verified the PGP key? https://xkcd.com/1181/

Also, PGP is a very different security model - in order to effectively use PGP, you need to go disclose your government identity to a handful of other people who are already in the strong set. That's not a great fit for the web.

Re:CA Comodo used broken OCR and issued certificates to the ... by bandrami on Friday October 21, 2016 @12:51PM (#12762070)
Just like you do with ssh: you ask the site administrator.

Now, if you have a CA who gives out certificates to parties who should not have them, and that CA can sign certificates for any domain, how do you know if any connection is a MiTM or benign? Do you actually check the issuer every time you connect to a secure site?

CAs give a false sense of security. We need to move off this model.

Re:CA Comodo used broken OCR and issued certificates to the ... by icebraining on Friday October 21, 2016 @07:15PM (#12765727)
Just like you do with ssh: you ask the site administrator.

How?

CAs give a false sense of security. We need to move off this model.

Maybe, but not by adopting the politician's syllogism. We should only move to a better model. As easy as it may be, it's still slightly harder to get a CA to sign a cert for a domain you don't control than it is to sign them yourself, and that shouldn't be dismissed.

Re:CA Comodo used broken OCR and issued certificates to the ... by jasonjayr on Friday October 21, 2016 @01:26PM (#12762496)
TOFU + a standard or convention for validating keys with Face-To-Face verfication?

If I go to a bank or business, and as part of setting up a relationship they hand me a pamphlet printed with their Public Key Fingerprint, AND the browser shows me that fingerprint image at first use, ..... then that's pretty reliable verification, isn't it?

Re:CA Comodo used broken OCR and issued certificates to the ... by icebraining on Friday October 21, 2016 @07:16PM (#12765734)
Where would you go to check for Amazon's fingerprint?
Re:CA Comodo used broken OCR and issued certificates to the ... by jasonjayr on Friday October 21, 2016 @07:58PM (#12766015)
A standard for face-to-face TOFU checking would be in addition to the PKI infrastructure, and to facilitate a secure way to use self-signed certs.

Obviously we've never had face-to-face relationships with the likes of Paypal, Stripe, etc, and would still rely on our browser and operating system vendors to validate the chain of authority.

Re:CA Comodo used broken OCR and issued certificates to the ... by robryk on Friday October 21, 2016 @12:19PM (#12761679)
Have a self-signed CA certificate with a longish expiration and sign the actual keys the webservers use with that. Apply TOFU to that CA certificate (on a per-domain basis).

There's IIRC no mechanism for that, but for the single-domain CA key it'd make sense to sign the new one with the old one.

Re:CA Comodo used broken OCR and issued certificates to the ... by 45h34jh53k4j on Friday October 21, 2016 @12:40PM (#12761919)
TOFU is bad for the web. Its is much easier to MiTM https vs ssh. Many vendors will sell your enterprise kit to do it to all users.

There will be some jurisdictions where MiTM is always and unavoidable. TOFU can't work here.

These things must be universal, and TOFU can never be universal.