forked from Deuxfleurs/garage
Add tracing output to signature calculation
This commit is contained in:
parent
8129a98291
commit
97f245f218
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ pub async fn check_payload_signature(
|
||||||
let (_, scope) = parse_credential(&authorization.credential)?;
|
let (_, scope) = parse_credential(&authorization.credential)?;
|
||||||
let string_to_sign = string_to_sign(&authorization.date, &scope, &canonical_request);
|
let string_to_sign = string_to_sign(&authorization.date, &scope, &canonical_request);
|
||||||
|
|
||||||
|
trace!("canonical request:\n{}", canonical_request);
|
||||||
|
trace!("string to sign:\n{}", string_to_sign);
|
||||||
|
|
||||||
let key = verify_v4(
|
let key = verify_v4(
|
||||||
garage,
|
garage,
|
||||||
&authorization.credential,
|
&authorization.credential,
|
||||||
|
|
Loading…
Reference in a new issue