Skip to content

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

@asfimport

Description

@asfimport

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.

Reporter: Neal Richardson / @nealrichardson
Assignee: Antoine Pitrou / @pitrou

PRs and other links:

Note: This issue was originally created as ARROW-9859. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions