Fix gpg signing in manifest builder

GPG versions 2.x+ require that --batch be passed if --passphrase-fd is
to be accepted.
This commit is contained in:
Mark Rousskov 2018-12-11 19:10:45 -07:00
parent 8375ab4ff4
commit 4d5413bc1d

View file

@ -623,6 +623,7 @@ impl Builder {
let mut cmd = Command::new("gpg"); let mut cmd = Command::new("gpg");
cmd.arg("--no-tty") cmd.arg("--no-tty")
.arg("--yes") .arg("--yes")
.arg("--batch")
.arg("--passphrase-fd").arg("0") .arg("--passphrase-fd").arg("0")
.arg("--personal-digest-preferences").arg("SHA512") .arg("--personal-digest-preferences").arg("SHA512")
.arg("--armor") .arg("--armor")