[MDEV-29991] Hashicorp key management plugin not installed on windows for MariaDB community edition Created: 2022-11-09  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Configuration, Encryption, Plugins
Affects Version/s: 10.9.4
Fix Version/s: 10.11

Type: Bug Priority: Minor
Reporter: Paul Resnic Assignee: Vladislav Vaintroub
Resolution: Unresolved Votes: 0
Labels: None
Environment:

MS Windows (64 bits)



 Description   

In MariaDB version 10.9.1 this fix was implemented
MDEV-19281 suggesting that the Hashicorp key management plugin will also be available in the community edition.
After installing the 10.9.4 version the plugin is not found in the \lib\plugin.
I could not found any other alternatives to get the plugin



 Comments   
Comment by Sergei Golubchik [ 2022-11-17 ]

hashicorp plugin needs curl that we don't have on our Windows builders.
wlad, what can be done about it? install curl and package it? link with it statically? how will it affect C/C?

Comment by Vladislav Vaintroub [ 2022-11-17 ]

There are some options aside of libcurl I can think of

  • Windows builtin WinHTTP. Invoking an HTTP request with some custom headers, and read the response, is nothing very fancy, should be doable. AWS C++ SDK was doing that on Windows, instead of pulling curl as dependency
  • Invoke curl.exe, reading its response as string . Since 2018-ish curl.exe is part of Windows (i.e c:\Windows\System32\curl.exe)
Comment by Sergei Golubchik [ 2022-11-17 ]

but still, if we put curl.lib (or whatever it's called) and the headers on Windows builder, should that work? static linking with curl?

Generated at Thu Feb 08 10:12:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.