Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
I am currently unable to download files from a newly created Git LFS enabled repository using a deploy key. Using my personal keypair I am able to clone the repository without any trouble, which leads me to believe that there is a bug related to using deploy keys. The errors all look like the following:
batch response: Authorization error: https://bitbucket.org/...
Check that you have proper access to the repository
I suspect this bug could be related to a workaround I used to transfer a Git LFS enabled repository following the instructions in the link below:
Versions are as follows:
git version 2.7.4
git-lfs/2.7.1 (GitHub; linux amd64; go 1.11.5)
UPDATE:
I am seeing the same behavior even after creating a new repository and uploading files to git lfs. When I try to clone the repository using the deploy key, I don't see any errors however all of my git lfs files are pulled down as file pointers and the files are not downloaded. When I try to run git lfs pull I see the following error:
$ git lfs pull
batch response: Authorization error: https://bitbucket.org/%7B%7D/%7Bd7266f1f-1935-422b-921f-7ebcd42ded98%7D/info/lfs/objects/batch\\
Check that you have proper access to the repository
error: failed to fetch some objects from 'https://bitbucket.org/...