40 Commits (bd2131ba349ec06e832d467e2a74526305637b19)

Author SHA1 Message Date
Harshavardhana 11aa393ba7
Allow region errors to be dynamic (#10323) 4 years ago
Anis Elleuch 778e9c864f
Move dependency from minio-go v6 to v7 (#10042) 4 years ago
Harshavardhana 88286cf8d0 fix: support pre-sign signature for STS tokens (#8826) 5 years ago
Harshavardhana ee4a6a823d Migrate config to KV data format (#8392) 5 years ago
Harshavardhana e6d8e272ce
Use const slashSeparator instead of "/" everywhere (#8028) 5 years ago
Harshavardhana c43f745449
Ensure that we use constants everywhere (#7845) 6 years ago
Harshavardhana 2c0b3cadfc Update go mod with sem versions of our libraries (#7687) 6 years ago
Andrei Mikhalenia 59e847aebe Signature v4: Allow signed headers from GET parameters 6 years ago
kannappanr 5ecac91a55
Replace Minio refs in docs with MinIO and links (#7494) 6 years ago
Harshavardhana c3ca954684 Implement AssumeRole API for Minio users (#7267) 6 years ago
Harshavardhana bf414068a3 Parse and return proper errors with x-amz-security-token (#6766) 6 years ago
Harshavardhana 54ae364def Introduce STS client grants API and OPA policy integration (#6168) 6 years ago
Praveen raj Mani 44865596db SignatureV4 validation with Metadata in the presignedUrl (#5894) 6 years ago
Harshavardhana eafc15cd47 Fix presigned URL for access key with special characters (#6012) 7 years ago
Harshavardhana d90985b6d8 Return authHeaderMalformed for an incorrect region in signature (#5618) 7 years ago
Andreas Auernhammer a6318dbdaf fix timing oracle attack against signature V2/V4 verification (#5335) 7 years ago
Krishna Srinivas 14e6c5ec08 Simplify the steps to make changes to config.json (#5186) 7 years ago
Krishnan Parthasarathi 2a0a62b78d Return ErrContentSHA256Mismatch when sha256sum is invalid (#5188) 7 years ago
Harshavardhana 719f8c258a fix content-sha256 verification for presigned PUT (#5137) 7 years ago
Harshavardhana 2e6ee68409 fix: [minor] Avoid unnecessary typecasting. (#4828) 7 years ago
Harshavardhana f5ce685aa1 Remove dead unused errs and constants. (#4627) 8 years ago
Krishna Srinivas 5db1e9f3dd signature: use region from Auth header if server's region not configured (#4329) 8 years ago
Krishna Srinivas a4209c10ea signature-v4: Use sha256("") for calculating canonical request (#4064) 8 years ago
Krishna Srinivas 1d99a560e3 refactor: extractSignedHeaders() handles headers removed by Go http server (#4054) 8 years ago
Krishna Srinivas af82d27018 signature-v4: Support for transfer-encoding request header (#4053) 8 years ago
Bala FA 1c97dcb10a Add UTCNow() function. (#3931) 8 years ago
Harshavardhana 5f7565762e api: postPolicy cleanup. Simplify the code and re-use. (#3890) 8 years ago
Krishna Srinivas 45d9cfa0c5 signature-v4: stringToSign and signingKey should use Scope's date. (#3688) 8 years ago
Harshavardhana 62f8343879 Add constants for commonly used values. (#3588) 8 years ago
Bala FA e8ce3b64ed Generate and use access/secret keys properly (#3498) 8 years ago
Krishna Srinivas 8e665105b1 Presign-v4: Allow requests that were signed slightly ahead of the current time. (#3435) 8 years ago
Anis Elleuch d9bab6b3bd sigv4: Trim and shrink spaces in headers values (#3162) 8 years ago
Krishna Srinivas e51be73ac7 PresignedPost: Support for Signature V2 presigned POST Policy. (#3043) 8 years ago
Aditya Manthramurthy 6199aa0707 Peer RPCs for bucket notifications (#2877) 8 years ago
Harshavardhana 64083b9227 signature: Region changes should be handled just like AWS. (#2805) 8 years ago
Kevin Qiu 241c56e6d7 Use Set instead of Add in the event that the request already contains the content-length (#2683) 8 years ago
Anis Elleuch 11785529fc Add Request Not Ready error when presigned date request is not valid (#2646) 8 years ago
Krishna Srinivas 400e9309f1 Signature-V4: Include content-length for signature calculation. (#2643) 8 years ago
Harshavardhana 2da0cfc904 signature: Use the client sent region if region is properly validated. (#2534) 8 years ago
Harshavardhana bccf549463 server: Move all the top level files into cmd folder. (#2490) 8 years ago
karthic rao e0cf4ee9fc presignV4: fix errors response and tests. (#2375) 8 years ago
Harshavardhana 7e46055a15 api/handlers: Implement streaming signature v4 support. (#2370) 8 years ago
Frank f239fcac67 Switched to faster minio/sha256-simd implementation (#2320) 8 years ago
Bala FA 0793237d94 tests: Move signature calculation in separate function. (#2160) 9 years ago
Harshavardhana 7bde27032d signv4: Validate preSigned payload properly. (#2106) 9 years ago
Harshavardhana 8a028a9efb handler/PUT: Handle signature verification through a custom reader. (#2066) 9 years ago
karthic rao 26e2c4bf4d Replacing fastsha256 with crypto/sha256 package from golang standard package (#1584) 9 years ago
Harshavardhana b182e94acc signature: Handle presigned payload if set. 9 years ago
Harshavardhana a6a4e7e297 signature: No need to validate region for getBucketLocation and listBuckets. 9 years ago
Harshavardhana 02ad48466d error: Signature errors should be returned with APIErrorCode. 9 years ago