-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
freeradius3-common: Shouldn't it be depended on libopenssl-legacy
?
#21428
Comments
Hi Here's OpenSSL's description of the legacy provider:
It means those algorithms have been retired, and we shall stop using them, or at least prepare ourselves for life without them. If the default configuration needs something from the legacy provider, we should consider changing the defaults, not cripple the security. I believe that installing libopenssl-legacy should be treated as an "expert users-only" option, to be used by people who I'm not familiar with freeradius and its configuration, so I can't attest what parts of the config breaks without legacy cipher suites, but I see MSCHAPv2 docs mentioning DES, RC4 and MD4, all of which have been moved to legacy. DES is not being handled by OpenSSL, apparently. Grepping through the code I see MD4 being used, but it has an internal implementation that we can use instead of relying on OpenSSL. This should be enough to fix the RC4 is used only in the mschap module, so here's a legit candidate for a legacy dependency. Do you know if mschapv2 can be used without RC4? |
I have a PR that switches 3.2.x to use the internal MD4 so that it is no longer dependent on OpenSSL legacy the code only mentions using legacy for MD4. I'll be happy to submit it when FreeRADIUS gets bumped. There is some discussion about using the internal MD4/MD5 on the FreeRADIUS github. The only issue is there is a "significant performance penalty" to using the internal routines. This does argue for using the legacy for as long as possible. When I looked the legacy option seems to be needed by the hostapd/wpa/wpad openssl so doesn't it get compiled in anyway? |
What attributes are needed for freeradius-3.0.26
|
Maintainer: common packages maintainers and personally @cotequeiroz
Environment: arch:
aarch64
, model:Xiaomi AX3600 global
, OpenWrt version: OpenWrt SNAPSHOT (r23422-e0fb38f4ee)Packages:
freeradius3-common 3.0.26-1
libopenssl-legacy 3.0.9-2
What happened:
freeradius3
.snapshot
, andfreeradius3 radiusd
failed to start, blabbed somethingTLS: failed loading legacy provider
.freeradius3 radiusd
spits implies, installinglibopenssl-legacy
fixed it.So the question is: Shouldn't
freeradius3-common
be depended onlibopenssl-legacy
?P.S.
freeradius3
neediness oflibopenssl-legacy
may heavily depend on howfreeradius3
configured (ciphersuites and such)freeradius3
configured absoultely standard, I think that for uscopypaste /etc/freeradius3 from wiki and don't touch
-folksfreeradius3-common
better be depended onlibopenssl-legacy
.The text was updated successfully, but these errors were encountered: