This project provides a set of scripts for signing, encrypting, and verifying files using GPG (GNU Privacy Guard). It includes both Python and Bash scripts to facilitate various cryptographic operations.
- Sign Messages: Clearsign or detach-sign messages using GPG.
- Symmetric Encryption: Encrypt and decrypt files using a password.
- Asymmetric Encryption: Encrypt and decrypt files using recipient keys.
- Verify Signatures: Verify signed messages and files.
-
gpg-clearsign-cmd.zsh:
- Prompts for a message and signs it using GPG.
- Requires GPG installed and configured.
-
gpg-verify-clearsign.zsh:
- Verifies a signed message using a public key.
-
gpg-crypt-sym.zsh:
- Symmetrically encrypts or decrypts a file.
- Usage:
gpg-crypt-sym.zsh -f <file> -o <output> -m <mode> [-p password] [-a]
-
gpg-crypt.zsh:
- Asymmetrically encrypts or decrypts a file.
- Usage:
gpg-crypt.zsh -f <file> -o <output> -r <recipient> -m <mode> [-a]
-
gpg-sign-file.zsh:
- Signs a file using a specified GPG key.
- Usage:
gpg-sign-file.zsh -f <file> -o <output> -k <key> -s <signing_option>
-
gpg-verify-file.zsh:
- Verifies a file against its signature.
- Usage:
gpg-verify-file.zsh -f <file> -s <signature>
- GPG installed on your system.
- Nix package Manager (for Python scripts)
MIT License. See LICENSE for details.
Refer to the usage instructions in each script for specific command-line options and examples.