Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.
A13xB0Public archive

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Myn - Message your neighbour

Myn is a privacy-focused, decentralized messaging application built on the Nym mixnet. It provides truly anonymous communication with end-to-end encryption and zero-trust architecture. Unlike traditional messaging platforms, Myn operates without central servers or federation, ensuring complete privacy and resistance to surveillance.

The application features self-healing capabilities that allow users to maintain communication even when network infrastructure changes, such as gateway migrations or node failures. With its desktop GUI interface, Myn makes anonymous messaging accessible while maintaining the highest security standards.

Features

✅ Current Features

  • Anonymous Messaging: Send and receive messages anonymously through the Nym mixnet
  • Zero-Trust E2E Encryption: End-to-end encryption with no trust required in network infrastructure
  • Perfect Forward Secrecy (PFS): Advanced cryptographic protection using Double Ratchet algorithm with X25519 key exchange*
  • Out-of-Order Message Support (PFS): Robust message delivery with automatic handling of messages received out of sequence*
  • Automatic Key Rotation: Continuous generation of new encryption keys for each message exchange*
  • Secure Key Storage(PFS): Encrypted storage of cryptographic keys*
  • Encryption at Rest: Local message storage is encrypted using user-defined passwords
  • Desktop GUI: User-friendly desktop application with contact management
  • Profile Management: Multiple user profiles with encrypted local storage
  • Automatic Key Exchange: Seamless cryptographic key establishment between contacts with RSA + X25519 hybrid approach
  • Real-time Messaging: Live message reception with automatic UI updates
  • Enhanced Encryption: AES-GCM encryption with unique keys derived for each message using HKDF
  • Digital Signatures: RSA-based message verification with mandatory signature validation
  • Secure Memory Management: Automatic wiping of sensitive cryptographic material from memory
  • Chain Key Derivation: Cryptographically secure key derivation using SHA-256 with proper role-based assignment
  • Skipped Message Keys (PFS): Secure storage and retrieval of keys for out-of-order message decryption*

* Written by AI as my mind was cryptographically fried, sorry. Feel free to check the source to confirm.

🚧 Planned Features

  • Fully Anonymous Messaging using SURBs: Enhanced anonymity with Single Use Reply Blocks
  • Mesh Networking: Self-healing contact discovery when Nym gateways change
  • Photo Sharing: Secure transmission of images and media files
  • Mobile Application: Cross-platform mobile app for iOS and Android
  • Message Status: Read receipts and delivery confirmations
  • Group Messaging: Multi-party encrypted conversations
  • Voice Messages: Encrypted audio message support
  • Secure Profile Destruction: Ability to securely destroy profiles with cryptographic key wiping
  • Conversation Deletion: Delete specific conversations from contacts with secure data removal
  • Offline Contact Addition: Add contacts completely offline using QR code key exchange
  • Nicknames: Add nicknames

Security Architecture

Myn implements state-of-the-art cryptographic protocols to ensure maximum security and privacy:

🔐 Cryptographic Features

  • Double Ratchet Protocol: Implementation of the Signal Protocol's Double Ratchet for Perfect Forward Secrecy
  • X25519 Key Exchange: Elliptic curve Diffie-Hellman key agreement using Curve25519
  • RSA-4096 Signatures: Strong digital signatures for message authentication and key exchange verification
  • AES-256-GCM Encryption: Authenticated encryption with associated data for message confidentiality
  • HKDF Key Derivation: HMAC-based Key Derivation Function using SHA-256 for secure key generation
  • Secure Random Generation: Cryptographically secure random number generation for all key material

🛡️ Security Properties

  • Perfect Forward Secrecy: Compromise of long-term keys does not compromise past session keys
  • Future Secrecy: Compromise of current keys does not compromise future session keys
  • Message Authentication: All messages are cryptographically signed and verified
  • Replay Protection: Message numbering prevents replay attacks
  • Out-of-Order Delivery: Secure handling of messages received in any order
  • Key Rotation: Automatic generation of new encryption keys for each message
  • Zero-Trust Architecture: No reliance on trusted third parties or central authorities

Project Structure

.
├── README.md
├── Taskfile.yml          # Task runner configuration
├── go.mod                # Go module definition
├── cmd/
│   └── example/
│       └── main.go       # Main example application
└── external/
    └── nym/              # Nym repository (git submodule)
        └── sdk/ffi/go/   # Go SDK location

Prerequisites

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages