Support Ed25519 keys for JWT

Created on 23 June 2021, over 3 years ago
Updated 12 March 2023, almost 2 years ago

Problem/Motivation

JWT library now supports Ed25519

new release: https://github.com/firebase/php-jwt/releases/tag/v5.4.0

Proposed resolution

Update the code in users_jwt module, at least, to support Ed25519 keys

Consider also adding to the main jwt module's key plugin

Also - document how to generate a Ed25519 key, using php or maybe using signify and converting to NaCl private key
https://blog.mozilla.org/warner/2011/11/29/ed25519-keys/

Or directly support conversion of signify private key to NaCl pub + private.
https://man.openbsd.org/signify.1

Remaining tasks

doit, add tests

User interface changes

changes to key/users_jwt form

API changes

n/a

Data model changes

n/a

✨ Feature request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pwolanin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024