Better HN
topnewbestaskshowjobs
Log inSign up

pfohf

1 karma · joined Dec 14, 2019 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

Use a proper JOSE module like https://www.npmjs.com/package/jose that uses native node's crypto key objects (ergo not leaving you vulnerable to HMAC based validation bypass) and doesn't even implement "none" algorithm.