diff --git a/src/interfaces/http/controllers/s3-controller.ts b/src/interfaces/http/controllers/s3-controller.ts index d4fbeb7..7a99a83 100644 --- a/src/interfaces/http/controllers/s3-controller.ts +++ b/src/interfaces/http/controllers/s3-controller.ts @@ -152,7 +152,6 @@ export const handleS3Request = async ( const method = req.method; const url = new URL(req.url); const pathname = url.pathname; - if (pathname !== '/') console.error('S3_REQ:' + method + ' ' + pathname); const { bucket, key } = virtualHostBucket ? { bucket: virtualHostBucket, diff --git a/src/utils/s3/auth.ts b/src/utils/s3/auth.ts index 27519bd..e1fee52 100644 --- a/src/utils/s3/auth.ts +++ b/src/utils/s3/auth.ts @@ -329,7 +329,6 @@ export const verifySignature = async ( const expectedSignature = await hmacHex(signingKey, stringToSign); if (!timingSafeCompare(expectedSignature, parsed.signature)) { - console.error(`SIG: uri=${canonicalUri} signed=${parsed.signedHeaders}`); return { isValid: false, credential: null, errorCode: 'SignatureDoesNotMatch' }; }