Help us shape the future of Go! Take the 2026 Go Developer Survey

mockupstream

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Command mockupstream plays "the real enterprise service": it never trusts the proxy blindly, it verifies each capability token itself - a biscuit token's full signature chain plus its appended checks (internal/capability.Verify). Rather than a single public key hardcoded via env var, it fetches the proxy's key-rotation discovery endpoint (GET /biscuit-keys) at startup and refreshes it periodically, so a signing-key rotation on the proxy side reaches this verifier without a synchronized manual update or a restart - see internal/capability/keyring.go.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL