NC 19 fails fresh cli install if mariadb root user has ed25519 auth

Hello,

I’m trying to deploy a fresh install in my RPi 4 with -also fresh-MariaDB 10.3. I configured db’s root user to use ed25519 auth method.

I tried:

sudo -u www-data php occ maintenance:install --database "mysql" --database-name "nextcloud" --database-user "root" --admin-user "username"

and I received:

Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

Am I missing something?
Any chance to support ed25519 auth method when using mariadb?

thanks for your time.