2026-10-25 17:28:14 +00:00
|
|
|
module basicstack.de/proofedmesh/services/admin-api
|
|
|
|
|
|
2026-10-25 20:00:58 +00:00
|
|
|
go 1.26.0
|
2026-10-25 18:08:53 +00:00
|
|
|
|
2026-10-25 18:11:09 +00:00
|
|
|
// Interop tests under internal/tlog and internal/attest exercise the real
|
|
|
|
|
// sibling services (transparency-log and signing-service) via their public
|
|
|
|
|
// pkg APIs. These modules are only available locally in this monorepo; keep
|
|
|
|
|
// each replace directive aligned with the sibling's path.
|
2026-10-25 18:08:53 +00:00
|
|
|
replace basicstack.de/proofedmesh/services/transparency-log => ../transparency-log
|
|
|
|
|
|
2026-10-25 18:11:09 +00:00
|
|
|
replace basicstack.de/proofedmesh/services/signing-service => ../signing-service
|
|
|
|
|
|
|
|
|
|
require (
|
|
|
|
|
basicstack.de/proofedmesh/services/signing-service v0.0.0
|
|
|
|
|
basicstack.de/proofedmesh/services/transparency-log v0.0.0
|
|
|
|
|
)
|
transparency-log: real Trillian backend wiring + agent-trust deploy (DEV-604)
- services/transparency-log/pkg/backend/trillian.go: real gRPC client
on github.com/google/trillian v1.6.1. Submit() does QueueLeaf with the
canonical DSSE envelope as LeafValue and the raw content_hash bytes as
LeafIdentityHash, then polls GetLatestSignedLogRoot +
GetInclusionProofByHash until the leaf is sequenced. Idempotency uses
Trillian's ALREADY_EXISTS signal on the inner QueuedLogLeaf.Status, so
a repeated submit still returns 200 OK with the originally-assigned
log_index + a valid proof against the current STH.
- Unconfigured backend (missing endpoint or LogID) returns the historical
ErrTrillianUnavailable so the httpapi layer keeps mapping it to 503
instead of silently 500. Existing stub-returns-503 test updated.
- cmd/transparency-log: pointer-receiver Trillian wiring; flag docs
mention the production SRV name.
- services/transparency-log/Dockerfile: distroless multi-stage build
used by deploy/trillian/40-transparency-log.yaml.
- deploy/trillian/: full K8s stack for the agent-trust namespace —
MySQL 8.4 StatefulSet (schema init ConfigMap vendored from upstream
storage.sql v1.6.1), Trillian LogServer + LogSigner Deployments on
gcr.io/trillian-opensource-ci:v1.6.1, createtree Job that writes
the TreeID to a ConfigMap (re-apply safe), transparency-log
Deployment with --backend=trillian pulling TRILLIAN_LOG_ID from
the ConfigMap.
- deploy/trillian/README.md: first-time apply + smoke-test + secret
rotation + signer-key clarification (STH key is Trillian-internal;
DSSE envelope signing stays with signing-service / OpenBao).
- services/admin-api: go.mod / go.sum pick up the new transitive deps
(trillian + grpc) via the local replace on transparency-log.
- services/transparency-log/README.md: Backends table updated; next-
steps list no longer carries Trillian-deployment as a follow-up.
Deployed to the live cluster from this heartbeat: MySQL + LogServer +
LogSigner running in agent-trust, tree id 8482455225499059043, service
smoke-tested end-to-end (201 on first POST, 200 on idempotent repeat,
409 on content_hash mismatch, tree_size=2 with correct audit path).
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-25 18:39:44 +00:00
|
|
|
|
|
|
|
|
require (
|
2026-10-25 20:00:58 +00:00
|
|
|
github.com/agnivade/levenshtein v1.2.1 // indirect
|
|
|
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
|
|
|
github.com/coreos/go-oidc/v3 v3.21.0 // indirect
|
|
|
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.1 // indirect
|
|
|
|
|
github.com/go-jose/go-jose/v4 v4.1.4 // indirect
|
|
|
|
|
github.com/gobwas/glob v1.0.0 // indirect
|
|
|
|
|
github.com/goccy/go-json v0.10.6 // indirect
|
transparency-log: real Trillian backend wiring + agent-trust deploy (DEV-604)
- services/transparency-log/pkg/backend/trillian.go: real gRPC client
on github.com/google/trillian v1.6.1. Submit() does QueueLeaf with the
canonical DSSE envelope as LeafValue and the raw content_hash bytes as
LeafIdentityHash, then polls GetLatestSignedLogRoot +
GetInclusionProofByHash until the leaf is sequenced. Idempotency uses
Trillian's ALREADY_EXISTS signal on the inner QueuedLogLeaf.Status, so
a repeated submit still returns 200 OK with the originally-assigned
log_index + a valid proof against the current STH.
- Unconfigured backend (missing endpoint or LogID) returns the historical
ErrTrillianUnavailable so the httpapi layer keeps mapping it to 503
instead of silently 500. Existing stub-returns-503 test updated.
- cmd/transparency-log: pointer-receiver Trillian wiring; flag docs
mention the production SRV name.
- services/transparency-log/Dockerfile: distroless multi-stage build
used by deploy/trillian/40-transparency-log.yaml.
- deploy/trillian/: full K8s stack for the agent-trust namespace —
MySQL 8.4 StatefulSet (schema init ConfigMap vendored from upstream
storage.sql v1.6.1), Trillian LogServer + LogSigner Deployments on
gcr.io/trillian-opensource-ci:v1.6.1, createtree Job that writes
the TreeID to a ConfigMap (re-apply safe), transparency-log
Deployment with --backend=trillian pulling TRILLIAN_LOG_ID from
the ConfigMap.
- deploy/trillian/README.md: first-time apply + smoke-test + secret
rotation + signer-key clarification (STH key is Trillian-internal;
DSSE envelope signing stays with signing-service / OpenBao).
- services/admin-api: go.mod / go.sum pick up the new transitive deps
(trillian + grpc) via the local replace on transparency-log.
- services/transparency-log/README.md: Backends table updated; next-
steps list no longer carries Trillian-deployment as a follow-up.
Deployed to the live cluster from this heartbeat: MySQL + LogServer +
LogSigner running in agent-trust, tree id 8482455225499059043, service
smoke-tested end-to-end (201 on first POST, 200 on idempotent repeat,
409 on content_hash mismatch, tree_size=2 with correct audit path).
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-25 18:39:44 +00:00
|
|
|
github.com/google/trillian v1.6.1 // indirect
|
2026-10-25 20:00:58 +00:00
|
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
|
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
|
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
|
|
|
github.com/jackc/pgx/v5 v5.11.0 // indirect
|
|
|
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
|
|
|
github.com/lestrrat-go/blackmagic v1.0.4 // indirect
|
|
|
|
|
github.com/lestrrat-go/dsig v1.4.0 // indirect
|
|
|
|
|
github.com/lestrrat-go/dsig-secp256k1 v1.0.0 // indirect
|
|
|
|
|
github.com/lestrrat-go/httpcc v1.0.1 // indirect
|
|
|
|
|
github.com/lestrrat-go/httprc/v3 v3.0.6 // indirect
|
|
|
|
|
github.com/lestrrat-go/jwx/v3 v3.3.0 // indirect
|
|
|
|
|
github.com/lestrrat-go/option/v2 v2.0.0 // indirect
|
|
|
|
|
github.com/open-policy-agent/opa v1.21.4 // indirect
|
|
|
|
|
github.com/rcrowley/go-metrics v0.0.0-20250401214520-65e299d6c5c9 // indirect
|
|
|
|
|
github.com/segmentio/asm v1.2.1 // indirect
|
|
|
|
|
github.com/sirupsen/logrus v1.10.2 // indirect
|
|
|
|
|
github.com/tchap/go-patricia/v2 v2.3.3 // indirect
|
|
|
|
|
github.com/valyala/fastjson v1.6.10 // indirect
|
|
|
|
|
github.com/vektah/gqlparser/v2 v2.5.37 // indirect
|
|
|
|
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
|
|
|
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
|
|
|
|
github.com/yashtewari/glob-intersection v0.2.0 // indirect
|
|
|
|
|
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
|
|
|
|
golang.org/x/crypto v0.57.0 // indirect
|
|
|
|
|
golang.org/x/net v0.60.0 // indirect
|
|
|
|
|
golang.org/x/oauth2 v0.36.0 // indirect
|
|
|
|
|
golang.org/x/sync v0.23.0 // indirect
|
|
|
|
|
golang.org/x/sys v0.48.0 // indirect
|
|
|
|
|
golang.org/x/text v0.42.0 // indirect
|
|
|
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect
|
|
|
|
|
google.golang.org/grpc v1.83.2 // indirect
|
|
|
|
|
google.golang.org/protobuf v1.36.12 // indirect
|
transparency-log: real Trillian backend wiring + agent-trust deploy (DEV-604)
- services/transparency-log/pkg/backend/trillian.go: real gRPC client
on github.com/google/trillian v1.6.1. Submit() does QueueLeaf with the
canonical DSSE envelope as LeafValue and the raw content_hash bytes as
LeafIdentityHash, then polls GetLatestSignedLogRoot +
GetInclusionProofByHash until the leaf is sequenced. Idempotency uses
Trillian's ALREADY_EXISTS signal on the inner QueuedLogLeaf.Status, so
a repeated submit still returns 200 OK with the originally-assigned
log_index + a valid proof against the current STH.
- Unconfigured backend (missing endpoint or LogID) returns the historical
ErrTrillianUnavailable so the httpapi layer keeps mapping it to 503
instead of silently 500. Existing stub-returns-503 test updated.
- cmd/transparency-log: pointer-receiver Trillian wiring; flag docs
mention the production SRV name.
- services/transparency-log/Dockerfile: distroless multi-stage build
used by deploy/trillian/40-transparency-log.yaml.
- deploy/trillian/: full K8s stack for the agent-trust namespace —
MySQL 8.4 StatefulSet (schema init ConfigMap vendored from upstream
storage.sql v1.6.1), Trillian LogServer + LogSigner Deployments on
gcr.io/trillian-opensource-ci:v1.6.1, createtree Job that writes
the TreeID to a ConfigMap (re-apply safe), transparency-log
Deployment with --backend=trillian pulling TRILLIAN_LOG_ID from
the ConfigMap.
- deploy/trillian/README.md: first-time apply + smoke-test + secret
rotation + signer-key clarification (STH key is Trillian-internal;
DSSE envelope signing stays with signing-service / OpenBao).
- services/admin-api: go.mod / go.sum pick up the new transitive deps
(trillian + grpc) via the local replace on transparency-log.
- services/transparency-log/README.md: Backends table updated; next-
steps list no longer carries Trillian-deployment as a follow-up.
Deployed to the live cluster from this heartbeat: MySQL + LogServer +
LogSigner running in agent-trust, tree id 8482455225499059043, service
smoke-tested end-to-end (201 on first POST, 200 on idempotent repeat,
409 on content_hash mismatch, tree_size=2 with correct audit path).
Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-10-25 18:39:44 +00:00
|
|
|
)
|