mariadb/mysqlnd_ed25519 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱: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

统计信息

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

GitHub 信息

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

其他信息

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