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

Parsing gpg output makes cargo fragile to the environment #3762

Closed
lucab opened this issue Oct 14, 2012 · 0 comments
Closed

Parsing gpg output makes cargo fragile to the environment #3762

lucab opened this issue Oct 14, 2012 · 0 comments

Comments

@lucab
Copy link
Contributor

lucab commented Oct 14, 2012

In order to verify the gpg signature on repository, cargo is launching gpg and trying to parse the output for correct verification. This can break in many ways, the simplest one actually being language configuration by the environment.

lucab@galatea:$ echo $LANG
it_IT.utf8
lucab@galatea:
$ cargo init
error: signature verification failed for '/home/lucab/.cargo/sources.json.new'
lucab@galatea:~$ LANG=C cargo init
info: initialized .cargo in /home/lucab/.cargo

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

No branches or pull requests

2 participants