GithubHelp home page GithubHelp logo

tosunkaya / simplex-chat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simplex-chat/simplex-chat

0.0 1.0 0.0 132.13 MB

SimpleX - the first messaging platform operating without user identifiers of any kind - 100% private by design! iOS and Android apps are released ๐Ÿ“ฑ!

Home Page: https://simplex.chat

License: GNU Affero General Public License v3.0

Shell 0.40% JavaScript 1.24% C 0.12% Objective-C 0.03% Haskell 34.76% Kotlin 29.70% Awk 0.01% TypeScript 2.36% CSS 1.44% Swift 26.50% Nix 0.52% HTML 2.76% CMake 0.06% Dockerfile 0.02% Nunjucks 0.07%

simplex-chat's Introduction

build GitHub downloads GitHub release Join on Reddit Follow on Mastodon

| 19/03/2023 | EN, FR |

SimpleX logo

SimpleX - the first messaging platform that has no user identifiers of any kind - 100% private by design!

ย ย ย  ย ย ย 

Welcome to SimpleX Chat!

  1. ๐Ÿ“ฒ Install the app.
  2. โ†”๏ธ Connect to the team and join user groups.
  3. ๐Ÿค Make a private connection with a friend.
  4. ๐Ÿ”ค Help translating SimpleX Chat.
  5. โšก๏ธ Contribute and help us with donations.

Learn more about SimpleX Chat.

Install the app

iOS app ย  Android app ย  F-Droid ย  iOS TestFlight ย  APK

  • ๐Ÿ–ฒ Protects your messages and metadata - who you talk to and when.
  • ๐Ÿ” Double ratchet end-to-end encryption, with additional encryption layer.
  • ๐Ÿ“ฑ Mobile apps for Android (Google Play, APK) and iOS.
  • ๐Ÿš€ TestFlight preview for iOS with the new features 1-2 weeks earlier - limited to 10,000 users!
  • ๐Ÿ–ฅ Available as a terminal (console) app / CLI on Linux, MacOS, Windows.

Connect to the team via the app

  • to ask any questions
  • to suggest any improvements
  • to share anything relevant

Join user groups

You can join an English-speaking users group if you want to ask any questions: #SimpleX-Group-2

There are groups in other languages, that we have the apps interface translated into. These groups are for testing, and asking questions to other SimpleX Chat users:

#SimpleX-DE (German-speaking), #SimpleX-FR (French-speaking), #SimpleX-RU (Russian-speaking), #SimpleX-IT (Italian-speaking).

You can join either by opening these links in the app or by opening them in a desktop browser and scanning the QR code.

Make a private connection

You need to share a link with your friend or scan a QR code from their phone, in person or during a video call, to make a connection and start messaging.

The channel through which you share the link does not have to be secure - it is enough that you can confirm who sent you the message and that your SimpleX connection is established.

Make a private connection Conversation Video call

After you connect, you can verify connection security code.

User guide (NEW)

Read about the app features and settings in the new User guide.

Help translating SimpleX Chat

Thanks to our users and Weblate, SimpleX Chat apps, website and documents are translated to many other languages.

Join our translators to help SimpleX grow!

locale language contributor Android and iOS website Github docs
๐Ÿ‡ฌ๐Ÿ‡ง en English โœ“ โœ“ โœ“
๐Ÿ‡จ๐Ÿ‡ฟ cs ฤŒeลกtina zen0bit android app
ios app
website โœ“
๐Ÿ‡ฉ๐Ÿ‡ช de Deutsch mlanp android app
ios app
website
๐Ÿ‡ซ๐Ÿ‡ท fr Franรงais ishi_sama android app
ios app
website โœ“
๐Ÿ‡ฎ๐Ÿ‡น it Italiano unbranched android app
ios app
website
๐Ÿ‡ณ๐Ÿ‡ฑ nl Nederlands mika-nl android app
ios app
website
๐Ÿ‡ท๐Ÿ‡บ ru ะ ัƒััะบะธะน android app
ios app
๐Ÿ‡จ๐Ÿ‡ณ zh-CHS ็ฎ€ไฝ“ไธญๆ–‡ sith-on-mars android app
ios app

Languages in progress: Arabic, Hindi, Japanese, Spanish and many others. We will be adding more languages as some of the already added are completed โ€“ please suggest new languages, review the translation guide and get in touch with us!

Contribute

We would love to have you join the development! You can help us with:

  • writing a tutorial or recipes about hosting servers, chat bot automations, etc.
  • contributing to SimpleX Chat knowledge-base.
  • developing features - please connect to us via chat so we can help you get started.

Help us with donations

Huge thank you to everybody who donated to SimpleX Chat!

We are prioritizing users privacy and security - it would be impossible without your support.

Our pledge to our users is that SimpleX protocols are and will remain open, and in public domain, - so anybody can build the future implementations of the clients and the servers. We are building SimpleX platform based on the same principles as email and web, but much more private and secure.

Your donations help us raise more funds โ€“ any amount, even the price of the cup of coffee, would make a big difference for us.

It is possible to donate via:

  • GitHub - it is commission-free for us.
  • OpenCollective - it charges a commission, and also accepts donations in crypto-currencies.
  • Monero address: 8568eeVjaJ1RQ65ZUn9PRQ8ENtqeX9VVhcCYYhnVLxhV4JtBqw42so2VEUDQZNkFfsH5sXCuV7FN8VhRQ21DkNibTZP57Qt
  • Bitcoin address: 1bpefFkzuRoMY3ZuBbZNZxycbg7NYPYTG
  • BCH address: 1bpefFkzuRoMY3ZuBbZNZxycbg7NYPYTG
  • Ethereum address: 0x83fd788f7241a2be61780ea9dc72d2151e6843e2
  • Solana address: 43tWFWDczgAcn4Rzwkpqg2mqwnQETSiTwznmCgA2tf1L

Thank you,

Evgeny

SimpleX Chat founder

Contents

Why privacy matters

Everyone should care about privacy and security of their communications - innocuous conversations can put you in danger even if there is nothing to hide.

One of the most shocking stories is the experience of Mohamedou Ould Salahi that he wrote about in his memoir and that is shown in The Mauritanian movie. He was put into Guantanamo camp, without trial, and was tortured there for 15 years after a phone call to his relative in Afghanistan, under suspicion of being involved in 9/11 attacks, even though he lived in Germany for the 10 years prior to the attacks.

It is not enough to use an end-to-end encrypted messenger, we all should use the messengers that protect the privacy of our personal networks - who we are connected with.

SimpleX approach to privacy and security

Complete privacy of your identity, profile, contacts and metadata

Unlike any other existing messaging platform, SimpleX has no identifiers assigned to the users - not even random numbers. This protects the privacy of who are you communicating with, hiding it from SimpleX platform servers and from any observers. Read more.

The best protection against spam and abuse

As you have no identifier on SimpleX platform, you cannot be contacted unless you share a one-time invitation link or an optional temporary user address. Read more.

Complete ownership, control and security of your data

SimpleX stores all user data on client devices, the messages are only held temporarily on SimpleX relay servers until they are received. Read more.

Users own SimpleX network

You can use SimpleX with your own servers and still communicate with people using the servers that are pre-configured in the apps or any other SimpleX servers. Read more.

Frequently asked questions

  1. How SimpleX can deliver messages without any user identifiers? See v2 release announcement explaining how SimpleX works.

  2. Why should I not just use Signal? Signal is a centralized platform that uses phone numbers to identify its users and their contacts. It means that while the content of your messages on Signal is protected with robust end-to-end encryption, there is a large amount of meta-data visible to Signal - who you talk with and when.

  3. How is it different from Matrix, Session, Ricochet, Cwtch, etc., that also don't require user identities? Although these platforms do not require a real identity, they do rely on anonymous user identities to deliver messages โ€“ it can be, for example, an identity key or a random number. Using a persistent user identity, even anonymous, creates a risk that user's connection graph becomes known to the observers and/or service providers, and it can lead to de-anonymizing some users. If the same user profile is used to connect to two different people via any messenger other than SimpleX, these two people can confirm if they are connected to the same person - they would use the same user identifier in the messages. With SimpleX there is no meta-data in common between your conversations with different contacts - the quality that no other messaging platform has.

News and updates

Recent updates:

Mar 28, 2023. v4.6 released - with Android 8+ and ARMv7a support, hidden profiles, community moderation, improved audio/video calls and reduced battery usage.

Mar 1, 2023. SimpleX File Transfer Protocol โ€“ send large files efficiently, privately and securely, soon to be integrated into SimpleX Chat apps..

Feb 4, 2023. v4.5 released - with multiple user profiles, message draft, transport isolation and Italian interface.

Jan 3, 2023. v4.4 released - with disappearing messages, "live" messages, connection security verifications, GIFs and stickers and with French interface language.

Dec 6, 2022. November reviews and v4.3 released - with instant voice messages, irreversible deletion of sent messages and improved server configuration.

Nov 8, 2022. Security audit by Trail of Bits, the new website and v4.2 released.

Sep 28, 2022. v4.0: encrypted local chat database and many other changes.

All updates

โšก Quick installation of a terminal app

curl -o- https://raw.githubusercontent.com/simplex-chat/simplex-chat/stable/install.sh | bash

Once the chat client is installed, simply run simplex-chat from your terminal.

simplex-chat

Read more about installing and using the terminal app.

SimpleX Platform design

SimpleX is a client-server network with a unique network topology that uses redundant, disposable message relay nodes to asynchronously pass messages via unidirectional (simplex) message queues, providing recipient and sender anonymity.

Unlike P2P networks, all messages are passed through one or several server nodes, that do not even need to have persistence. In fact, the current SMP server implementation uses in-memory message storage, persisting only the queue records. SimpleX provides better metadata protection than P2P designs, as no global participant identifiers are used to deliver messages, and avoids the problems of P2P networks.

Unlike federated networks, the server nodes do not have records of the users, do not communicate with each other and do not store messages after they are delivered to the recipients. There is no way to discover the full list of servers participating in SimpleX network. This design avoids the problem of metadata visibility that all federated networks have and better protects from the network-wide attacks.

Only the client devices have information about users, their contacts and groups.

See SimpleX whitepaper for more information on platform objectives and technical design.

See SimpleX Chat Protocol for the format of messages sent between chat clients over SimpleX Messaging Protocol.

Privacy: technical details and limitations

SimpleX Chat is a work in progress โ€“ we are releasing improvements as they are ready. You have to decide if the current state is good enough for your usage scenario.

What is already implemented:

  1. Instead of user profile identifiers used by all other platforms, even the most private ones, SimpleX uses pairwise per-queue identifiers (2 addresses for each unidirectional message queue, with an optional 3rd address for push notifications on iOS, 2 queues in each connection between the users). It makes observing the network graph on the application level more difficult, as for n users there can be up to n * (n-1) message queues.
  2. End-to-end encryption in each message queue using NaCl cryptobox. This is added to allow redundancy in the future (passing each message via several servers), to avoid having the same ciphertext in different queues (that would only be visible to the attacker if TLS is compromised). The encryption keys used for this encryption are not rotated, instead we are planning to rotate the queues. Curve25519 keys are used for key negotiation.
  3. Double ratchet end-to-end encryption in each conversation between two users (or group members). This is the same algorithm that is used in Signal and many other messaging apps; it provides OTR messaging with forward secrecy (each message is encrypted by its own ephemeral key), break-in recovery (the keys are frequently re-negotiated as part of the message exchange). Two pairs of Curve448 keys are used for the initial key agreement, initiating party passes these keys via the connection link, accepting side - in the header of the confirmation message.
  4. Additional layer of encryption using NaCL cryptobox for the messages delivered from the server to the recipient. This layer avoids having any ciphertext in common between sent and received traffic of the server inside TLS (and there are no identifiers in common as well).
  5. Several levels of content padding to frustrate message size attacks.
  6. Starting from v2 of SMP protocol (the current version is v4) all message metadata, including the time when the message was received by the server (rounded to a second) is sent to the recipients inside an encrypted envelope, so even if TLS is compromised it cannot be observed.
  7. Only TLS 1.2/1.3 are allowed for client-server connections, limited to cryptographic algorithms: CHACHA20POLY1305_SHA256, Ed25519/Ed448, Curve25519/Curve448.
  8. To protect against replay attacks SimpleX servers require tlsunique channel binding as session ID in each client command signed with per-queue ephemeral key.
  9. To protect your IP address all SimpleX Chat clients support accessing messaging servers via Tor - see v3.1 release announcement for more details.
  10. Local database encryption with passphrase - your contacts, groups and all sent and received messages are stored encrypted. If you used SimpleX Chat before v4.0 you need to enable the encryption via the app settings.
  11. Transport isolation - different TCP connections and Tor circuits are used for traffic of different user profiles, optionally - for different contacts and group member connections.

We plan to add soon:

  1. Automatic message queue rotation. Currently the queues created between two users are used until the queue is manually changed by the user or contact is deleted. We are planning to add automatic queue rotation to make these identifiers temporary and rotate based on some schedule TBC (e.g., every X messages, or every X hours/days).
  2. Local files encryption. Currently the images and files you send and receive are stored in the app unencrypted, you can delete them via Settings / Database passphrase & export.
  3. Message "mixing" - adding latency to message delivery, to protect against traffic correlation by message time.

For developers

You can:

If you are considering developing with SimpleX platform please get in touch for any advice and support.

Roadmap

  • โœ… Easy to deploy SimpleX server with in-memory message storage, without any dependencies.
  • โœ… Terminal (console) client with groups and files support.
  • โœ… One-click SimpleX server deployment on Linode.
  • โœ… End-to-end encryption using double-ratchet protocol with additional encryption layer.
  • โœ… Mobile apps v1 for Android and iOS.
  • โœ… Private instant notifications for Android using background service.
  • โœ… Haskell chat bot templates.
  • โœ… v2.0 - supporting images and files in mobile apps.
  • โœ… Manual chat history deletion.
  • โœ… End-to-end encrypted WebRTC audio and video calls via the mobile apps.
  • โœ… Privacy preserving instant notifications for iOS using Apple Push Notification service.
  • โœ… Chat database export and import.
  • โœ… Chat groups in mobile apps.
  • โœ… Connecting to messaging servers via Tor.
  • โœ… Dual server addresses to access messaging servers as v3 hidden services.
  • โœ… Chat server and TypeScript client SDK to develop chat interfaces, integrations and chat bots (ready for announcement).
  • โœ… Incognito mode to share a new random name with each contact.
  • โœ… Chat database encryption.
  • โœ… Automatic chat history deletion.
  • โœ… Links to join groups and improve groups stability.
  • โœ… Voice messages (with recipient opt-out per contact).
  • โœ… Basic authentication for SMP servers (to authorize creating new queues).
  • โœ… View deleted messages, full message deletion by sender (with recipient opt-in per contact).
  • โœ… Block screenshots and view in recent apps.
  • โœ… Advanced server configuration.
  • โœ… Disappearing messages (with recipient opt-in per-contact).
  • โœ… "Live" messages.
  • โœ… Contact verification via a separate out-of-band channel.
  • โœ… Multiple user profiles in the same chat database.
  • โœ… Optionally avoid re-using the same TCP session for multiple connections.
  • โœ… Preserve message drafts.
  • โœ… File server to optimize for efficient and private sending of large files.
  • โœ… Improved audio & video calls.
  • โœ… Support older Android OS and 32-bit CPUs.
  • โœ… Hidden chat profiles.
  • ๐Ÿ— Sending and receiving large files via XFTP protocol.
  • ๐Ÿ— Video messages.
  • ๐Ÿ— SMP queue redundancy and rotation (manual is supported).
  • ๐Ÿ— Reduced battery and traffic usage in large groups.
  • Include optional message into connection request sent via contact address.
  • Ephemeral/disappearing/OTR conversations with the existing contacts.
  • Access password/pin (with optional alternative access password).
  • Local app files encryption.
  • Improved navigation and search in the conversation (expand and scroll to quoted message, scroll to search results, etc.).
  • Message delivery confirmation (with sender opt-in or opt-out per contact, TBC).
  • Privately share your location.
  • Feeds/broadcasts.
  • Web widgets for custom interactivity in the chats.
  • Programmable chat automations / rules (automatic replies/forward/deletion/sending, reminders, etc.).
  • Supporting the same profile on multiple devices.
  • Desktop client.
  • Privacy-preserving identity server for optional DNS-based contact/group addresses to simplify connection and discovery, but not used to deliver messages:
    • keep all your contacts and groups even if you lose the domain.
    • the server doesn't have information about your contacts and groups.
  • Hosting server for large groups, communities and public channels.
  • Message delivery relay for senders (to conceal IP address from the recipients' servers and to reduce the traffic).
  • High capacity multi-node SMP relays.

Disclaimers

SimpleX protocols and security model was reviewed, and had many breaking changes and improvements in v1.0.0.

The security audit was performed in October 2022 by Trail of Bits, and most fixes were released in v4.2.0 โ€“ see the announcement.

SimpleX Chat is still a relatively early stage platform (the mobile apps were released in March 2022), so you may discover some bugs and missing features. We would really appreciate if you let us know anything that needs to be fixed or improved.

The default servers configured in the app are provided on the best effort basis. We are currently not guaranteeing any SLAs, although historically our servers had over 99.9% uptime each.

We have never provided or have been requested access to our servers or any information from our servers by any third parties. If we are ever requested to provide such access or information, we will be following due legal process.

We do not log IP addresses of the users and we do not perform any traffic correlation on our servers. If transport level security is critical you must use Tor or some other similar network to access messaging servers. We will be improving the client applications to reduce the opportunities for traffic correlation.

Please read more in Terms & privacy policy.

Security contact

To report a security vulnerability, please send us email to [email protected]. We will coordinate the fix and disclosure. Please do NOT report security vulnerabilities via GitHub issues.

Please treat any findings of possible traffic correlation attacks allowing to correlate two different conversations to the same user, other than covered in the threat model, as security vulnerabilities, and follow this disclosure process.

License

AGPL v3

iOS app ย  Android app ย  F-Droid ย  iOS TestFlight ย  APK

simplex-chat's People

Contributors

epoberezkin avatar spaced4ndy avatar avently avatar ianrdavies avatar shumvgolove avatar markaleksanderh avatar mlanp avatar space-d-n avatar angerman avatar msarmadqadeer avatar dngray avatar ultirequiem avatar gajus avatar michaelbitard avatar miltronius avatar vsevolod-mineev avatar a1lu avatar grm34 avatar ishi-sama avatar solus-hq avatar zen0bit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.