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

Enable cargo:token as a global-credential-provider #140

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

qsantos
Copy link
Contributor

@qsantos qsantos commented Dec 13, 2023

Enable cargo:token as a global-credential-provider

Since 1.74, Cargo requires a credential provider to be set up to download crates from private registries. This changes set the cargo:token credential provider. This stays compatible with the mitmproxy credentials injection.

This will also be useful when switching to cargo-based authentication instead of relying on credentials injection.

@qsantos qsantos changed the title Enable token as a global-credential-provider Enable cargo:token as a global-credential-provider Dec 13, 2023
Quentin Santos added 2 commits December 13, 2023 15:57
Since 1.74, Cargo requires a credential provider to be set up to
download crates from private registries. This changes set the
cargo:token credential provider. This stays compatible with the
mitmproxy credentials injection.

This will also be useful when switching to cargo-based authentication
instead of relying on credentials injection.
Copy link
Contributor

@NiklasRosenstein NiklasRosenstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@NiklasRosenstein NiklasRosenstein merged commit 27fc5be into develop Dec 13, 2023
7 checks passed
@NiklasRosenstein NiklasRosenstein deleted the cargo-registry-auth branch December 13, 2023 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants