-
Notifications
You must be signed in to change notification settings - Fork 614
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
Cannot use choco list on nuget repositories #1662
Comments
Allow directory browsing
)Allow directory browsing
)
These might be two different problems. Are you talking about |
@steve-todorov |
Allow directory browsing
)
@gretel : Please share source used for command |
|
There is a method in NugetArtifactController Issue can be fixed by changing @strongbox/core-developers : Suggestions?? |
|
i guess i would solve mine, too :) |
There's actually a comment for this in the code - the |
Upon closer look this is actually doing something. We used to have these |
btw, |
this comment also say that Nuget using this method to check that authentication required. AFAIK it will fail to deploy with |
@anki2189 can you please check it with Nuget v2 and v3 and latest mono? Also from your previous comment it's become unclear how choco determines the need for authentication? |
Whereas
|
Behaviour is same using both nuget 2 and 3 exe.
|
@anki2189 why |
I mean that we should find the root cause of why |
From documentation it doesn't . https://github.com/chocolatey/choco/wiki/CommandsList |
|
Also there is no Authorization header in request for |
By default it assumes username to be empty it not provided. |
@anki2189 does it requests the authentication for |
Yes, api-key |
ok, let's try |
PR #1674 seems works fine, so I suggest to merge it and resolve the issue. Just to be clear regarding |
@gretel : Could you please test this out? |
@carlspring the pipeline eats the github snapshot.. dont have any maven running :( |
@steve-todorov : Could you please take a look? Thanks! |
It's already in the |
@steve-todorov ah i didnt notice the merge. can bump the deployment tomorrow. regards |
Bug Description
The default configuration has
ANONYMOUS_ROLE
set but trying to browse a nuget directory does always require authentication.Steps To Reproduce
nuget-storage
api
transaction anonomously (likechoco list
)Expected Behavior
Anonoymous users should be able to browse the directory as inherited by
ARTIFACTS_RESOLVE
Environment
{"strongbox":{"version":"1.0-SNAPSHOT","revision":"eccd13064b1e3bfa"}}
adoptopenjdk/openjdk8:jdk8u232-b09-alpine
The text was updated successfully, but these errors were encountered: