-
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
[Help] cargo init error #4060
Comments
I noticed that I got the same error message because I didn't have gpg installed. Did you install gpg with your package manager? (For example, |
thanks. |
Can you try |
nemo:~ nemo$ RUST_LOG=cargo |
nemo:~ nemo$ brew install gpg |
It has to be all on one line, like:
For example, what I see when I do that is:
|
I run all . nemo:~ nemo$ RUST_LOG=cargo cargo init |
What does |
same issue here. latest rust from git (release-0.5 tag):
|
okay. was a simple error in pgp.rs. patch sent.
|
thanks . |
Experiencing the same error with cargo compiled from master. For me, the above patch is what is breaking 'cargo init'. I reverted the patch and now 'cargo init' is working. If executing 'gpgv' here, it supports '--verbose' but does not know of a '--verify' option: gpgv --help Syntax: gpgv [options] [files] Options: -v, --verbose verbose |
gpgv seems to be the same as gpg --verify. looking back through the git logs, i'm not sure why that patch fixed cargo init for me; it has always been calling gpgv rather than gpg. will dig some more into this. |
okay. i see the problem. on archlinux, gpgv is symlinked to gpg2, rather than to gpgv2. i'll file a bug with arch, but in the mean time it might be stabler to use gpg --verify rather than gpgv. |
It's fixed in |
Closing because Cargo is obsolete as of version 0.6 and it's also fixed anyway. |
cargo init
error: signature verification failed for '/Users/nemo/.cargo/sources.json.new'
help
The text was updated successfully, but these errors were encountered: