Skip to main content

Web application API to handle OpenPGP keys and keyrings for the ddmail project

Project description

What is ddmail_openpgp_keyhandler

Web application API to handle OpenPGP keys and keyrings for the DDMail project.

What is DDMail

DDMail is a e-mail system/service that prioritizes security. A current production example can be found at www.ddmail.se

Operating system

Developt for and tested on debian 12.

Install using pip

pip install ddmail-openpgp-keyhandler

Building and installing from source using hatchling.

Step 1: clone github repo
git clone https://github.com/drzobin/ddmail_openpgp_keyhandler [code path]
cd [code path]

Step 2: Setup python virtual environments
python -m venv [venv path]
source [venv path]/bin/activate

Step 3: Install package and required dependencies
pip install -e .[dev]

Step 4: Build package
python -m pip install --upgrade build
python -m build

Packages is now located under dist folder

Step 5: Install package
pip install dist/[package name].whl

Testing

cd [code path]
pytest --cov=ddmail_openpgp_keyhandler tests/ --config=[config file path] --password=[password]

Coding

Follow PEP8 and PEP257. Use Flake8 with flake8-docstrings for linting. Strive for 100% test coverage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ddmail_openpgp_keyhandler-0.0.3.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ddmail_openpgp_keyhandler-0.0.3-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file ddmail_openpgp_keyhandler-0.0.3.tar.gz.

File metadata

File hashes

Hashes for ddmail_openpgp_keyhandler-0.0.3.tar.gz
Algorithm Hash digest
SHA256 69f9b52529848c7fd518787c81ebabcce9a9cce81653b5bbc143f9c3803348a4
MD5 2f58bc1d61535adbab13879e38cd2536
BLAKE2b-256 1113ac44b7fdea5ac63dde0149ab5be0058b5d24a420538c198da9d2d2e84fb3

See more details on using hashes here.

File details

Details for the file ddmail_openpgp_keyhandler-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for ddmail_openpgp_keyhandler-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ed7cd445f704b9304610ecc92360833b794d8c43531cdc16f6692edc595242d1
MD5 ddce48cb679ce7be2d66df03bf1d0469
BLAKE2b-256 d159275c0b65043d7298ab2c880b2fb28e151d61fbee180e1c074ad4f184cc9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page