1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-32618 new auth plugin

PARSEC: Password Authentication using Response Signed with Elliptic Curve

new authentication plugin that uses salted passwords,
key derivation, extensible password storage format,
and both server- and client-side scrambles.

It signs the response with ed25519, but it uses stock
unmodified ed25519 as provided by OpenSSL/WolfSSL/GnuTLS.

Edited by: Sergei Golubchik
This commit is contained in:
Nikita Malyavin
2024-05-21 22:11:04 +02:00
committed by Oleksandr Byelkin
parent 68e369e3a9
commit e580cf7ae0
14 changed files with 445 additions and 20 deletions

View File

@@ -1,12 +1,12 @@
install soname 'client_ed25519';
install soname 'CLIENT_PLUGIN';
Got one of the listed errors
include/master-slave.inc
[connection master]
connection slave;
install soname 'auth_ed25519';
install soname 'auth_PLUGIN';
connection master;
install soname 'auth_ed25519';
create user rpluser@'%' identified via ed25519 using PASSWORD('rpl_pass');
install soname 'auth_plugin';
create user rpluser@'%' identified via PLUGIN using PASSWORD('rpl_pass');
grant replication slave on *.* to rpluser@'%';
connection master;
connection slave;
@@ -19,7 +19,7 @@ change master to master_user='root', master_password='';
include/start_slave.inc
include/stop_slave.inc
drop user rpluser@'%';
uninstall soname 'auth_ed25519';
uninstall soname 'auth_plugin';
connection master;
drop user rpluser@'%';
uninstall soname 'auth_ed25519';
uninstall soname 'auth_plugin';