Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
10.5, 10.6, 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.7(EOL), 10.8(EOL)
-
None
Description
When more than one key management plugin are turned on either on server startup or at runtime, the second and other plugins fail to load with the error
10.2 27b5d814 |
MariaDB [test]> install soname 'example_key_management';
|
ERROR 1123 (HY000): Can't initialize function 'example_key_management'; Plugin initialization function failed.
|
2022-04-11 0:41:54 140483355105024 [ERROR] Plugin 'example_key_management' registration as a ENCRYPTION failed.
|
It was a theoretical problem till now, as we only had one "real" plugin, but now with hashicorp being added it becomes more practical.
Probably the rejection is intentional, but it would be good to produce a more comprehensive error message (in the log at least).
Attachments
Issue Links
- relates to
-
MDEV-9948 Failing assertion: new_state->key_version != ENCRYPTION_KEY_VERSION_INVALID in fil0crypt.cc
- Closed