Remove the protection feature
This commit is contained in:
parent
8cefe7c16b
commit
5803e2971d
2 changed files with 0 additions and 4 deletions
|
@ -15,7 +15,6 @@ categories = ["cryptography"]
|
||||||
default = ["encryption", "ikm-management"]
|
default = ["encryption", "ikm-management"]
|
||||||
encryption = []
|
encryption = []
|
||||||
ikm-management = []
|
ikm-management = []
|
||||||
i-understand-and-accept-the-risks = []
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64ct = { version = "1.6.0", default-features = false, features = ["std"] }
|
base64ct = { version = "1.6.0", default-features = false, features = ["std"] }
|
||||||
|
|
|
@ -45,6 +45,3 @@ pub const DEFAULT_IKM_DURATION: u64 = 315_569_252;
|
||||||
pub const DEFAULT_KEY_CTX_PERIODICITY: u64 = 31_556_925;
|
pub const DEFAULT_KEY_CTX_PERIODICITY: u64 = 31_556_925;
|
||||||
#[cfg(feature = "ikm-management")]
|
#[cfg(feature = "ikm-management")]
|
||||||
const DEFAULT_SCHEME: Scheme = Scheme::XChaCha20Poly1305WithBlake3;
|
const DEFAULT_SCHEME: Scheme = Scheme::XChaCha20Poly1305WithBlake3;
|
||||||
|
|
||||||
#[cfg(not(feature = "i-understand-and-accept-the-risks"))]
|
|
||||||
compile_error!("This crate is experimental and therefore comes with absolutely no security guaranty. To use it anyway, enable the \"i-understand-and-accept-the-risks\" feature.");
|
|
||||||
|
|
Loading…
Reference in a new issue