From: Alex Crichton Date: Thu, 13 Dec 2018 16:19:06 +0000 (-0800) Subject: Add `--pinentry-mode=loopback` to deployment script X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=b1858677ce3a013fd91c0ad7740ad3ebd0ee4479;p=rust.git Add `--pinentry-mode=loopback` to deployment script Apparently this changed with gpg2 or... something like that? --- diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 695ca743089..ea6c7115d39 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -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")