Github Cargo alternative registry auth by arlosi · Pull Request #3139 · rust-lan...
source link: https://github.com/rust-lang/rfcs/pull/3139
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
New issue
Cargo alternative registry auth #3139
Conversation
This RFC adds authorization for alternative registries, taking in to account the recent developments in HTTP-based registries (RFC2789).
This seems reasonable.
The RFC should explicitly state that authorization headers are only provided for https://
URLs, and that under no circumstances will cargo ever pass an authorization header over plaintext HTTP.
Also, the RFC suggests that there's nowhere to pass this information for git, but if you're using git via https
, it'd be possible to pass the authorization header. We may or may not want to support that. But at the very least, the RFC should document this possibility, and then state a concrete proposal for how we want to handle this case.
No reviews
No one assigned
None yet
No milestone
Successfully merging this pull request may close these issues.
None yet
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK