-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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$ cargo initit_IT.utf8
lucab@galatea:
error: signature verification failed for '/home/lucab/.cargo/sources.json.new'
lucab@galatea:~$ LANG=C cargo init
info: initialized .cargo in /home/lucab/.cargo
The text was updated successfully, but these errors were encountered: