Enum noosphere::NoosphereSecurity
source · pub enum NoosphereSecurity {
Insecure {
path: PathBuf,
},
Opaque,
}Expand description
This enum exists so that we can incrementally layer on support for secure key storage over time. Each member represents a set of environmental qualities, with the most basic represnting an environment with no trusted hardware key storage.
Variants§
Insecure
Insecure configuration should be used on a platform where no TPM or similar secure key storage is available.
Opaque
Opaque security configuration may be used in the case where there is some kind of protected keyring-like API layer where secret key material may be considered safely stored. For example: secret service on Linux or the keyring on MacOS.
Trait Implementations§
source§impl Clone for NoosphereSecurity
impl Clone for NoosphereSecurity
source§fn clone(&self) -> NoosphereSecurity
fn clone(&self) -> NoosphereSecurity
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for NoosphereSecurity
impl Send for NoosphereSecurity
impl Sync for NoosphereSecurity
impl Unpin for NoosphereSecurity
impl UnwindSafe for NoosphereSecurity
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