Skip to main content

Module signer

Module signer 

Source
Expand description

Throwaway signing roots served as claustrum for private-bus tests.

This signer accepts every principal. It tests broker bootstrap and signatures, not vault authorization; never use it outside a private test daemon.

Structs§

FixtureRoot
A fixture root: the key pair and the public half as the vault reports it.
HarnessSigner

Enums§

SignerFault
A deliberately wrong signer, for the controls that prove the shape check can fail.

Constants§

PRODUCTION_CREDENTIAL_ID
The operator’s real box-account root. A fixture holding its public key or key_id is using production material, and the harness fails the run. The credential id alone is not material: a supervised ck-bus asks for its roots by their production ids, and the signer answers under them with throwaway keys.
PRODUCTION_KEY_ID
PRODUCTION_PUBLIC_KEY_HEX
SIGNER_OPERATIONS
The signing operations supported by this test kit.

Functions§

assert_not_production
Fails the run when fixture material is the operator’s production root.
hex
unhex