Add producer-owned authenticated Go decision client and validated Forgejo profile
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Build and Publish Container Image / build-and-push (push) Successful in 1m22s

Assistant: codex
Assistant-Model: gpt-6.1-sol
Assistant-Session: 01a14bfc-9643-7872-aa12-98326dcf25e7
This commit is contained in:
tegwick 2026-10-18 01:20:05 +02:00
parent d328a26010
commit ca0cb75729
24 changed files with 2980 additions and 4 deletions

View file

@ -0,0 +1,14 @@
// Package signfixture exposes producer signing only for synthetic consumer tests.
// Callers supply test keys; this package contains no credentials or runtime signer.
package signfixture
import (
"crypto/ed25519"
"github.com/netkingdom/access-engine/internal/sign"
"github.com/netkingdom/access-engine/pkg/api"
)
// Sign uses the unchanged producer envelope format with a caller-owned fixture key.
func Sign(envelope *api.DecisionEnvelope, key ed25519.PrivateKey, kid string) error {
return sign.Sign(envelope, key, kid)
}