Live data from Hacker News

The sorry state of OpenSSL usability

jameshfisher.com

31–40 of 45 posts

Re: The sorry state of OpenSSL usability

#31
post #22

> there literally isn’t any documentation of LibreSSL. This is plain wrong, it's particularly annoying as a great deal of effort has been put into updating the documentation [1]. > Instead, you just have to read the OpenSSL docs, and just hope the behavior is roughly the same. I'll give the author the benefit of the doubt and assume they refer the "OpenSSL docs" as naming hasn't been changed, as opposed to looking at…

Maybe I'm missing something - could you link me to the docs on http://www.libressl.org/ ? I expected a big link saying "Docs", but I don't see one. I've also tried a Google search for the docs[1], without success. [1]: https://www.google.co.uk/search?q=site%3Alibressl.org+docume...

The links for libcrypto, libssl, libtls, openssl(1), nc(1), and ocspcheck(1) all go to online man pages.

Re: The sorry state of OpenSSL usability

#32
post #22

> there literally isn’t any documentation of LibreSSL. This is plain wrong, it's particularly annoying as a great deal of effort has been put into updating the documentation [1]. > Instead, you just have to read the OpenSSL docs, and just hope the behavior is roughly the same. I'll give the author the benefit of the doubt and assume they refer the "OpenSSL docs" as naming hasn't been changed, as opposed to looking at…

Maybe I'm missing something - could you link me to the docs on http://www.libressl.org/ ? I expected a big link saying "Docs", but I don't see one. I've also tried a Google search for the docs[1], without success. [1]: https://www.google.co.uk/search?q=site%3Alibressl.org+docume...

The section on http://www.libressl.org/ that starts with: "LibreSSL releases contain several parts" lists said parts, with links to manpages for those parts. For example: https://man.openbsd.org/openssl

Re: The sorry state of OpenSSL usability

#34
post #32

Earlier quoted context omitted.

Maybe I'm missing something - could you link me to the docs on http://www.libressl.org/ ? I expected a big link saying "Docs", but I don't see one. I've also tried a Google search for the docs[1], without success. [1]: https://www.google.co.uk/search?q=site%3Alibressl.org+docume...

The section on http://www.libressl.org/ that starts with: "LibreSSL releases contain several parts" lists said parts, with links to manpages for those parts. For example: https://man.openbsd.org/openssl

That page claims to be docs for OpenSSL. Is that incorrect? If it actually is docs for OpenSSL and not for LibreSSL, where's the LibreSSL-specific docs gbrown_ was talking about?

Re: The sorry state of OpenSSL usability

#35
post #10

The usability points in this post are very well taken, but I'd push back on "we're told not to roll our own crypto but instead to use OpenSSL", since the first part of that claim is true but the second is emphatically not.

The second part is a direct consequence of how malleable and easy to misinterpret the first part is. It's a 'usability' problem of its own.

Re: The sorry state of OpenSSL usability

#36
post #35
post #10

The usability points in this post are very well taken, but I'd push back on "we're told not to roll our own crypto but instead to use OpenSSL", since the first part of that claim is true but the second is emphatically not.

The second part is a direct consequence of how malleable and easy to misinterpret the first part is. It's a 'usability' problem of its own.

I see where you're coming from and there's obviously some truth to it, but even an exceptionally well-documented OpenSSL with carefully thought-out command line UX would still be dangerous just by dint of what OpenSSL (as in, the "openssl" CLI) sets out to do, which is to provide an interface to low-level cryptography.

Re: The sorry state of OpenSSL usability

#37
post #31

Earlier quoted context omitted.

Maybe I'm missing something - could you link me to the docs on http://www.libressl.org/ ? I expected a big link saying "Docs", but I don't see one. I've also tried a Google search for the docs[1], without success. [1]: https://www.google.co.uk/search?q=site%3Alibressl.org+docume...

The links for libcrypto, libssl, libtls, openssl(1), nc(1), and ocspcheck(1) all go to online man pages.

[deleted]

Re: The sorry state of OpenSSL usability

#38
post #22

> there literally isn’t any documentation of LibreSSL. This is plain wrong, it's particularly annoying as a great deal of effort has been put into updating the documentation [1]. > Instead, you just have to read the OpenSSL docs, and just hope the behavior is roughly the same. I'll give the author the benefit of the doubt and assume they refer the "OpenSSL docs" as naming hasn't been changed, as opposed to looking at…

[deleted]

Re: The sorry state of OpenSSL usability

#39
post #32

Earlier quoted context omitted.

Maybe I'm missing something - could you link me to the docs on http://www.libressl.org/ ? I expected a big link saying "Docs", but I don't see one. I've also tried a Google search for the docs[1], without success. [1]: https://www.google.co.uk/search?q=site%3Alibressl.org+docume...

The section on http://www.libressl.org/ that starts with: "LibreSSL releases contain several parts" lists said parts, with links to manpages for those parts. For example: https://man.openbsd.org/openssl

[deleted]

Re: The sorry state of OpenSSL usability

#40
post #36
post #35

Earlier quoted context omitted.

The second part is a direct consequence of how malleable and easy to misinterpret the first part is. It's a 'usability' problem of its own.

I see where you're coming from and there's obviously some truth to it, but even an exceptionally well-documented OpenSSL with carefully thought-out command line UX would still be dangerous just by dint of what OpenSSL (as in, the "openssl" CLI) sets out to do, which is to provide an interface to low-level cryptography.

would still be dangerous just by dint of what OpenSSL (as in, the "openssl" CLI) sets out to do

Of course. What I'm getting at is "don't roll your own crypto" is one of the things that gives people a false sense of confidence in using the low-level crypto facilities. It might as well not be true for all the good it does the people it's supposed to help. I guess 'emphatically' is what I'm responding to, the 'don't roll' thing is, effectively, not that great either.

Post reply on HN