Skip to main content

What is ddmail_dmcp_keyhandler

Web application API for dovecot mail-crypt-plugin using per folder keys for the DDMail project. Support for creating password protected keys and change password on keys.

What is DDMail

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

Operating system

Developt for and tested on debian 12.

Installing using pip

pip install ddmail-dmcp-keyhandler

Building and installing from source using hatchling.

Step 1: clone github repo
git clone https://github.com/drzobin/ddmail_dmcp_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

Running in development mode

source [ddmail_dmcp_keyhandler venv]/bin/activate
export MODE=DEVELOPMENT
flask --app ddmail_dmcp_keyhandler:create_app(config_file="[full path to config file]") run --host=127.0.0.1 --port 8002 --debug

Testing

cd [code path]
pytest --cov=ddmail_dmcp_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.

Metadata

Release files for ddmail-dmcp-keyhandler 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ddmail-dmcp-keyhandler 0.0.3
File Size Uploaded Provenance
ddmail_dmcp_keyhandler-0.0.3.tar.gz 19.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ddmail-dmcp-keyhandler 0.0.3
File Interpreter ABI Platform
ddmail_dmcp_keyhandler-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 36.5 kB

Release files / ddmail_dmcp_keyhandler-0.0.3.tar.gz

Download URL ddmail_dmcp_keyhandler-0.0.3.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f1b44bc5057280500187306fa2ae3dc3961c4254d55682abe363e67f674c2764
BLAKE2b-256 checksum
How to use checksums
859e299fd052804a5c898b0d8892f2d2cce5798e507574e94309c54baf2b597b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / ddmail_dmcp_keyhandler-0.0.3-py3-none-any.whl

Download URL ddmail_dmcp_keyhandler-0.0.3-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71d99c6384989a27a659a47018d01b941574f23b20d08cc3aa0490ebef5d82c5
BLAKE2b-256 checksum
How to use checksums
6187794676c59a9ffa07747e7ca2d20ea8ca51a545552917e12249124c004dde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for ddmail-dmcp-keyhandler 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page