LastSignal

Self-hosted dead man's switch that delivers end-to-end encrypted messages

Image 1 of 1: LastSignal site above the dashboard asking to save an emergency recovery code

Emails periodic check-ins and, after missed reminders and an optional trusted-contact pause, delivers messages that were encrypted in the browser with X25519 and XChaCha20-Poly1305, keys derived with Argon2id. Rails 8 on SQLite, deployed with Kamal, with a keep-alive webhook for automations.

Trade-offs

  • The KDF salt is server-generated and stored beside recipients' public keys, so keys regenerate from a passphrase. Whoever gets the database can brute-force passphrases offline.
  • Email-first: check-ins, reminders and delivery all go by email, so a reliable SMTP provider is required. A machine-to-machine keep-alive webhook exists for automations, as an add-on only.

Q&A2

Not the messages: they are end-to-end encrypted with Argon2id (256 MB), X25519 and XChaCha20-Poly1305, and the server never sees plaintext. Weak recipient passphrases are the exposure, since a stolen database allows offline guessing.

Reviews

Loading reviews

    More from @giovantenne

    All 2 →
    • NixoriumRuns a school computer lab of NixOS PCs from one controller, offline

    More in Cryptography

    See all 12 →
    • SealEncrypted letters and secrets for after a death, opened by M of N key holders
    • PaperVaultOffline paper vaults for secrets, unlocked by M-of-N printed key shares
    • Let's SealOpen standard and free network for proving a file is unaltered, dated and issued
    • Desktop-2FAOffline TOTP manager for the terminal with an encrypted local vault
    • ZeroLinkAccount-free secret sharing where the receiver locks the link first
    • GPG MeisterDesktop GnuPG client for keys, messages, folders and encrypted key backups

    More in Privacy

    See all 41 →
    • SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL
    • TellyscopeAndroid TV debloater and remote that runs from a phone over ADB
    • FusionalySelf-hosted web analytics in one SQLite file
    • CompartmentEncrypted, fully offline memory vault for AI agents
    • SnitchPer-app network monitor and outbound firewall for the desktop
    • LordOSDebian-based Linux distribution with its own desktop stack

    More in Self-hosted

    See all 120 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS
    • KotauthMulti-tenant OAuth2 and OIDC identity server in Kotlin, self-hosted in Docker
    • TouchDeckA local touch control deck for Home Assistant and PC stats on an ESP32-S3
    • DeftSelf-hosted workspace shared by people and AI agents
    • open-computeSelf-hosted Cloudflare Workers-compatible platform in one Rust binary