Skip to content
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

SSH authentication skips password check, hangs #3783

Open
mishpat opened this issue May 23, 2024 · 4 comments
Open

SSH authentication skips password check, hangs #3783

mishpat opened this issue May 23, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@mishpat
Copy link

mishpat commented May 23, 2024

Installing a package from github via ssh with

uv pip install git+ssh://git@{enterprise-git-repo}/{username}/{package}.git

hangs at "Resolving dependencies", unless I run with --verbose, in which case it takes me to my public key passphrase and works after that.

I do briefly see the password prompt flash by during the "Resolving dependencies" stage but it disappears instantly.

I'm still on 0.1.45 (mirror is only updated weekly), apologies if this has been fixed but I didn't see much I could tell was relevant in the releases since then.

@zanieb
Copy link
Member

zanieb commented May 23, 2024

Thanks for the report, this shouldn't have changed since then. We don't technically support providing authentication interactively, I'm surprised it even prompts — we'll need to investigate that.

@seb-kro
Copy link

seb-kro commented Jan 29, 2025

I just ran into the same issue on a completely new work setup and it took me a while to figure out the problem. Using the --no-progress flag seems to be another workaround besides increasing verbosity. But this should probably work without having to specify any flags.

@zyaoj
Copy link

zyaoj commented Feb 3, 2025

Same issue occured. It is only clear when I specified --verbose when running uv sync to see why it hangs there forever. It has been waiting for my github name and password:

Password for 'https://github.com':

For the record, it wasn't the case last week when setting up the same repo.

@zanieb
Copy link
Member

zanieb commented Feb 16, 2025

Same as #5107

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants