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:
parent
8375ab4ff4
commit
4d5413bc1d
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue