From: Mark Rousskov Date: Wed, 12 Dec 2018 02:10:45 +0000 (-0700) Subject: Fix gpg signing in manifest builder X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=4d5413bc1d5aca13bca630b07505f851a5fe19d5;p=rust.git Fix gpg signing in manifest builder GPG versions 2.x+ require that --batch be passed if --passphrase-fd is to be accepted. --- diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 896b380f85c..695ca743089 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -623,6 +623,7 @@ fn sign(&self, path: &Path) { let mut cmd = Command::new("gpg"); cmd.arg("--no-tty") .arg("--yes") + .arg("--batch") .arg("--passphrase-fd").arg("0") .arg("--personal-digest-preferences").arg("SHA512") .arg("--armor")