BUG with Jgit and amazon-s3 using specific secretkey [message #1014894] |
Tue, 26 February 2013 12:00  |
Eclipse User |
|
|
|
Simple... any time I generate an accesskey and secretkey pair whereby the secretkey contains a forward slash '/' then Jgit cannot successfully authenticate with S3.
Example:
rglen@ws-rglenlnx git.local $ jgit clone amazon-s3://.jgit@sample-bucket-name/a-git-repo.git
Initialized empty Git repository in /usr/local/home/rglen/git.local/a-git-repo.git
fatal: Reading of 'a-git-repo.git/packed-refs' failed: 403 Forbidden
fatal: amazon-s3://sample-bucket-name/a-git-repo.git/objects: error in packed-refs
When I swap out my .jgit file with an accesskey and secretkey pair where the secretkey does NOT contain a /, I can repeat the above command without issue and the repository is cloned successfully.
I've tried putting single and double quotes around the secretkey in the .jgit file, and it makes no difference.
I've tried this with the following versions, both behave the same:
rglen@ws-rglenlnx ~ $ jgit version
jgit version 2.2.0.201212191850-r
rglen@ws-rglenlnx ~ $ jgit version
jgit version 2.3.0.201302130906
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06972 seconds