From 0a3f194a1de13de7d873a0387085dda2b7777cd9 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 13 Dec 2018 08:19:06 -0800 Subject: [PATCH] Add `--pinentry-mode=loopback` to deployment script Apparently this changed with gpg2 or... something like that? --- src/tools/build-manifest/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 00e52ae7e6230..7b03eafddefe8 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -626,7 +626,8 @@ impl Builder { 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")