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

Unable to authenticate on registries #165

Open
1 task done
WarningImHack3r opened this issue Dec 2, 2024 · 0 comments
Open
1 task done

Unable to authenticate on registries #165

WarningImHack3r opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@WarningImHack3r
Copy link
Owner

WarningImHack3r commented Dec 2, 2024

What is the issue?

Since 3.6.0, I've removed the fallbacks using terminal commands to remove the dependency on shell command execution, as it's slow and now (I thought) useless (#104).

However, as private repositories are indeed still fetchable and scanned, I no longer enjoy the benefit that running npm commands from a shell gives me authenticated access for free thanks to the npm command doing all the work for me.

I could easily revert the changes I made, but I don't want to for performance reasons and issues like #104.

I need to read credentials in a way (reading the global config?) such that I can use them to authenticate my requests without having to run npm commands again.

Note

If you read this because you're affected by the issue and had no problem with command executions before, you can temporarily downgrade to 3.5.0 while waiting for a better fix.

What are the steps to reproduce this issue?

Have a private authenticated registry and/or a private package, run the plugin.

What were you expecting to happen?

The plugin to work as well as it did before 3.6.0.

Paste any relevant logs, error output, etc.

No response

What OS are you experiencing the problem on?

Not applicable

Additional platform information

No response

Duplicates

  • I have checked that my problem has not already been mentioned recently in an existing issue
@WarningImHack3r WarningImHack3r added the bug Something isn't working label Dec 2, 2024
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

1 participant