Description: | A module and stand-alone script for batch-signing files with GPG. |
Latest Version: | 2022 |
Source Code: | src/ |
Architecture: |
|
Dependencies: |
|
Build Dependencies: |
|
Arch Repositories: |
|
AUR Page: | python3-gpg_batch_sign |
Tags: |
gpg_batch_sign is a Python 3 module and script for batch-signing files with GPG. It directly invokes the gpg command-line utility.
Consider using the pygpgme module as a backend. I was not aware of it when I wrote this and did not bother looking because it was only a simple script.
$ gpg-batch_sign --help
usage: gpg-batch_sign [-h] -u <GPG user ID> [--no-verify] [--no-agent]
<filepath> [<filepath> ...]
Batch sign files with gpg.
positional arguments:
<filepath> The files to sign.
options:
-h, --help show this help message and exit
-u <GPG user ID>, --uid <GPG user ID>
The GPG user ID of the signing key.
--no-verify Skip GPG verfication of existing signatures. Only
check timestamps. This is faster but it will not
detect existing invalid signatures.
--no-agent Prompt for password instead of expecting the GPG agent
to handle it.
You will need to add allow-loopback-pinentry
to
~/.gnupg/gpg-agent.conf
for this module to work.