Conversation
|
Was puzzled for a bit why EdDSA didn't work myself as well. Will this be merged? |
|
@SaltyAom Any review on this? 🙃 |
I tried using the PR version in some test code ( EdDSA works but perhaps add some basic unit tests for all the other options to spot check. Also, I noticed TypeScript type inferencing is broken unlike the latest release version. My test code looked something like this:
|
f1ea0df to
28be467
Compare
I don't have problems with types. What version of TS are you using? Try using P.S. I discarded the build commits in the main branch of my fork to be able to sync it |
Details
Asymmetric algorithms are not currently supported. At least I have not been able to get EdDSA to work as I described in #21.
Feature
How it works now
For asymmetric algorithms, use the
privateKeyandpublicKeypropertiesAs long as the PR is open
You can use this feature now
{ "dependencies": { "@elysiajs/jwt": "github.com:LIMPIX31/elysia-jwt#8805cdfc6242f0bdb1079b26a46014f37fc08f7f" } }@SaltyAom