-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Originally from: rust-lang/crates.io#78
Right now the crates.io API token used by cargo is stored in the [registry.token] section of ~/.cargo/config (which, as it were, has 644 file permissions by default, i.e. world readable)
I think it would make more sense to separate credentials into a separate file (e.g. ~/.cargo/credentials or ~/.cargo/token) which always has 600 file permissions and will warn or not function if the permissions are too loose
Some precedent here is RubyGems, which stores its equivalent credentials in a ~/.gem/credentials file, which always has 600 permissions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels