File tree Expand file tree Collapse file tree
samples/openapi3/client/petstore/go Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -613,7 +613,8 @@ func TestHttpSignatureAuth(t *testing.T) {
613613 },
614614 }
615615 authorizationHeaderValue := executeHttpSignatureAuth (t , & authConfig , true )
616- expectedSignature := "sXE2MDeW8os6ywv1oUWaFEPFcSPCEb/msQ/NZGKNA9Emm/e42axaAPojzfkZ9Hacyw/iS/5nH4YIkczMgXu3z5fAwFjumxtf3OxbqvUcQ80wvw2/7B5aQmsF6ZwrCFHZ+L/cj9/bg7L1EGUGtdyDzoRKti4zf9QF/03OsP7QljI="
616+ //expectedSignature := "sXE2MDeW8os6ywv1oUWaFEPFcSPCEb/msQ/NZGKNA9Emm/e42axaAPojzfkZ9Hacyw/iS/5nH4YIkczMgXu3z5fAwFjumxtf3OxbqvUcQ80wvw2/7B5aQmsF6ZwrCFHZ+L/cj9/bg7L1EGUGtdyDzoRKti4zf9QF/03OsP7QljI="
617+ expectedSignature := "OTzXHWXkl+9shhgPQ1Gs5rgw8Y2/2ibenontjWpvtX5vw+2Kj5t1q8B8IFYF/+sIAFIP9/meU8REII5yqtNb/RlG+hNIg10AngRBJr+Xa7GPBmvrTJvha+S8Zr7TlbneWcKSyZn0LkO3ohRPBd/CHKZd0APIlivzy+GU5I2HlWY="
617618 expectedAuthorizationHeader := fmt .Sprintf (
618619 `Signature keyId="my-key-id",` +
619620 `algorithm="hs2019",headers="(request-target) host content-type digest",` +
You can’t perform that action at this time.
0 commit comments