More gpg arguments available for use with gpgtar
Open, NormalPublic


Hello there.

The last changes gpgtar has seen in the last few days have dramatically increased it's utility for me and I'm very thankful for that. Nevertheless, there's still room for improvement, and I'd like to suggest a bit of simplification. Here's my scenario. Say I need to armor-encrypt a group of files to a hidden recipient, what do I do? well, right now this takes storing the files in a plain vanilla tar and piping that back into gpg for the rest of the operations. So it's perfectly possible, but kind of clumsy given that neither --armor nor ---hidden-recipient are considered to be arguments by --gpg-args.

Here's an example of the "3-tier piping" (non-abbreviated just for general readability) on a windows system:

dir *.pdf /b > stuff | gpgtar --output foo --files-from stuff --create | gpg --output bar.asc --armor --hidden-recipient someone --sign --encrypt foo

Thanks in advance and sorry for any inconvenience.


GnuPG 2.2.22 on Windows XP 32-bit
werner triaged this task as Normal priority.