SPIRE plugins: Keylime node attestor (Go)
Find a file
Tyler King 6321037ac1 Add network-policy extension and network governance lifecycle events
New shellstream extension §10.6 network-policy@guildhouse.dev carrying
GovernedNetworkPolicy hash in SSH certificates. New §8.7 in upper layers
spec documenting network governance lifecycle events (attach, detach,
flow policy, route announce/withdraw) emitted by governance-notifier
using the tiered consent transport model.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 19:38:13 -05:00
.github/workflows Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00
cmd Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00
deploy Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00
docs Add network-policy extension and network governance lifecycle events 2026-02-26 19:38:13 -05:00
pkg Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00
proto Initial scaffolding: specs, plugins, pkg/shellstream 2026-02-18 10:47:09 -05:00
specs Add network-policy extension and network governance lifecycle events 2026-02-26 19:38:13 -05:00
test/fixtures Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00
.gitignore Initial scaffolding: specs, plugins, pkg/shellstream 2026-02-18 10:47:09 -05:00
AUDIT.md Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00
buf.gen.yaml Initial scaffolding: specs, plugins, pkg/shellstream 2026-02-18 10:47:09 -05:00
buf.yaml Initial scaffolding: specs, plugins, pkg/shellstream 2026-02-18 10:47:09 -05:00
go.mod Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00
go.sum Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00
LICENSE Initial scaffolding: specs, plugins, pkg/shellstream 2026-02-18 10:47:09 -05:00
Makefile Initial scaffolding: specs, plugins, pkg/shellstream 2026-02-18 10:47:09 -05:00
README.md Remediate all 17 audit findings from AUDIT.md 2026-02-18 11:45:33 -05:00

Guildhouse SPIRE Plugins

SPIRE plugins and specifications for governed SSH access via SPIFFE identity.

This repository extends the SPIFFE ecosystem with SSH certificate issuance, governance-aware credential lifecycle management, and Guildhouse platform integration.

Project Status

Stage: Active Development

Component Status
Specifications (specs/) Draft — ready for SIG-Spec review
pkg/shellstream Fully implemented with comprehensive tests
pkg/config, pkg/oidc, pkg/governance, pkg/sshcert Scaffolded — interfaces and validation stubs
Plugin binaries (cmd/) go-plugin boilerplate in place, interface methods pending
CI pipeline Configured (.github/workflows/ci.yaml)

"Scaffolded" means the package defines its public types, interfaces, and configuration validation, but core logic returns "not yet implemented" errors. This provides a clear skeleton for implementation while allowing the full project to compile and pass structural tests.

Quick Start

# Clone and build
git clone https://github.com/guildhouse-cooperative/guildhouse-spire-plugins.git
cd guildhouse-spire-plugins
make build    # Build all plugin binaries → bin/

# Run tests
make test     # Run all unit tests
make lint     # Run go vet

Specifications

The primary deliverables are three formal specifications in specs/:

Plugins

Four SPIRE plugins in cmd/:

Plugin SPIRE Type Runs In Purpose
oidc-attestor WorkloadAttestor Agent OIDC token verification, claim-to-selector mapping
ssh-credential-composer CredentialComposer Server SSH certificate generation with Shellstream extensions
governance-notifier Notifier Server Credential event notification, merkle anchoring
substrate-keymanager KeyManager Server Governance-aware signing key management

Packages

Shared Go libraries in pkg/:

  • shellstream — Encode/decode Shellstream SSH certificate extensions (fully implemented)
  • oidc — OIDC token verification (scaffolded)
  • governance — GovernanceService/CeremonyService gRPC client (scaffolded)
  • sshcert — SSH certificate builder (scaffolded)
  • config — Plugin configuration loading (scaffolded)

Documentation

Detailed documentation in docs/:

Building

make build    # Build all plugin binaries
make test     # Run tests
make lint     # Run go vet
make clean    # Remove build artifacts

Proto Code Generation

Proto files in proto/ are copies from the Guildhouse monorepo. To regenerate Go bindings:

make proto-gen

Requires buf to be installed.

License

Apache License 2.0 — see LICENSE.