Expand description
Ed25519 digital signatures for request envelope authentication.
All ZMQ messages are signed to provide:
- Authentication: Proves who created the request
- Integrity: Detects tampering
- Non-repudiation: Signature survives message forwarding
§Signing Flow
- API server validates bearer token or JWT
- Signs
RequestEnvelope(request_id, payload, nonce, iat) with Ed25519 key - ZMQ service verifies signature before processing
Structs§
- Signing
Key - ed25519 signing key which can be used to produce signatures.
- Verifying
Key - An ed25519 public key.
Functions§
- generate_
signing_ keypair - Generate a new Ed25519 signing keypair.
- signing_
key_ from_ bytes - Load a signing key from 32 secret bytes.
- verifying_
key_ from_ bytes - Load a verifying key from 32 public key bytes.