[MDEV-27104] deprecate DES_ENCRYPT/DECRYPT functions Created: 2021-11-21 Updated: 2023-08-08 Resolved: 2022-07-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, SSL |
| Fix Version/s: | 10.10.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Preview_10.10 | ||
| Issue Links: |
|
||||||||
| Description |
|
Hopefully nobody uses them anymore. https://en.wikipedia.org/wiki/Triple_DES:
|
| Comments |
| Comment by Sergei Golubchik [ 2022-06-19 ] | |||||||||||
|
branch preview-10.10-misc | |||||||||||
| Comment by Michael Widenius [ 2022-06-20 ] | |||||||||||
|
Please stop testing this until it is clearly documented why we should remove this function. The default is that MariaDB should NOT remove any old functions or functionality that people MAY still use, unless there is a VERY good reason why we cannot support the old functionality anymore. What have we done to ensure/check that these functions are still not used. | |||||||||||
| Comment by Sergei Golubchik [ 2022-06-21 ] | |||||||||||
|
These questions will be relevant when we'll be removing this functionality. For now we only warn people that they should not be using DES.
One can brute-force the password in 15 days using a $1000 off-the-shelf Nvidia card. Or under 2 days with 8 such cards. Plain DES is pretty much irrelevant nowadays. | |||||||||||
| Comment by Sergei Golubchik [ 2022-06-27 ] | |||||||||||
|
in bb-10.10- | |||||||||||
| Comment by Lena Startseva [ 2022-07-14 ] | |||||||||||
|
Test main.func_encrypt_nossl fails. Ex.:
Expected result:
Actual result:
serg, please, fix the test. | |||||||||||
| Comment by Sergei Golubchik [ 2022-07-18 ] | |||||||||||
|
Not quite. This test was supposed to be run when no ssl support is compiled in. But you can run this test with --mysqld=--skip-ssl. It'll run but fail as above, because ssl support is present in the binary. I'll update the test. | |||||||||||
| Comment by Lena Startseva [ 2022-07-25 ] | |||||||||||
|
Now all tests pass. |