Skip to content

git global settings (name, email) are private, do not read or use #7044

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
Meai1 opened this issue Jun 19, 2019 · 3 comments
Closed

git global settings (name, email) are private, do not read or use #7044

Meai1 opened this issue Jun 19, 2019 · 3 comments
Labels
C-bug Category: bug

Comments

@Meai1
Copy link

Meai1 commented Jun 19, 2019

I am using my real name and private email for my own repos that will never go public. Why should cargo read this information? I do not consent!
If I were to accidentally leave that information and publish it, it would be pretty bad. I would have to get a new email and who knows what else can be compromised. I dont want to get into it, but the entire point of this issue is that it's none of your business what my name and email is unless I want to share it.

@Meai1 Meai1 added the C-bug Category: bug label Jun 19, 2019
@ehuss
Copy link
Contributor

ehuss commented Jun 19, 2019

You may set the global [cargo-new] config settings to whichever value you want (described on the init page), or the CARGO_NAME/CARGO_EMAIL environment variables. Or you can just edit the Cargo.toml file after creating it, or create it manually.

@ehuss ehuss closed this as completed Jun 19, 2019
@ghost
Copy link

ghost commented Mar 17, 2021

This should be re-opened. Cargo is violating consent by scraping personal information from the environment without asking. The fact that you can opt-out by setting cargo-new.name and cargo-new.email doesn't change the fact that this is a violation of privacy and consent.

@ehuss
Copy link
Contributor

ehuss commented Mar 17, 2021

@substack It is being removed in #9282.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants