Skip to content

Commit 0a3f194

Browse files
alexcrichtonpietroalbini
authored andcommitted
Add --pinentry-mode=loopback to deployment script
Apparently this changed with gpg2 or... something like that?
1 parent 12ca8e0 commit 0a3f194

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,8 @@ impl Builder {
626626
let asc = self.output.join(format!("{}.asc", filename));
627627
println!("signing: {:?}", path);
628628
let mut cmd = Command::new("gpg");
629-
cmd.arg("--no-tty")
629+
cmd.arg("--pinentry-mode=loopback")
630+
.arg("--no-tty")
630631
.arg("--yes")
631632
.arg("--batch")
632633
.arg("--passphrase-fd").arg("0")

0 commit comments

Comments
 (0)