pub struct MacOsConfig {
pub wrapping_key_user_presence: bool,
pub wrapping_key_cache_ttl: Duration,
pub keychain_access_group: Option<String>,
pub extra_bridge_paths: Vec<String>,
}Expand description
macOS-specific configuration overrides.
When using struct-update syntax (..MacOsConfig::default()), newly added
security-relevant fields will use their default values. Review the changelog
when updating the crate version to check for new fields.
Fields§
§wrapping_key_user_presence: boolProtect the wrapping key with a .userPresence ACL (requires keychain_access_group
and the keychain-access-groups entitlement). Each decrypt/sign will prompt once per
wrapping_key_cache_ttl.
wrapping_key_cache_ttl: DurationHow long a loaded wrapping key may be reused without another LAContext prompt.
Duration::ZERO means prompt on every operation.
keychain_access_group: Option<String><TEAMID>.<group> access group. Requires keychain-access-groups entitlement.
extra_bridge_paths: Vec<String>Extra WSL bridge discovery paths.
Trait Implementations§
Source§impl Clone for MacOsConfig
impl Clone for MacOsConfig
Source§fn clone(&self) -> MacOsConfig
fn clone(&self) -> MacOsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MacOsConfig
impl Debug for MacOsConfig
Auto Trait Implementations§
impl Freeze for MacOsConfig
impl RefUnwindSafe for MacOsConfig
impl Send for MacOsConfig
impl Sync for MacOsConfig
impl Unpin for MacOsConfig
impl UnsafeUnpin for MacOsConfig
impl UnwindSafe for MacOsConfig
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