pub enum IpcUnlockStrategy {
PasswordUnlock,
DirectMasterKey,
}Expand description
How the master key should be sent to daemon-secrets.
Variants§
PasswordUnlock
Use existing UnlockRequest with password field.
daemon-secrets performs the KDF.
DirectMasterKey
Use SshUnlockRequest with pre-derived master key.
Used by SSH-agent and future backends that derive/unwrap the key client-side.
Trait Implementations§
Source§impl Clone for IpcUnlockStrategy
impl Clone for IpcUnlockStrategy
Source§fn clone(&self) -> IpcUnlockStrategy
fn clone(&self) -> IpcUnlockStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IpcUnlockStrategy
impl Debug for IpcUnlockStrategy
Source§impl PartialEq for IpcUnlockStrategy
impl PartialEq for IpcUnlockStrategy
impl Copy for IpcUnlockStrategy
impl Eq for IpcUnlockStrategy
impl StructuralPartialEq for IpcUnlockStrategy
Auto Trait Implementations§
impl Freeze for IpcUnlockStrategy
impl RefUnwindSafe for IpcUnlockStrategy
impl Send for IpcUnlockStrategy
impl Sync for IpcUnlockStrategy
impl Unpin for IpcUnlockStrategy
impl UnwindSafe for IpcUnlockStrategy
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