A Delta Chat bot to import PGP keys from file, WKD, and keys.openpgp.org
https://i.delta.chat/#3A1AA7D00655BA5EF141A5BBB2FFB9E3D9C91A95&a=publickey%40nine.testrun.org&n=%F0%9F%94%91%20PGP%20Key%20Bot&i=_XUak8rjLSVeTCMcF7NsYBic&s=vA7-gD16lb-cLHWU2QQJ3qBq
| src/keyserver_bot | ||
| tests | ||
| .gitignore | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| setup.cfg | ||
Keyserver Bot
Setup
python3 -m venv venv
. venv/bin/activate
pip install -e .
keyserver-bot --email keyserver@example.org --password s3cr3t
Usage
If you send an email address to the bot, it will try to query WKD, and if that fails keys.openpgp.org, for a public OpenPGP key belonging to the email address.
Then it will send you a VCard contact which contains the public key, so you can initiate an encrypted chat to it.
You can also send a .asc PGP key file to the bot, and it will send you a VCard contact for it.
With the "/generate-invite" command, you can also generate an invite link for the bot so you can publish it.
Contribute
Pull Requests are very welcome!
To run the tests and lint checks:
python3 -m venv venv
. venv/bin/activate
pip install -e .[dev]
tox