- Status changed to Needs work
4 months ago 9:24pm 29 September 2024
The latest release of the JWT lib added Ed25519 signature support:
https://github.com/firebase/php-jwt/releases/tag/v5.4.0
This would be a faster and more compact option for asymmetric keys, especially for users_jwt
Add Ed25519 support - this is possible since the 2.x branch requires at least version 5.5 of the JWT library.
Update this to generate Ed25519 also:
\Drupal\users_jwt\Form\UsersGenerateKeyForm
Add option for Ed25519 to
\Drupal\users_jwt\UsersJwtKeyRepository::algorithmOptions
create a new Key for Ed25519 plugin similar to:
class JwtRsKeyType extends KeyTypeBase implements KeyPluginFormInterface {
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/
AND/OR directly support conversion of signify private key to NaCl pub + private.
https://man.openbsd.org/signify.1
Options for keys
n/a
n/a
Active
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.