Skip to content

Commit

Permalink
Fix gpg signing in manifest builder
Browse files Browse the repository at this point in the history
GPG versions 2.x+ require that --batch be passed if --passphrase-fd is
to be accepted.
  • Loading branch information
Mark-Simulacrum committed Dec 12, 2018
1 parent 8375ab4 commit 4d5413b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ impl Builder {
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")
Expand Down

0 comments on commit 4d5413b

Please sign in to comment.