spotify / XCRemoteCache

Other
825 stars 50 forks source link

AWS S3 API Signature V4 verifaction fail #192

Closed tuxity closed 1 year ago

tuxity commented 1 year ago

My integration setup

[ ] CocoaPods cocoapods-xcremotecache plugin [x] Automatic integration using xcprepare integrate ... [ ] Manual integration [ ] Carthage

Expected/desired behavior

The XCRemoteCache should successfully authenticate with AWS S3 using Signature V4 when using S3 as the cache storage backend. The cache should be uploaded and downloaded correctly without authentication errors.

Minimal reproduction of the problem with instructions

  1. Set up an AWS S3 bucket for use with XCRemoteCache.
  2. Configure XCRemoteCache to use the S3 bucket with Signature V4 authentication.
  3. Attempt to build and cache a project in Xcode with a configuration that contains a space in its name.
  4. Observe authentication errors when uploading the marker file with an HTTP code 403 SignatureDoesNotMatch.

Producer Logs

 [REPLACE THIS WITH YOUR CONSUMER LOGS] 

Consumer Logs

 [REPLACE THIS WITH YOUR CONSUMER LOGS] 

Pods/Carthage file

 [REPLACE THIS WITH YOUR PODS OR CARTHAGE FILE CONTENT] 

Environment

Post build stats

 [REPLACE THIS WITH YOUR POST BUILD STATS] 

Others

tuxity commented 1 year ago

Sorry I don't have logs right now, I'm still working on XCRC integration in our project. I will update the ticket when I have them.