Release ObjectStore 0.0.9
This commit is contained in:
1 parent
31eb4d092e
commit
0cf5c11202
39 files changed
+4739
-1167
No files matched your search
@@ -127,7 +127,7 @@ final class AwsChunkedInputStream extends FilterInputStream {
|
||||
if (!Base64.getEncoder().encodeToString(trailerChecksum()).equals(trailerValue))
|
||||
throw new StoreException(400, "BadDigest", "Checksum trailer mismatch");
|
||||
String signature = line();
|
||||
if (!signature.matches("x-amz-trailer-signature=[0-9a-f]{64}"))
|
||||
if (!signature.matches("x-amz-trailer-signature:[0-9a-f]{64}"))
|
||||
throw invalid("Missing trailer signature");
|
||||
String toSign = "AWS4-HMAC-SHA256-TRAILER\n" + authorization.date() + "\n" +
|
||||
authorization.scope() + "\n" + previousSignature + "\n" +
|
||||
|
||||
Reference in new issue
Block a user