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:
commit
f4a421ee3c
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user