From 4feff4a8946a6fc07884e3f92856c89649d11151 Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 19 Mar 2020 20:08:33 -0500 Subject: [PATCH] Change info to debug --- http-signature-normalization-actix/Cargo.toml | 2 +- http-signature-normalization-actix/README.md | 2 +- http-signature-normalization-actix/src/digest/sha2.rs | 4 ++-- http-signature-normalization-actix/src/digest/sha3.rs | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/http-signature-normalization-actix/Cargo.toml b/http-signature-normalization-actix/Cargo.toml index 5d10ae5..36ad9a3 100644 --- a/http-signature-normalization-actix/Cargo.toml +++ b/http-signature-normalization-actix/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "http-signature-normalization-actix" description = "An HTTP Signatures library that leaves the signing to you" -version = "0.3.0-alpha.5" +version = "0.3.0-alpha.6" authors = ["asonix "] license-file = "LICENSE" readme = "README.md" diff --git a/http-signature-normalization-actix/README.md b/http-signature-normalization-actix/README.md index 0876959..784aaf2 100644 --- a/http-signature-normalization-actix/README.md +++ b/http-signature-normalization-actix/README.md @@ -16,7 +16,7 @@ This crate provides extensions the ClientRequest type from Actix Web, and provid actix = "0.10.0-alpha.1" actix-web = "3.0.0-alpha.1" thiserror = "0.1" -http-signature-normalization-actix = { version = "0.3.0-alpha.5", default-features = false, features = ["sha-2"] } +http-signature-normalization-actix = { version = "0.3.0-alpha.6", default-features = false, features = ["sha-2"] } sha2 = "0.8" ``` diff --git a/http-signature-normalization-actix/src/digest/sha2.rs b/http-signature-normalization-actix/src/digest/sha2.rs index 6dbd113..1589752 100644 --- a/http-signature-normalization-actix/src/digest/sha2.rs +++ b/http-signature-normalization-actix/src/digest/sha2.rs @@ -1,4 +1,4 @@ -use log::{info, warn}; +use log::{debug, warn}; use sha2::{Sha224, Sha256, Sha384, Sha512, Sha512Trunc224, Sha512Trunc256}; use super::{DigestCreate, DigestPart, DigestVerify}; @@ -13,7 +13,7 @@ fn verify(digest: &mut impl sha2::Digest, name: &str, parts: &[DigestPart], byte .iter() .find(|p| p.algorithm.to_lowercase() == name.to_lowercase()) { - info!("Verifying digest type, {}", name); + debug!("Verifying digest type, {}", name); digest.input(bytes); let encoded = base64::encode(&digest.result_reset()); diff --git a/http-signature-normalization-actix/src/digest/sha3.rs b/http-signature-normalization-actix/src/digest/sha3.rs index f160f0f..204de40 100644 --- a/http-signature-normalization-actix/src/digest/sha3.rs +++ b/http-signature-normalization-actix/src/digest/sha3.rs @@ -1,4 +1,4 @@ -use log::{info, warn}; +use log::{debug, warn}; use sha3::{ Keccak224, Keccak256, Keccak256Full, Keccak384, Keccak512, Sha3_224, Sha3_256, Sha3_384, Sha3_512, @@ -16,7 +16,7 @@ fn verify(digest: &mut impl sha2::Digest, name: &str, parts: &[DigestPart], byte .iter() .find(|p| p.algorithm.to_lowercase() == name.to_lowercase()) { - info!("Verifying digest type, {}", name); + debug!("Verifying digest type, {}", name); digest.input(bytes); let encoded = base64::encode(&digest.result_reset());