This is an automated email from the ASF dual-hosted git repository. arm pushed a commit to branch arm in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit a0927d24923e969346492776fa5fec6b659b23fe Author: Alastair McFarlane <[email protected]> AuthorDate: Tue Feb 17 10:06:47 2026 +0000 Add nbf claim to JWTs. Closes #675. --- atr/jwtoken.py | 1 + 1 file changed, 1 insertion(+) diff --git a/atr/jwtoken.py b/atr/jwtoken.py index 5034d95a..61bdf1dd 100644 --- a/atr/jwtoken.py +++ b/atr/jwtoken.py @@ -56,6 +56,7 @@ def issue(uid: str, *, ttl: int = _ATR_JWT_TTL) -> str: "iss": _ATR_JWT_ISSUER, "aud": _ATR_JWT_AUDIENCE, "iat": now, + "nbf": now, "exp": now + datetime.timedelta(seconds=ttl), "jti": secrets.token_hex(128 // 8), } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
