-
Notifications
You must be signed in to change notification settings - Fork 1
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
Outdated does not work with authenticated nexus repository #17
Comments
Thanks for reporting this! |
Should have said this in the first post, but I am using the OSS version 3.29.2-02 (current latest on docker hub), so hopefully, it should be easy to setup. |
can confirm/reproduce this issue. |
Okay... I might have been a little hasty here 😐
slight note @TheCakeIsNaOH - I haven't seen this issue up until now b/c I've only been using feeds with 'anonymous viewer access' - which is all that's required to receive the neccessary ODATA info. (don't know if possible for you or not, but you could enable this in your nexus instance and see if it works then) |
I tested it temporarily, and |
Here is how to do it in powershell:
Works for the passwords and api keys in |
Hey @TheCakeIsNaOH , thanks for your input! My 'proof-of-concept' was actually a little C# app that did the 'unprotect step' ... but your powershell code made me think of this little hack:
it's still ugly, but that'll do / probably be in the bugfix version until I figure out how to properly use the dpapi.CryptUnprotectData. |
hey @TheCakeIsNaOH , could you check if the provided artifact works with your authenticated repo? |
@mwallner It is working for me. Thanks for working on this. |
would you mind checking how this version of roco compares to choco in terms of speed?
vs.
tbh, I haven't had time to look up how to use the native dpapi, so I basically just included the powershell snippet you provided above, which unfortuantely adds quite some overhead when reading the config file... 😅 |
Choco was 203 packages installed. |
thanks for your help on this @TheCakeIsNaOH , this issue has been resolved in version 0.5.2 |
It is working, thanks for the fix. |
When running
roco outdated
on a machine that has an authenticated nexus repository as the only source, it does not find any updates and gives warnings for all packages installed. There are a number of outdated packages found when runningchoco outdated
.Also, this lives up to the hype and is super fast compared to choco with checking the chocolatey.org repo.
The text was updated successfully, but these errors were encountered: