jwt-framework
jwt-framework copied to clipboard
Load Ed25519 key
Hi, im trying to implement your framework. I've got it all working upto loading a a Ed25519 key. When i generate a key trough $key = JWKFactory::createOKPKey('Ed25519');
everything works fine, but when I try to load a openssl generated PEM keyfile from disk i'm getting a Invalid argument exception with Unable to load the key.
Is there any way to do this?
Hi @sv-db,
Unfortunately, the conversion from PEM to JWK for Ed25519/X25519 and Ed448/X448 curves is not supported. As the RFC8410 is now a proposed standard, this feature could be added.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi First of all, Thanks for your great work! I am interested on this feature. In particular the load of PEM file for X25519 key pairs. There are any update?
Hi First of all, Thanks for your great work! I am interested on this feature. In particular the load of PEM file for X25519 key pairs. There are any update?
https://www.rfc-editor.org/info/rfc8410
This states it is still a proposed standard, not an actual standard yet.
Hi @mdeboer,
Thank you for the reminder. I created a PR for that (still in progress). I need to add tests to make sure it works fine.
Will be available in 3.1.0
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.