Passwordless asymmetric encryption for files, using RSA-4096 key encapsulation and AES-256-GCM data encryption.
Sending a sensitive file to a specific recipient usually means agreeing on a password or shared secret over a secure channel. GUN-101-GKP removes that step.
The recipient generates an RSA-4096 key pair and shares only a public Identity Token. Anyone holding that token can encrypt a file for the recipient, but only the holder of the matching private key can decrypt it — with no password and no shared secret exchanged.
Install GUN-101-GKP from PyPI:
pip install gun101-gkp
A Bash completion script is available at scripts/completions/bash/gun101gkp.bash.
To enable it for the current shell from a source checkout:
source scripts/completions/bash/gun101gkp.bash
For persistent per-user completion on systems using bash-completion:
mkdir -p ~/.local/share/bash-completion/completions cp scripts/completions/bash/gun101gkp.bash ~/.local/share/bash-completion/completions/gun101gkp
Start a new Bash session after installing the completion file.
# Recipient: generate an identity once gun101gkp generate-identity # Sender: encrypt a file for the recipient gun101gkp encrypt report.pdf --recipient GUN101GKP-v2-... # Recipient: decrypt gun101gkp decrypt report.pdf.gkp
Full usage is documented in the README and the API reference.
Contributions are welcome. Please read the contributing guide first. The authors are listed in AUTHORS.md.
MIT. See the LICENSE file.