5 ms·
> "we imported four or five C standard library functions from NetBSD or something like that. But those were gotten rid of over time. We're free of third-party c
by rbanffy 5y ago
> "we imported four or five C standard library functions from NetBSD or something like that. But those were gotten rid of over time. We're free of third-party code now, with the exception of the build process."
I'm scared of whatever is their crypto support...
- breakfastduck 5y agoGo fix it then. That's the point of the project. Or are you just throwing out comments without even looking at it?
- rbanffy 5y agoI fix the software I use. Random commenters are not entitled my time and attention. I've learned to avoid rolling out my own crypto and suggest others learn it too. One shouldn't be proud of reinventing the wheel unless it's significantly better wheel. So, is it? edit: they use libtls, so I guess they aren't "free" from third party code after all.
- tristan957 5y agoThat is not the libtls you are thinking of. That is a homemade library.
- somethingor 5y agoSerenity’s LibTLS is Serenity-specific code.
- wander_homer 5y agoWhat kind of attitude is that? Why shouldn't someone be proud of themselves, when they manage to implement a crypto library? It's not like they're asking you or anyone else to use it with sensitive data and they're not pretending it's secure or on par with others. The whole OS is a learning process for almost everyone involved and they have every right to feel proud of every little step they take. Like do you think the best in class crypto libraries out there just popped into existence or their authors wrote the perfect code on their first try? All of them were inferior wheels at one point, and all of them made mistakes and learned from them.
- breakfastduck 5y agoIt's impressive how hard you're missing the point of the project.
- yjftsjthsd-h 5y agoNot them, but this is the one place where that attitude seems reasonable: I am not a crypto expert, and therefore can't audit their crypto code, and the refrain is "don't roll your own crypto (unless you really know what you're doing)", so unless one of the devs is a crypto expert then it is 100% reasonable to both be rather worried that they're rolling their own and also unable to do anything about it.
- Deukhoofd 5y agoSerenity is not really designed for everyday use, but more for enjoyment and as a learning experience for the developers. It's not really reasonable to be worried about it from that point of view, as of course it's not professional crypto, it's written by someone who wanted to learn more about it, and figure out how it'd work in a modern system.
- breakfastduck 5y agoIts pretty sad that you're concerned about how a hobby project is handling crypto enough to complain on a forum but not enough to contribute to the project.
- ThrowawayR2 5y agoSurely you could've expressed your concerns in a more constructive way? In any case, according to their GitHub page, they use libtls, which is also apparently associated with OpenBSD.
- rbanffy 5y agoSo, they aren't "free of third-party code now" after all. Good for them.
- akling 5y agoLibTLS is our own original code [1], it has nothing to do with OpenBSD (or any other library that happens to share the name.) :) 1. https://github.com/SerenityOS/serenity/tree/master/Userland/Libraries/LibTLS https://github.com/SerenityOS/serenity/tree/master/Userland/...
- ThrowawayR2 5y agoOh, my mistake. There also exists a libtls that is part of https://www.libressl.org/ https://www.libressl.org/ which is a fork of OpenSSL that is associated with OpenBSD, so it seemed like a reasonable assumption that they are the same.