Expand description
Persistent host revocation (ban list).
Stores a JSON file at RuntimePaths::revoked_hosts() containing
hosts that have been banned from joining the mesh. The ban list is
loaded at kernel boot and checked during mesh peer handshake.
The list also revokes package ids, signer keys and artifact hashes
(ADR-099 section 7); see RevocationKind and
RevocationList::revoke_subject. Those persist in a sibling file.
Structs§
- Revocation
List - Persistent host revocation manager.
- Revoked
Host - A single revocation entry.
- Revoked
Subject - One revoked subject.
Enums§
- Revocation
Error - Errors from subject revocation.
- Revocation
Kind - What a subject revocation targets.
Constants§
- AUDIT_
REVOKE_ KIND - Chain event kind of a subject revocation (
chain::EVENT_KIND_WORKLOAD_REVOKE). - AUDIT_
UNREVOKE_ KIND - Chain event kind of a lifted revocation (
chain::EVENT_KIND_WORKLOAD_UNREVOKE). - MAX_
PACKAGE_ ID_ LEN - Maximum package id length.
- SUBJECTS_
FILE_ NAME - File name of the subject revocation list, next to the host ban file.
Type Aliases§
- Audit
Sink - Records an audit event:
(kind, payload).