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]
|
||||
name = "sasl"
|
||||
version = "0.4.0"
|
||||
version = "0.4.1"
|
||||
authors = ["lumi <lumi@pew.im>"]
|
||||
description = "A crate for SASL authentication. Currently only does the client side."
|
||||
homepage = "https://gitlab.com/lumi/sasl-rs"
|
||||
|
@ -18,7 +18,7 @@ default = ["scram"]
|
|||
scram = ["openssl"]
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.4.0"
|
||||
base64 = "0.5.0"
|
||||
|
||||
[dependencies.openssl]
|
||||
version = "0.9.7"
|
||||
|
|
|
@ -126,7 +126,6 @@ impl<S: ScramProvider> Mechanism for Scram<S> {
|
|||
auth_message.extend(challenge);
|
||||
auth_message.push(b',');
|
||||
auth_message.extend(&client_final_message_bare);
|
||||
println!("_ {}", String::from_utf8_lossy(&auth_message));
|
||||
let stored_key = S::hash(&client_key);
|
||||
let client_signature = S::hmac(&auth_message, &stored_key);
|
||||
let client_proof = xor(&client_key, &client_signature);
|
||||
|
|
Loading…
Reference in a new issue