Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » BUG with Jgit and amazon-s3 using specific secretkey(secretkey containing a /)
BUG with Jgit and amazon-s3 using specific secretkey [message #1014894] Tue, 26 February 2013 17:00
Robert Glen is currently offline Robert Glen
Messages: 1
Registered: February 2013
Junior Member
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
Previous Topic:Cannot get remote repository refs
Next Topic:android adding external libraries to index
Goto Forum:
  


Current Time: Thu Oct 23 22:17:58 GMT 2014

Powered by FUDForum. Page generated in 0.01540 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software