php / php/php-src

Implement PARSEC auth for mysqlnd

Open
#20,306 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Extension: mysqlnd Feature Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

MariaDB 11.8 added the PARSEC (Password Authentication using Response Signed with Elliptic Curve) authentication plugin.

See
Authentication Plugin Added: PARSEC

PARSEC can be seen as an enhancement of the ED25519 authentication plugin. There is already a feature request for ED25519:
#14258

Currently the PARSEC authentication is unsupported in PHP mysqlnd:

mysqli_sql_exception: The server requested authentication method unknown to the client [parsec] in parsec-connect.php on line 20

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PARSEC authentication description linked in the issue and reproduce the failure using parsec-connect.php at line 20. Compare the requested support with the existing ED25519 feature request (#14258); done means PHP mysqlnd accepts MariaDB's parsec authentication instead of reporting an unknown authentication method.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, mariadb, php
Domain
authentication, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.