Simple GPG GUI with Zenity written in Bash. Intended for use with Custom Actions in Thunar.
Includes GUI interface for managing "groups" and utility to draft an email in Thunderbird to an encrypted files recipients
Make sure the scripts in bin/
in your $PATH
(symlink to ~/bin
, or copy
them or whatever)
To add custom actions to Thunar, copy the actions in config/uca.xml
into your
~/.config/Thunar/uca.xml
Usage: gpg-action FILE
Calls gpg-import-key
or gpg-decrypt
depending on whether FILE
is a key
or an encrypted file. Intended for use as default file association for gpg
files.
Usage: gpg-decrypt [FILE]
If FILE
is not given, prompts for encrypted file to decrypt. Prompts for
destination and attempts to decrypt the file.
Usage: gpg-encrypt [FILE]
If FILE
is not given, prompts for file to encrypt. File will be encrypted to
FILE.gpg
, and overwrite will be confirmed if it already exists. User will be
presented with a list of configured GnuPG "groups" and individual valid keys to
specify as recipients.
Usage:
gpg-groups
gpg-groups create [GROUP]
gpg-groups edit [GROUP]
gpg-groups delete [GROUP]
gpg-groups copy [GROUP] [DESTINATION]
Interactive editing of GnuPG "groups"
Usage: gpg-import-key FILE
Imports a key and displays info.
Usage: gpg-info FILE
Displays information about GnuPG file (gpg --list-packets
). Can be used to see
recipients.
Usage: gpg-send FILE
Reads recipients of a GnuPG encrypted file and attempts to draft an email in
Thunderbird with the recipients in the BCC field and FILE
attached.