Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-logs-auth
Repository files (latest commit first)
Filename Latest commit message Latest commit date
maia c815e0d59b swarm-logs-auth: one store login serves the credential and the grant
An uncached request read the agent's queue credential (swarm_agent_verify::
verify through Store::lookup) and then its permission grant
(Store::read_optional), and each read did its own bao cert login, so a cold
bearer cost two logins.

Add swarm_agent_verify::Store::connect, which logs in once and returns a
Connection that implements CredentialSource and reads any path. swarm-logs-auth
connects once per uncached request, bounded by the lookup timeout, and uses the
connection for both reads. A login that fails or times out denies the request
and reads nothing. Store's own per-read login stays for swarm-nats-auth.
2026-11-30 17:08:20 +01:00
..
src swarm-logs-auth: one store login serves the credential and the grant 2026-11-30 17:08:20 +01:00
Cargo.toml seven daemons log through hive-log so the log store gets their severities 2026-11-19 08:36:10 +01:00