Skip to content

Commit

Permalink
Merge pull request #200 from eed3si9n/wip/yes
Browse files Browse the repository at this point in the history
Pass in --yes
  • Loading branch information
eed3si9n authored Dec 6, 2022
2 parents f7550fd + 6b03456 commit 566037a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbt-pgp/src/main/scala/com/jsuereth/sbtpgp/PgpSigner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class CommandLineGpgSigner(
// --passphrase
// Since Version 2.1 the --pinentry-mode also needs to be set to loopback.
if (isLegacyGpg) Seq("--batch", "--passphrase", pass)
else Seq("--batch", "--pinentry-mode", "loopback", "--passphrase", pass)
else Seq("--batch", "--yes", "--pinentry-mode", "loopback", "--passphrase", pass)
}) getOrElse Seq.empty
val ringargs: Seq[String] =
optRing match {
Expand Down

0 comments on commit 566037a

Please sign in to comment.