News for hackers. Stuff that matters.
Re:Show HN: Sslhash: SSL without a certificate authority by barrystaes on Friday February 09, 2018 @02:51AM (#16338625)
Rather pointless to compare the SSL certificate to a hash ofcourse. Why not just compare it to a copy of the certificate. No need to obfuscate and allow user to be fooled with changed hash.
Re:Show HN: Sslhash: SSL without a certificate authority by jD91mZM2 on Friday February 09, 2018 @09:38AM (#16340427)
The hash is a lot smaller and less likely to be subject of a copy-paste error ¯\_(ツ)_/¯
Re:Show HN: Sslhash: SSL without a certificate authority by lasdfas on Thursday February 08, 2018 @09:13PM (#16337376)
How does expiration work? What happens if an TLS/SSL cert is leaked/compromised? Change the clients as well?
Re:Show HN: Sslhash: SSL without a certificate authority by jD91mZM2 on Friday February 09, 2018 @02:43PM (#16343243)
Since only the keypair is cached, certificates are generated on each startup. This means they never expire (unless you run your application without any interruptions for a whole year).

But yeah, if they're leaked you just gotta re-send them to the clients. This isn't meant for large professional projects, only for stuff where the convenience outweights the pros of using a proper certificate.

Re:Show HN: Sslhash: SSL without a certificate authority by nemothekid on Thursday February 08, 2018 @10:52PM (#16337785)
You would probably need some sort of "authority" to redistribute the hashes.
Re:Show HN: Sslhash: SSL without a certificate authority by jsiepkes on Friday February 09, 2018 @01:33AM (#16338361)
The was / is a DNS standard for that: DANE. Sadly DANE was never really adopted. Chrome had support for it but it was removed eventually.
Re:Show HN: Sslhash: SSL without a certificate authority by lasdfas on Friday February 09, 2018 @09:28AM (#16340358)
One of the main reasons for the library is no need for cert authority. Why not just create a regular cert Authority certificate and put the trusted authority cert on the clients. That makes it so you almost never have to change the clients certs. Also, it's supported by standard TLS libraries and clients.
Re:Show HN: Sslhash: SSL without a certificate authority by jD91mZM2 on Friday February 09, 2018 @09:40AM (#16340438)
True, didn't think of that. The server would still have to generate it using a command though... I like having things automated.
Re:Show HN: Sslhash: SSL without a certificate authority by hamandcheese on Friday February 09, 2018 @12:41AM (#16338147)
Pretty much same story as SSH keys and fingerprints.
Re:Show HN: Sslhash: SSL without a certificate authority by Operyl on Thursday February 08, 2018 @10:53PM (#16337786)
I’m confused, domains are not a barrier to entry (I’d argue that the developer account is a much larger barrier). Why is this a needed thing?
Re:Show HN: Sslhash: SSL without a certificate authority by hamandcheese on Friday February 09, 2018 @12:39AM (#16338140)
Not sure what you mean by developer account...

Anyway, if I understand correctly, this is basically just a user friendly version of certificate pinning.

Re:Show HN: Sslhash: SSL without a certificate authority by Operyl on Friday February 09, 2018 @12:57AM (#16338211)
Oops! For some reason I thought it was Swift at first. My bad, I understand it a bit better now then :).