Unable to use ES256 as jwt sign/verify algorithm #4254
Unanswered
AndrewKahr
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I am not sure to be honest verdaccio only pass down those props to jsomwebtoken library you might need to search over there instead. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just started using Verdaccio so it is very possible that I have misconfigured something, but when I try to set the jwt algorithm to ES256 as specified as an option in the jsonwebtoken library I get the following error in the log and verdaccio crashes:
From what I gather, I need to set up a keypair for it to use to sign with but I can't quite find where I can provide the paths for the public/private keys.
I am running Verdaccio inside docker using the latest v5 image (5.28.0) and have it running behind an nginx proxy. Below is the security section inside my config file:
Any guidance on this would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions