Skip to content

Commit

Permalink
Add --pinentry-mode=loopback to deployment script
Browse files Browse the repository at this point in the history
Apparently this changed with gpg2 or... something like that?
  • Loading branch information
alexcrichton authored and pietroalbini committed Dec 18, 2018
1 parent 5a82573 commit 9b226dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,8 @@ impl Builder {
let asc = self.output.join(format!("{}.asc", filename));
println!("signing: {:?}", path);
let mut cmd = Command::new("gpg");
cmd.arg("--no-tty")
cmd.arg("--pinentry-mode=loopback")
.arg("--no-tty")
.arg("--yes")
.arg("--batch")
.arg("--passphrase-fd").arg("0")
Expand Down

0 comments on commit 9b226dd

Please sign in to comment.