Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes jwt command to support EdDSA algorithm #118

Merged
merged 1 commit into from Nov 3, 2021

Conversation

AlexanderYastrebov
Copy link
Contributor

Fixes

$ echo '{"foo":"bar"}' | jwt -key test/ed25519-private.pem -alg EdDSA -sign -
Error: error signing token: key is of invalid type

Signed-off-by: Alexander Yastrebov yastrebov.alex@gmail.com

Fixes
```
$ echo '{"foo":"bar"}' | jwt -key test/ed25519-private.pem -alg EdDSA -sign -
Error: error signing token: key is of invalid type
```

Signed-off-by: Alexander Yastrebov <yastrebov.alex@gmail.com>
@mfridman mfridman merged commit 9c3665f into golang-jwt:main Nov 3, 2021
@AlexanderYastrebov AlexanderYastrebov deleted the fixes-ed25519-cmd branch November 3, 2021 15:40
oxisto pushed a commit to moneszarrugh/jwt that referenced this pull request Feb 21, 2023
Fixes
```
$ echo '{"foo":"bar"}' | jwt -key test/ed25519-private.pem -alg EdDSA -sign -
Error: error signing token: key is of invalid type
```

Signed-off-by: Alexander Yastrebov <yastrebov.alex@gmail.com>
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.

None yet

3 participants