Expand description
Session compliance certificate issuance with hybrid signing.
A SessionComplianceCertificate is a kernel-signed envelope that
attests a session’s receipt log was free of policy violations against
a specific crypto_floor and policy_hash. It is the artifact that
external auditors consume when they need a compact, signed summary of
a session without re-walking the underlying receipt store.
§Why this module exists
chio-acp-proxy ships a Sigstore-only compliance certificate that
consumes a bare Keypair for Ed25519 signing. The kernel needs the
same envelope shape signed through an arbitrary &dyn SigningBackend
so a HybridBackend can produce Signature::Hybrid envelopes under
crypto_floor=allow_hybrid or pq_required. This module is the
kernel-side hybrid path; it wraps a body identical in shape to the
acp-proxy form but signs through the chio-core-types backend
abstraction.
Spec reference: spec/COMPLIANCE-CERTIFICATE.md.
Threat model row pq_signature_downgrade is the surface this guards.
Structs§
- Session
Compliance Certificate - A signed session compliance certificate.
- Session
Compliance Certificate Body - Body of a session compliance certificate.
Enums§
- Compliance
Certificate Error - Errors raised during compliance certificate issuance and verification.
Functions§
- issue_
session_ compliance_ certificate - Issue a session compliance certificate signed through
backend. - verify_
session_ compliance_ certificate - Verify a session compliance certificate against the configured
crypto_floor.