pub struct Murk {
pub values: HashMap<String, Zeroizing<String>>,
pub recipients: HashMap<String, String>,
pub scoped: HashMap<String, HashMap<String, Zeroizing<String>>>,
pub legacy_mac: bool,
pub github_pins: HashMap<String, Vec<String>>,
}Fields§
§values: HashMap<String, Zeroizing<String>>Decrypted shared values. Wrapped in Zeroizing so plaintext is cleared
from memory when the Murk is dropped.
recipients: HashMap<String, String>Pubkey → display name (from meta).
scoped: HashMap<String, HashMap<String, Zeroizing<String>>>Scoped overrides: key → { pubkey → decrypted value }. Only contains entries decryptable by the current identity.
legacy_mac: boolTrue if the vault uses a legacy unkeyed MAC (sha256/sha256v2).
github_pins: HashMap<String, Vec<String>>Pinned GitHub key fingerprints (carried from meta).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Murk
impl RefUnwindSafe for Murk
impl Send for Murk
impl Sync for Murk
impl Unpin for Murk
impl UnsafeUnpin for Murk
impl UnwindSafe for Murk
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more