Skip to content

Commit

Permalink
Merge pull request #4 from SiaFoundation/chris/remove-min-key-len-req
Browse files Browse the repository at this point in the history
Remove min key len req
  • Loading branch information
ChrisSchinnerl authored Nov 9, 2023
2 parents 776c144 + 33641ba commit e0d47c1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions signature/signature-v4-parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit e0d47c1

Please sign in to comment.