Authentication with ed25519
This page is part of MariaDB's Documentation.
The parent of this page is: Authentication for MariaDB Enterprise Server
Topics on this page:
Overview
The ed25519
authentication plugin uses an algorithm that is based on the Elliptic Curve Digital Signature Algorithm (ECDSA).
Install
The ed25519
authentication plugin must be installed before it can be used.
To install with the INSTALL SONAME
statement:
INSTALL SONAME 'auth_ed25519';
To install in a configuration file with the plugin_load_add
option:
[mariadb]
...
plugin_load_add = auth_ed25519
Create User
To create a user account that uses the ed25519
authentication plugin, specify the plugin in the CREATE USER
statement:
CREATE USER 'USER'@'192.0.2.%'
IDENTIFIED VIA ed25519 USING PASSWORD('PASSWD');