Skip to content

Commit 12ca8e0

Browse files
Mark-Simulacrumpietroalbini
authored andcommitted
Fix gpg signing in manifest builder
GPG versions 2.x+ require that --batch be passed if --passphrase-fd is to be accepted.
1 parent ca66a4b commit 12ca8e0

File tree

1 file changed

+1
-0
lines changed
  • src/tools/build-manifest/src

1 file changed

+1
-0
lines changed

src/tools/build-manifest/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ impl Builder {
628628
let mut cmd = Command::new("gpg");
629629
cmd.arg("--no-tty")
630630
.arg("--yes")
631+
.arg("--batch")
631632
.arg("--passphrase-fd").arg("0")
632633
.arg("--personal-digest-preferences").arg("SHA512")
633634
.arg("--armor")

0 commit comments

Comments
 (0)