Details
-
Bug
-
Resolution: Invalid
-
Medium
Description
When trying to acccess the Atlassian Git LFS server with batch mode disabled, that is in .git/config there is a line
[lfs]
batch = false
, JWT authentication might fail with an error message like this:
Expecting claim 'qsh' to have value 'ae7000d663f8fd54188ee281c6cd2b993e14fc137edc388d08d983d4fba1cb72' but instead it has the value '2cc818a83a2278b909f968babd376ba9f710d9369c916f956f34b34a34c5e4e8'
Apparently the default for the batch option changed from git-lfs v0.52 to 0.60 (see https://github.com/github/git-lfs/blob/master/docs/api/http-v1-batch.md ). Due to this, this bug probably affects only old repositories that have the old default in their config or that specifically turned batch processing off.
Ideally Atlassians git-lfs implementation would implement both options. In case that's not feasible it would be helpful to have a better error message that gives a hint, that batch processing is not supported and the config should be changed.