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 }