Skip to content

Git LFS bugs with SSH authentication #2690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Vuregu opened this issue Oct 11, 2017 · 3 comments
Closed

Git LFS bugs with SSH authentication #2690

Vuregu opened this issue Oct 11, 2017 · 3 comments
Labels
issue/duplicate The issue has already been reported. type/bug

Comments

@Vuregu
Copy link

Vuregu commented Oct 11, 2017

I've noticed some odd behaviour upon trying out SSH authentication with Git LFS on Gitea.

  • Pushing
    You can push LFS files to the LFS server with just SSH authentication, although it will ask you for authentication the first time around, which you can cancel once or twice upon which it will continue to upload them successfully.
    Any subsequent pushes of LFS files will log "WARNING: Authentication error: Authorization required... Check that you have propoer access to the repository" but LFS will initialize and upload all of the files succesfully.
    I've verified that in both initial and subsequent pushes the LFS files do end up on the repository and are stored in the LFS cache.

  • Checking out
    Cloning/checking out a repository with LFS files using just SSH authentication does not come with any warnings, LFS starts to do its thing and files are being downloaded. However, after a dozen files or so finish downloading and checking out, authentication is asked for all of a sudden, and if you do not provide it, LFS halts further downloading. The first dozen files however do succesfully download and check out. This is very odd behaviour.

Because you can successfully push an entire repository with just SSH authentication over LFS, my initial verdict was that indeed LFS with SSH was supported on Gitea. But upon realizing that check outs do not complete, strangely they do however start to a certain extent, I must admit that SSH authentication is not supported by Gitea with Git LFS.

@lunny
Copy link
Member

lunny commented Oct 12, 2017

duplicated with #2475 ?

@Vuregu
Copy link
Author

Vuregu commented Oct 13, 2017

I'm not entirely sure it is a duplicate, because I thought it was supposed to be implemented here: #122 and also because it works when you try to push, albeit with the warnings and the prompt.

@lunny lunny added the type/bug label Oct 14, 2017
@bkcsoft
Copy link
Member

bkcsoft commented Oct 15, 2017

Yes this is a duplicate of #2475 :)

@bkcsoft bkcsoft closed this as completed Oct 15, 2017
@bkcsoft bkcsoft added the issue/duplicate The issue has already been reported. label Oct 15, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported. type/bug
Projects
None yet
Development

No branches or pull requests

3 participants