You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an encrypted key as the secret, I get the error Passphrase required for encrypted key but cannot see an option to pass this in. Is this a feature that's missing or something I am missing? Many thanks.
I'm wondering whether a new option for the secret could change the secret variable in this function to an object with key and passphrase to support this? I'll try to fork off this and implement this. I don't have a huge amount of time but I'll do my best
When using an encrypted key as the secret, I get the error
Passphrase required for encrypted key
but cannot see an option to pass this in. Is this a feature that's missing or something I am missing? Many thanks.According to the library you are using it seems we should be able to pass an object but it doesn't appear to work?
https://www.npmjs.com/package/jsonwebtoken#usage
jwt sign --noCopy --expiresIn '100 years' --algorithm 'RS256' -- '{"mercure": {"publish": ["*"]}}' "{key: \"$SECRET_KEY\", \"passphrase\": \"$JWT_PASSPHRASE\" }"
The text was updated successfully, but these errors were encountered: