- services/signing-service/pkg/httpapi exposes NewTestHandler so sibling modules can build the real signing-service in-process (same pattern transparency-log already uses). - services/admin-api/internal/attest/interop_signing_test.go drives the real attest.HTTPSigner against the real signing-service handler and asserts the end-to-end ADR-0005 round-trip: envelope shape, keyid, content_hash self-consistency across canonicalisers, Ed25519 signature verification with the server's public key, and canonical-payload byte equality. Closes the "Interop-Test: admin-api attest.HTTPSigner-Client erfolgreich gegen diesen Server" acceptance criterion from DEV-599. Co-Authored-By: Paperclip <noreply@paperclip.ing>
16 lines
646 B
Modula-2
16 lines
646 B
Modula-2
module basicstack.de/proofedmesh/services/admin-api
|
|
|
|
go 1.23
|
|
|
|
// 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.
|
|
replace basicstack.de/proofedmesh/services/transparency-log => ../transparency-log
|
|
|
|
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
|
|
)
|