From 33641ba088b00b68004bdadf522d96f85162bfd7 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Thu, 9 Nov 2023 16:09:48 +0100 Subject: [PATCH] signature: remove min key len requirement --- signature/signature-v4-parser.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/signature/signature-v4-parser.go b/signature/signature-v4-parser.go index d48b76a..541006b 100644 --- a/signature/signature-v4-parser.go +++ b/signature/signature-v4-parser.go @@ -38,10 +38,6 @@ func parseCredentialHeader(credElement string) (ch credentialHeader, err ErrorCo }, } - if len(accessKey) < AccessKeyMinLen || len(accessKey) > AccessKeyMaxLen { - return ch, errInvalidAccessKeyID - } - if cred.scope.service != serviceS3 { return ch, errInvalidServiceS3 }