Skip to content
Snippets Groups Projects
Commit f2fe286c authored by Éloïs's avatar Éloïs
Browse files

[ci] wine does not support scrypt

parent a24c1126
Branches
Tags
1 merge request!194Elois/indexs
......@@ -182,6 +182,7 @@ mod tests {
static SALT_TEST: &'static str = "testsalt";
static PASSWORD_TEST: &'static str = "testpassword";
#[cfg(unix)]
#[test]
fn test_modify_member_keys() {
let key_pairs = DuniterKeyPairs {
......@@ -227,6 +228,7 @@ mod tests {
);
}
#[cfg(unix)]
#[test]
fn test_modify_network_keys() {
let key_pairs = DuniterKeyPairs {
......@@ -258,6 +260,7 @@ mod tests {
assert_eq!(result_key_pairs.member_keypair, None);
}
#[cfg(unix)]
#[test]
fn test_clear_network_keys() {
let key_pairs = DuniterKeyPairs {
......@@ -308,6 +311,7 @@ mod tests {
);
}
#[cfg(unix)]
#[test]
fn test_clear_member_keys() {
let key_pairs = DuniterKeyPairs {
......
......@@ -624,6 +624,7 @@ Timestamp: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
);
}
#[cfg(unix)]
#[test]
fn keypair_generate() {
let key_pair1 = KeyPairFromSaltedPasswordGenerator::with_default_parameters().generate(
......@@ -656,6 +657,7 @@ Timestamp: 0-E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855
assert!(!key_pair2.eq(&other_key_pair));
}
#[cfg(unix)]
#[test]
fn keypair_generate_sign_and_verify() {
let keypair = KeyPairFromSaltedPasswordGenerator::with_default_parameters()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment