I built Null Messenger (GPLv3) around a simple premise: you cannot leak or recover messages that never touch flash storage.

Instead of SQLite databases, relay servers, or OS keyboards, the entire cryptographic, networking, and OpenGL ES 2.0 UI stack is written in pure C++20 with zero external dependencies:

  • Kernel-locked RAM (SecureMemoryGuard): Up to 6-10 live whispers (max 44 chars) live inside a page-aligned 4 KB mlock() buffer (PR_SET_DUMPABLE(0), MADV_DONTDUMP). Plaintext never crosses JNI into Java strings.
  • Crypto & 60s DHT teleportation: Argon2id (32 MB mixing matrix, zeroed right after derivation) derives a 256-bit master key and Ed25519 seed. Every 60 seconds, Ed25519Bep44Worker teleports the room to new BitTorrent BEP-44 DHT coordinates (SHA-1 of that minute’s derived Ed25519 public key) under a decoy-traffic umbrella. Packets use stateless per-packet ChaCha20-Poly1305 (RFC 8439) padded with noise to a fixed 996-byte payload (1000-byte bencoded value).
  • 20s burn & active overwrite: Messages burn for 20 seconds, zero RAM and GPU memory, and get actively overwritten in the DHT swarm.
  • Built-in OpenGL RAM keyboard & 0.1ms wipe: Renders its own C++ OpenGL ES 2.0 keyboard so Gboard/SwiftKey and the system clipboard never see what you type. Minimizing, screen lock, [ WIPE ], or a >2.5G snatch jolt zeroes RAM and GPU memory in 0.1 ms.
  • C ABI agent bridge (libnull_agent_bridge): Builds a .so/.dylib in one c++ -std=c++20 -O3 -shared -fPIC command (no CMake) so local Python scripts (ctypes, zero pip deps) can join the same 27-char rooms without cloud APIs or open ports.

Mirrors & source:

  • ISO@lemmy.zip
    link
    fedilink
    arrow-up
    31
    arrow-down
    1
    ·
    1 day ago
    1. Codeberg doesn’t allow vibe-coded repos.
    2. You seem to misunderstand the basics of threat models. If you can’t trust Android’s higher level interfaces, then you can’t trust the Android kernel either. There is no such a thing as “entire networking” implemented by “you”. And I could go on an on and on.
    3. C++20 is not a selling point.
    • ImgurRefugee114@reddthat.com
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 day ago

      C++20 is absolutely a selling point. Maybe not for a vibecoded project… But still. Especially compared to earlier specs.

    • Slavik@programming.devOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      edit-2
      23 hours ago

      Not vibe-coded, just cutting out OS keyboards, clipboard, and flash storage. Check the source.

      • Jestzer@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        12 hours ago

        EDIT: Ah, yes, very classy, editing your response to completely change it without telling people what you originally said.

        Original reply: This response doesn’t make any sense. Whether you like Codeberg’s policies or not, they do not allow projects that are largely LLM-written. And whether you consider LLM code to be “vibed” or “slop” has no bearing on their policies.

  • Hirom@beehaw.org
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 day ago

    Sound like an interesting personal project. This has just 1 week of commit history, 1 contributor, 0 stars. I assume it’s very experimental.

    Before others trust this with private information, I’d suggest setting a reminder come back in a few months to check if it’s still maintained, by how many people, and check if there was an audit/review from a cryptographer.

    • Slavik@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      23 hours ago

      Yeah, it’s early, tested it with friends across a few countries and it works great. Just sharing a real zero-storage option since everything else still writes to disk.

      • Hirom@beehaw.org
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        2 hours ago

        Testing with friends is good. Also that’s different from getting a cryptographer to do an independent security audit. This is a high bar, and an important step for security-sensitive software to be taken seriously as it matures. Some OSS projects had to seek a grant or do crowdfunding to pay for that kind of thing.

        Edit: I may be making a bad assumption about your own goals and ambition for this project. It’s perfectly fine to create a personal project just for you own education, and leave it at that. It’s more ambitious to create a project that’s going to be relevant for others, and going to be maintained long term. A first step might be to clarify your project’s ambitions.

  • myavatar@feddit.org
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    Cool project :) I had the same Idea for a while, but did not have the time to implemented it. Good to see this being possible.