trust
ptwm_core::trust::bundled
Bundled-then-pinned trust state evaluator.
ptwm_core::trust::bundled
Bundled-then-pinned trust state evaluator.
ptwm_core::trust::bundled
crates/ptwm-core/src/trust/bundled.rs:1mod bundledBundled-then-pinned trust state evaluator.
ptwm_core::trust::bundled::accept_update
crates/ptwm-core/src/trust/bundled.rs:153pub fn accept_update(new_hash: &[u8; 32]) -> Result<(), ExtensionError>Accept an update — overwrites the lock and snapshot with the new state.
ptwm_core::trust::bundled::apply_fresh_install
crates/ptwm-core/src/trust/bundled.rs:148pub fn apply_fresh_install(hash: &[u8; 32]) -> Result<(), ExtensionError>Apply a fresh-install state: persists the lock + snapshot.
ptwm_core::trust::bundled::bundled_hash
crates/ptwm-core/src/trust/bundled.rs:16pub fn bundled_hash() -> [u8; 32]ptwm_core::trust::bundled::bundled_keyring
crates/ptwm-core/src/trust/bundled.rs:12pub fn bundled_keyring() -> Result<Keyring, ExtensionError>ptwm_core::trust::bundled::BUNDLED_TOML
crates/ptwm-core/src/trust/bundled.rs:10pub const BUNDLED_TOMLBundled keyring TOML, embedded at build time. Currently ships as an empty `entries = []`; later releases may add curated keys.
ptwm_core::trust::bundled::BundleStatus
crates/ptwm-core/src/trust/bundled.rs:107pub enum BundleStatusptwm_core::trust::bundled::diff_keyrings
crates/ptwm-core/src/trust/bundled.rs:77pub fn diff_keyrings(old: &Keyring, new: &Keyring) -> KeyringDiffptwm_core::trust::bundled::evaluate_bundled
crates/ptwm-core/src/trust/bundled.rs:122pub fn evaluate_bundled() -> Result<BundleStatus, ExtensionError>ptwm_core::trust::bundled::KeyringDiff
crates/ptwm-core/src/trust/bundled.rs:72pub struct KeyringDiffptwm_core::trust::bundled::lock_path
crates/ptwm-core/src/trust/bundled.rs:34pub fn lock_path() -> PathBufptwm_core::trust::bundled::prev_keyring_path
crates/ptwm-core/src/trust/bundled.rs:41pub fn prev_keyring_path() -> PathBufptwm_core::trust::bundled::read_lock
crates/ptwm-core/src/trust/bundled.rs:45pub fn read_lock(path: &Path) -> Option<[u8; 32]>ptwm_core::trust::bundled::write_lock
crates/ptwm-core/src/trust/bundled.rs:56pub fn write_lock(path: &Path, hash: &[u8; 32], bundled_toml: &str) -> Result<(), ExtensionError>ptwm_core::trust::bundled::xdg_config_dir
crates/ptwm-core/src/trust/bundled.rs:24pub fn xdg_config_dir() -> PathBuf$XDG_CONFIG_HOME/ptwm/trust/bundled.lock — or ~/.config/... fallback.