Auto merge of #56783 - alexcrichton:pinentry-mode, r=Mark-Simulacrum

Add `--pinentry-mode=loopback` to deployment script

Apparently this changed with gpg2 or... something like that?
This commit is contained in:
bors 2018-12-13 17:38:17 +00:00
commit f4a421ee3c

View File

@ -621,7 +621,8 @@ fn sign(&self, path: &Path) {
let asc = self.output.join(format!("{}.asc", filename));
println!("signing: {:?}", path);
let mut cmd = Command::new("gpg");
cmd.arg("--no-tty")
cmd.arg("--pinentry-mode=loopback")
.arg("--no-tty")
.arg("--yes")
.arg("--batch")
.arg("--passphrase-fd").arg("0")