Please remember to supply --batch whenever you invoke gpg from a script or other automated tooling!
On Mon 2018-09-17 16:06:40 +0800, Paul Wise wrote:
> For keys only:
>
> gpg --home $(mktemp -d) file
Please don't use this form, it's broken and unsupported by upstream.
There is no explicit command given, and gpg requires exactly one
command.
Until recently, there was no supported command, but with modern GnuPG
there is:
gpg --batch --show-keys < file
for machine-parseable stuff or automated processing, you should also
probably supply --with-colons.
regards,
--dkg
signature.asc
Description: PGP signature

