[MDEV-26015] Remove DH param stuff Created: 2021-06-24 Updated: 2023-11-08 |
|
| Status: | In Review |
| Project: | MariaDB Server |
| Component/s: | SSL |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The size of DH (Diffie Hellmann) group parameter in MariaDB Server cannot be changed, since it uses a fixed size of 2048. Citing OpenSSL Wiki: Citing manpage for SSL_CTX_set_tmp_dh "Applications may supply their own DH parameters instead of using the built-in values. So easiest solution would be to use SSL_CTX_set_auto_dh() instead. Please also note that the current code for DH params doesn't work with OSSL3 anymore. |
| Comments |
| Comment by Georg Richter [ 2021-06-30 ] | ||||
|
Pull request: https://github.com/MariaDB/server/pull/1868 | ||||
| Comment by Sergei Golubchik [ 2021-06-30 ] | ||||
|
why is it 10.6 only? what's the risk? | ||||
| Comment by Georg Richter [ 2021-06-30 ] | ||||
|
You're right - could go into oldest supported version and merged. | ||||
| Comment by Vladislav Vaintroub [ 2021-06-30 ] | ||||
|
georg, Please fix the test on Windows, before it can be reviewed.
| ||||
| Comment by Georg Richter [ 2021-09-22 ] | ||||
|
Not possible to get it work with WolfSSL or Yassl. | ||||
| Comment by Sergei Golubchik [ 2023-11-08 ] | ||||
|
reopened. couldn't find the commit pushed anywhere, perhaps it was closed by mistake? |