archivebox.services.machine_service
Module Contents
Classes
Functions
|
|
API
- archivebox.services.machine_service._is_binary_event_key(key: str) bool[source]
MachineEventprojector only ever writes binary-related state.Machine.configmirrorsArchiveBox.confso arbitrary user keys can legitimately live there — but they get there through the file ↔ DB sync, not through events. Letting events write arbitrary keys would let an untrusted plugin overwrite security-sensitive user config (the file ↔ DB mirror is a security boundary), so the projector strips anything that isn’t a binary path or the binary install cache.