Find a file
2025-06-11 12:36:10 +02:00
src/keyserver_bot fix: only consider the uid from an imported key if it's self-signed 2025-06-11 12:36:10 +02:00
tests feat: upload PGP keys to keys.openpgp.org 2025-04-21 00:48:22 +02:00
.gitignore get echo bot running as foundation 2025-04-05 09:46:22 +02:00
LICENSE initial commit: basicpy project structure 2025-04-04 10:33:11 +02:00
pyproject.toml initial commit: basicpy project structure 2025-04-04 10:33:11 +02:00
README.md doc: explain attachment functionality in help message & readme 2025-04-11 08:14:41 +02:00
setup.cfg tests: introduce handle command for better command testing 2025-04-11 09:27:44 +02:00

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