Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9859

[C++] S3 FileSystemFromUri with special char in secret key fails

    XMLWordPrintableJSON

Details

    Description

      S3 Secret access keys can contain special characters like /. When they do

      1) FileSystemFromUri will fail to parse the URI unless you URL-encode them (e.g. replace / with %2F)
      2) When you do escape the special characters, requests that require authorization fail with the message "The request signature we calculated does not match the signature you provided. Check your key and signing method." This may suggest that there's some extra URL encoding/decoding that needs to happen inside.

      I was only able to work around this by generating a new access key that happened not to have special characters.

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              npr Neal Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m