-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build with LibreSSL #15
Conversation
LibreSSL has removed RAND_egd completely, this patch adds RAND_egd detection to configure and adds HAVE_RAND_EGD checks to the code where required.
|
Thanks for the patch. I will have a look today but first glance looks good. And yeah we should look at removing - modern OS manages entropy better than OpenSSL a can hope to. |
|
It isn't even an OpenSSL thing... EGD is the python Entropy Gathering Daemon, all modern OSes have a proper source of randomness, even Windows. OpenSSL just supports using EGD as a source. Anyone requiring EGD will be running on a platform so old that it's highly unlikely they'll be able to run any recent software. |
|
Perhaps, but compatibility is still a concern, so it's something for us to look into to verify there's not a reason to keep the support there and discourage it over removing it entirely. In any event - thanks for the patch! |
|
Compatibility with what exactly? The only place EGD applies is on systems from the 1990s. Do you really think anyone is deploying UnrealIRCd on SunOS (not Solaris, but BSD-derived SunOS)? |
|
It's a possibility - I don't think it's likely, but I also don't mind including the ability to use EGD in these specific cases since it doesn't actually harm users that don't use EGD. If you have additional concerns feel free to chat w/ me about it offline, it's probably easier, I'm on Atheme or ECNet - Heero. |
|
Keep in mind that we're talking about very old commercial unix here. EGD needed until OS release date |
|
I understand that - and it's probably fine to remove this support - but my bias is towards making sure I don't rip out the carpet from people, so I'd rather take some steps to assure that before removal, and then consider the removal. |
|
certainly! :) |
|
I encourage you to attempt building even UnrealIRCd 3.2 on these platforms (hint: I did it for you, it doesn't build on IRIX, AIX or Tru64. I don't have access to the others, but UnrealIRCd does not support HP-UX's |
|
Okay, thanks for looking at that. As I noted I want to perform due diligence before removing this - this is part but not all of that. Thanks for the information though it makes looking into this quite a bit easier! |
|
As I recall, SunOS So, basically:
I do not think Unreal is in use on any of these platforms or ever has been... |
|
Thanks for the information - I appreciate it. I still have some other things I need to check prior to removing this, but the information does make it easier to make a call. Thanks again! |
LibreSSL has removed RAND_egd completely, this patch adds RAND_egd
detection to configure and adds HAVE_RAND_EGD checks to the code where
required.
Please consider removing EGD support completely, there's no OS that does not have a proper source of random for many years.