Skip to main content

Delay-tolerant encrypted messaging

Project description

MahkrabDTN

Delay-tolerant encrypted messaging with a relay server and a small CLI.

Install

pipx install mahkrabdtn

For development:

pip install -e ".[dev]"

CLI

The main command is mkdtn.

mkdtn identity
mkdtn register
mkdtn send <recipient-node-id> "hello"
mkdtn poll --ack

Run a local relay when you do not want to use the default relay:

mkdtn serve
mkdtn identity
mkdtn register --relay http://127.0.0.1:8000
mkdtn send <recipient-node-id> "hello"
mkdtn poll --ack
mkdtn poll --watch --ack
mkdtn health

The CLI uses MAHKRABDTN_RELAY and MAHKRABDTN_IDENTITY when set. By default it uses https://relay.mahkrab.com and ~/.mahkrabdtn/node.id.

Use mkdtn poll --watch --ack to keep a terminal open for incoming messages.

Build

python -m build
twine check dist/*
twine upload dist/*

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

mahkrabdtn-0.0.1a1.tar.gz (31.0 kB view details)

Uploaded Source

Built Distribution

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

mahkrabdtn-0.0.1a1-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file mahkrabdtn-0.0.1a1.tar.gz.

File metadata

  • Download URL: mahkrabdtn-0.0.1a1.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mahkrabdtn-0.0.1a1.tar.gz
Algorithm Hash digest
SHA256 b9c43dd8212fde9baae2122049b74a98ea3904b8f19adc0cc08284aaf7f61d23
MD5 233cb86f8ff92d6d0d51f23f25affbc8
BLAKE2b-256 840c75e6be1584f30ecc7f27f3b3635918d8b83bf161e5e82287e28e1f18988a

See more details on using hashes here.

File details

Details for the file mahkrabdtn-0.0.1a1-py3-none-any.whl.

File metadata

  • Download URL: mahkrabdtn-0.0.1a1-py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for mahkrabdtn-0.0.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 f78eb733d14808a5d7ce1786856d1781ad945131a33d7853b50dede9eda629d9
MD5 3cd632667d12fa5bd66956b43d18f3a3
BLAKE2b-256 a76ab40acd9e303eac5282ee3bef623895eb62c6b847ca76b8c155a9dcd3cfe2

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