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 de323a72dd swarm-builder: lock the swarm meta flake on request
A request on $SWARM.builder.lock-meta carries a rendered flake.nix. The
builder writes it into a scratch directory, runs `nix flake lock` there
with the same forge credential helper its builds use, answers with the
flake.lock nix wrote, and removes the directory. It commits nothing; the
controller commits the lock beside the flake.

Locks are answered in their own loop, like archetype evaluations, so one
does not wait behind an hour-long build. The auth callout grants the
subject to the builder (subscribe) and the controller (publish) only.

Ported from c574a1694 onto the swarm-wire crate.

Refs #4857
2026-10-24 21:13:24 +02:00
..
agent_token.rs swarm: drop the -agent client suffix refusal from authelia and the queue responder 2026-10-24 15:02:32 +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: drop the -agent client suffix refusal from authelia and the queue responder 2026-10-24 15:02:32 +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 move stored_secret from swarm-queue-client to swarm-secret-client 2026-10-18 09:00:08 +02:00
policy.rs swarm-builder: lock the swarm meta flake on request 2026-10-24 21:13:24 +02:00
request.rs swarm-nats-auth: answer callout requests concurrently, skip expired ones 2026-10-17 23:36:01 +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: answer callout requests concurrently, skip expired ones 2026-10-17 23:36:01 +02:00