Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-nats-auth/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas e405c2b098 swarm-nats-auth: give issued user JWTs an exp
The user JWT the callout issues carried no exp, so nats-server armed no
expiry timer and a connection kept its grant until the client dropped it:
a deleted or re-minted agent queue secret, a removed OIDC client or an
expired access token never reached a live connection.

Every issued user JWT now expires at the presented OIDC token's exp
(read from the introspection answer) or an hour after issue, whichever
is sooner; the agent queue-secret path has no exp of its own and gets
the hour. Every queue client reconnects through an auth callback that
re-reads or re-mints its credential, so the forced reconnect presents a
current one.

Fixes #5432
2026-10-17 16:29:55 +02:00
..
agent_token.rs keep the operator list under one key and read it with one direct get 2026-10-17 13:10:05 +02:00
introspect.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00
keystore.rs swarm-nats-auth: read the callout issuer and user seeds from the store 2026-10-06 14:53:33 +02:00
main.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00
nkey.rs swarm-nats-auth: read the callout issuer and user seeds from the store 2026-10-06 14:53:33 +02:00
oidc_secret.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00
policy.rs archetypes: create an agent from an archetype with no config repo 2026-10-17 16:27:21 +02:00
request.rs feat(swarm): the auth-callout responder (#3112 slice 2) 2026-08-15 09:34:33 +02:00
respond.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00
xkey.rs swarm-nats-auth: give issued user JWTs an exp 2026-10-17 16:29:55 +02:00