The holder's code over a real nats-server bucket with a time to live per key: issue, the operator's yes, redeem as enrol.ace, the node confirming as the login its key of node-logins names (the stand-in vault writes it at node-account), node-enrolled and placement-changed said on their subjects, the user enrol.ace composed while the key is live and gone with it, the token dropped only after the end; and a token never redeemed expires on the bus, is heard, says enrolment-expired and is dropped. Found by it: a bucket with a time to live per key must keep one revision per key, or the bus expires nothing (nats-server 2.11.17), so the state enrolments declares no history. Paid for: the integration test is paid by merging the builder's archive-only and root-module integration tests into one table test; the module's ten unit tests by merging the assigner's three small composition tests into one table (net 2 of 10 paid; the rest is for the lead, the repository being over budget). (issue 774, 774/S60) Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
23 lines
684 B
AMPL
23 lines
684 B
AMPL
module mesh-enrolment
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
git.novox.be/novox/mesh-sdk/go v0.1.14-0.20261101151945-b2a27ed5cec4
|
|
github.com/nats-io/nats-server/v2 v2.11.17
|
|
github.com/nats-io/nats.go v1.54.0
|
|
)
|
|
|
|
require (
|
|
github.com/antithesishq/antithesis-sdk-go v0.7.0-default-no-op // indirect
|
|
github.com/google/go-tpm v0.9.8 // indirect
|
|
github.com/klauspost/compress v1.20.0 // indirect
|
|
github.com/minio/highwayhash v1.0.4 // indirect
|
|
github.com/nats-io/jwt/v2 v2.8.1 // indirect
|
|
github.com/nats-io/nkeys v0.4.16 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
golang.org/x/crypto v0.57.0 // indirect
|
|
golang.org/x/sys v0.48.0 // indirect
|
|
golang.org/x/time v0.15.0 // indirect
|
|
)
|