Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We instrument JWT libraries directly (jsonwebtoken, jwks-rsa). Both `jwt.sign()` and `jwt.verify()` are captured during recording and replayed with the original results. During replay, you get back the recorded verification result. So if the token was valid during recording, it stays valid during replay, even if it would be expired "now". The test runs in the temporal context of when it was recorded.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: