tools.openpgp_tools module

OpenPGP tools using PGPy (RSA and ECC support).

Features: - Generate RSA and ECC (ECDSA primary + ECDH subkey) OpenPGP keys - Optional passphrase protection - Redis-backed storage for all keys (via ctx.redis) - Encrypt / Decrypt messages (ASCII-armored) - Sign / Verify (clearsign or detached) - Import / Export armored keys