Skip to content

miladrahimi/php-jwt: Add Ed25519 and Ed448 support - #948

Open
miladrahimi wants to merge 1 commit into
jsonwebtoken:masterfrom
miladrahimi:miladrahimi-php-jwt-ed25519-ed448
Open

miladrahimi/php-jwt: Add Ed25519 and Ed448 support#948
miladrahimi wants to merge 1 commit into
jsonwebtoken:masterfrom
miladrahimi:miladrahimi-php-jwt-ed25519-ed448

Conversation

@miladrahimi

Copy link
Copy Markdown
Contributor

Updates the listing for miladrahimi/php-jwt to reflect the current state of the library as of v3.4.0, which adds the RFC 9864 fully-specified EdDSA algorithm names:

  • Ed25519 → supported, added in v3.4.0 (Ed25519Signer, Ed25519Verifier) — same libsodium keys and signatures as the already-listed EdDSA, only the alg header differs
  • Ed448 → supported, added in v3.4.0 (Ed448Signer, Ed448Verifier) — EdDSA over Curve448 via OpenSSL, with dedicated Ed448PrivateKey / Ed448PublicKey classes
  • minimumVersion bumped 3.3.03.4.0 (the first release supporting the full matrix above)

Every other entry in the listing is unchanged and still accurate.

Verification:

Note on requirements, in case it matters for the listing: Ed25519 needs ext-sodium (as EdDSA already does), and Ed448 needs PHP 8.4+ for OpenSSL's Curve448 support — the key classes throw at construction otherwise. The ML-DSA entries are deliberately left false; the library does not implement them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant