Skip to main content

LANMess

LAN-only end-to-end encrypted messenger with a terminal UI.

Install

pip install lanmess

Run

lanmess

First launch

  1. Display name.
  2. Group code (min 12 chars, shared with your peers).
  3. PIN (min 12 chars, mixed character classes). This unlocks your local database.

You type the group code once. From now on you unlock with your PIN.

UI overview

  • Sidebar shows contacts with unread badges (3), verified markers *, and state tags [active], [chat req], [BLOCKED].
  • Chat pane shows the conversation, a [UNVERIFIED] warning if applicable, a status line, and the message input.
  • M opens a sectioned menu (Chat / History / Session / System).
  • Ctrl+Z opens a modal with your current add code and countdown.
  • ? opens help. Ctrl+L locks. Ctrl+Q quits.

Security model (v1.1.7)

  • Per-session X25519 handshake with fresh ephemerals both sides.
  • Symmetric hash ratchet per message (forward secrecy within a session).
  • Ed25519 signatures on every control frame and every message.
  • Length-padded messages (256-byte blocks).
  • Safety numbers for out-of-band verification (V or /verify).
  • Data at rest sealed by a random per-device master wrapped with Argon2id(PIN).
  • HMAC-chained audit log for sensitive events.
  • Frame size caps, connection semaphore, per-IP rate limits.

Migrating

From v1.1.3 / v1.1.4 / v1.1.5: enter your PIN. Everything re-encrypts under a fresh random master if needed and the audit log is created. Nothing lost.

From v1.1.2: enter your old group code once plus a new PIN.

See THREAT_MODEL.md for what is and isn't defended.

Metadata

Release files for lanmess 1.1.7

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

Source distribution (sdist)

Source distribution for lanmess 1.1.7
File Size Uploaded Provenance Actions
lanmess-1.1.7.tar.gz 39.3 kB With provenance Details for lanmess-1.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lanmess 1.1.7
File Interpreter ABI Platform Actions
lanmess-1.1.7-py3-none-any.whl Python 3 none any Details for lanmess-1.1.7-py3-none-any.whl

Total release size: 70.6 kB

Release files / lanmess-1.1.7.tar.gz

Download URL lanmess-1.1.7.tar.gz
Size 39.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7f597cc20071e6e57618385e3b62e93d937d0fdf08cb0a80c98b31535055e705
BLAKE2b-256 checksum
How to use checksums
177c00445c6e3935137082b70baa29457cae81d3af3857256edd48ef0d4aa578
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / lanmess-1.1.7-py3-none-any.whl

Download URL lanmess-1.1.7-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55aab83a92c72c996a64817c135d26bfb900f67e8bec4119f66b13590bc995f3
BLAKE2b-256 checksum
How to use checksums
489689c24f2cb15231dd5c26bf736cd407bacd64627bccb6a0590e9a3cfac21a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for lanmess 1.1.7

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lanmess-1.1.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

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