定制 mariadb/mysqlnd_ed25519 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mariadb/mysqlnd_ed25519

最新稳定版本:1.0.2

Composer 安装命令:

pie install mariadb/mysqlnd_ed25519

包简介

MariaDB ed25519 authentication plugin for mysqlnd

README 文档

README

A mysqlnd authentication plugin providing Ed25519-based authentication for PHP when connecting to MariaDB servers.

Why?

PHP currently connects to MariaDB servers using mysql_native_password, which relies on SHA1, a deprecated and insecure algorithm.

Ed25519 provides modern, secure, and fast public-key authentication, helping to eliminate SHA1 usage in your PHP–MariaDB connections.

Features

  • Ed25519 authentication using libsodium.
  • Drop-in authentication plugin for mysqlnd.
  • Supports MariaDB servers configured with the ed25519 authentication plugin.

Requirements

  • PHP 8.1 or newer with mysqlnd.
  • libsodium development libraries.
  • MariaDB server configured with ed25519 authentication plugin. (version 10.4.3 or newer)

Installation

Normal installation

mysqlnd_ed25519 is usually built and installed automatically when installed through PHP's pie installer.

On Posix systems the pie installer also adds a configuration entry for the mysqlnd_ed25519 plugin. On Windows you need to enable the plugin in your php.init file:

extension=mysqlnd_ed25519

Building from source

If you cloned the repository or want to build manually:

phpize
./configure
make
sudo make install

统计信息

  • 总下载量: 27
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: C

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2025-11-02