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
Currently there is a bug in node-jws where supplying undefined or other falsy value to secret results in the signing process never running to completion.
The solution for the problem is known and should probably be fixed upstream, but since this directly affects this library as well and given its popularity I thought I'd let you know. Perhaps you'd like to make sure secret has a value before handing it over to JWS for signing, I do not see much use of using undefined as my secret, anyway.
Good luck and merry Christmas! 🎁 🎅
The text was updated successfully, but these errors were encountered:
After a breaking change detected on the fix developed for this issue, this bug remains open only for the case where the algorithm is none and the consumer is using callback-ish code style.
We'll need to think how to fix that or try to fix the bug in jws.
Currently there is a bug in node-jws where supplying
undefined
or other falsy value tosecret
results in the signing process never running to completion.The solution for the problem is known and should probably be fixed upstream, but since this directly affects this library as well and given its popularity I thought I'd let you know. Perhaps you'd like to make sure
secret
has a value before handing it over to JWS for signing, I do not see much use of usingundefined
as my secret, anyway.Good luck and merry Christmas! 🎁 🎅
The text was updated successfully, but these errors were encountered: