Merge branch 'master' into 'master'
Remove bogus println!() and make a patch release See merge request !2
This commit is contained in:
commit
e7f2c85278
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "sasl"
|
name = "sasl"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
authors = ["lumi <lumi@pew.im>"]
|
authors = ["lumi <lumi@pew.im>"]
|
||||||
description = "A crate for SASL authentication. Currently only does the client side."
|
description = "A crate for SASL authentication. Currently only does the client side."
|
||||||
homepage = "https://gitlab.com/lumi/sasl-rs"
|
homepage = "https://gitlab.com/lumi/sasl-rs"
|
||||||
|
@ -18,7 +18,7 @@ default = ["scram"]
|
||||||
scram = ["openssl"]
|
scram = ["openssl"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.4.0"
|
base64 = "0.5.0"
|
||||||
|
|
||||||
[dependencies.openssl]
|
[dependencies.openssl]
|
||||||
version = "0.9.7"
|
version = "0.9.7"
|
||||||
|
|
|
@ -126,7 +126,6 @@ impl<S: ScramProvider> Mechanism for Scram<S> {
|
||||||
auth_message.extend(challenge);
|
auth_message.extend(challenge);
|
||||||
auth_message.push(b',');
|
auth_message.push(b',');
|
||||||
auth_message.extend(&client_final_message_bare);
|
auth_message.extend(&client_final_message_bare);
|
||||||
println!("_ {}", String::from_utf8_lossy(&auth_message));
|
|
||||||
let stored_key = S::hash(&client_key);
|
let stored_key = S::hash(&client_key);
|
||||||
let client_signature = S::hmac(&auth_message, &stored_key);
|
let client_signature = S::hmac(&auth_message, &stored_key);
|
||||||
let client_proof = xor(&client_key, &client_signature);
|
let client_proof = xor(&client_key, &client_signature);
|
||||||
|
|
Loading…
Reference in a new issue