GnuPG provides an option "--verify-files" to iterate the "--verify" result over multiple files. The "--verify" command does not include the filename itself in the result, which does not present problems for a single invocation. The problem is that with "--verify-files" no additional information is provided, making the option useless in practice.
Steps to reproduce:
- Generate two files with signatures, file-1.txt.gpg and file-2.txt.gpg
- Randomly change one of the bits of one of the files.
- gpg --verify-files file-1.txt.gpg file-2.txt.gpg
gpg: Signature made Wed Jun 6 02:55:50 2018 CEST
gpg: using RSA key 0x<redacted>
gpg: Good signature from <redacted>
gpg: Signature made Wed Jun 6 02:56:16 2018 CEST
gpg: using RSA key 0x<redacted>
gpg: BAD signature from <redacted>
Current outcome:
As a user I do not know which of the files has a good and which has a bad signature. This is feasible to check by hand with 2 files, but infeasible with multiple.
Expected result:
Include the filename in the result so that I can tell which result belongs to which file.