python3-gpg_batch_sign

2023-05-10 21:51 UTC
  • Xyne

Metadata

Description: A module and stand-alone script for batch-signing files with GPG.
Latest Version: 2022
Source Code: src/
Architecture:
  • any
Dependencies:
  • python3
Arch Repositories:
  • [xyne-any]
  • [xyne-i686]
  • [xyne-x86_64]
AUR Page: python3-gpg_batch_sign
Tags:

About

gpg_batch_sign is a Python 3 module and script for batch-signing files with GPG. It directly invokes the gpg command-line utility.

TODO

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.

Help Message

$ 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.

README

GPG Signing

You will need to add allow-loopback-pinentry to ~/.gnupg/gpg-agent.conf for this module to work.

Contact
echo xyne.archlinux.org | sed 's/\./@/'
Validation
XHTML 1.0 Strict CSS level 3 Atom 1.0