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

Pkg.update caches invalid credentials #17990

Closed
omus opened this issue Aug 12, 2016 · 6 comments
Closed

Pkg.update caches invalid credentials #17990

omus opened this issue Aug 12, 2016 · 6 comments
Labels
packages Package management and loading

Comments

@omus
Copy link
Member

omus commented Aug 12, 2016

After purposefully entering my username and password incorrectly three times for private repo I got the expected "Package ... cannot be updated." message. What I did not expect is that running Pkg.update() again does not reprompt the user for credentials.

@StefanKarpinski
Copy link
Member

Does it just decide that you don't know them and stop asking you forever?

@Keno
Copy link
Member

Keno commented Aug 12, 2016

What version was this on. I did a bit of cleanup of this code in the past two days.

@tkelman tkelman added the packages Package management and loading label Aug 12, 2016
@omus
Copy link
Member Author

omus commented Aug 12, 2016

OS X Julia v0.5.0-rc2.

@omus
Copy link
Member Author

omus commented Aug 12, 2016

I just tried Julia v0.5.0-rc2 on Linux and it appears to reprompt forever when given invalid credentials. Also, I forgot to mention this using HTTP.

@omus
Copy link
Member Author

omus commented Aug 15, 2016

As it turns out our private Git server will block access when entering invalid credentials repeatedly within a short duration of time. Once blocked, Julia will then cache the last invalid credentials and use them on subsequent Pkg.update() calls.

@KristofferC
Copy link
Member

Issue moved to JuliaLang/Pkg.jl #692 via ZenHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Package management and loading
Projects
None yet
Development

No branches or pull requests

5 participants