pub enum Rung {
Process,
OsKeyring,
Hardware,
Remote,
}Expand description
Sealing rung, ordered (DR-0053 §4). Derived from evidence by the
custodian, never asserted in configuration — require credential <rung>
in the signed policy compares against what the custodian derived
(models/maude/credential-rung-evidence.maude: configuration is not
evidence).
Variants§
Process
r0: in-process, sealed at rest under a passphrase-derived key. whip’s language cannot read it; an escape can. Dev only, tagged degraded.
OsKeyring
r1: OS keyring (libsecret / Keychain / DPAPI). Survives file read; session-bound.
Hardware
r2: TPM 2.0 PCR-sealed / Secure Enclave / PKCS#11 — non-extractability is literally true.
Remote
r3: OpenBao / Vault / KMS / Home broker — material never exists on the box.
Implementations§
Trait Implementations§
impl Copy for Rung
Source§impl<'de> Deserialize<'de> for Rung
impl<'de> Deserialize<'de> for Rung
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Rung
Source§impl Ord for Rung
impl Ord for Rung
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Rung
impl PartialOrd for Rung
impl StructuralPartialEq for Rung
Auto Trait Implementations§
impl Freeze for Rung
impl RefUnwindSafe for Rung
impl Send for Rung
impl Sync for Rung
impl Unpin for Rung
impl UnsafeUnpin for Rung
impl UnwindSafe for Rung
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more