Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • It appears that what you want (--sign + --multifile) is not currently implemented, dev.gnupg.org/T4930. Commented Jun 11, 2020 at 14:04
  • Can you add a variable to your script (or pass it in at invocation) to hold the PIN and then pass to gpg in batch mode? Commented Jun 11, 2020 at 14:07
  • Modifying the script with a variable is fine, although passing the pin on the command-line is probably not advised, as it could be stored in the history file. I believe I could use pinentry to get the pin securely, but how would I tell gpg to use it? Commented Jun 12, 2020 at 17:01