SENTIENT

Open Source Security

Security You Can Trust.

We believe protecting your communications requires more than promises. That’s why we’ve made Sentient’s cryptographic library open source, allowing researchers and developers to examine the technology behind our security.

Our story

Why We Chose Open Source

Security is too important to be taken on faith alone.

At Sentient, we believe that the technology protecting people’s communications should be open to independent examination. By releasing our cryptographic library under the Apache 2.0 license, we’re inviting security researchers, developers, and the broader technology community to inspect our code, challenge our approach, and help identify opportunities for improvement.

Our goal is to build security that earns confidence through transparency, rigorous engineering, and independent scrutiny.

Inside the repository

Explore the Technology

The repository contains reusable cryptographic implementations used by Sentient, together with the documentation and test material needed to examine how they work.

Consumer messaging

Today's direct messages and attachments are encrypted on your device for each of the recipient's devices, combining classical X25519 with post-quantum ML-KEM-768, then HKDF-SHA-256 and XChaCha20-Poly1305. If either algorithm holds, the message stays confidential.

Business and group messaging

Business and group conversations use their own keys, rotated in epochs, and every message and key hand-off is signed with both Ed25519 and post-quantum ML-DSA-65. A removed group member is moved out to a new epoch. A business may hold an organization access key for audited compliance access, so its messages are protected for the business as an organization, not for one agent.

Calling security

Calls are always protected by WebRTC's standard DTLS-SRTP encryption. When both sides support it, an extra layer adds a signed hybrid post-quantum handshake, checks that the other party's key belongs to the person or business you are calling, and encrypts the audio frames. If the other side cannot use it, the call continues with standard protection and the app says so.

Recovery and supporting material

Android history-recovery formats, recovery-key and passkey wrappers, protocol and threat-model documentation, automated tests, and test vectors that check the published code matches the app byte for byte.

Know the scope.

Today's consumer messaging protocol does not provide forward secrecy or cryptographic sender authentication, and every protocol relies on Sentient's servers to hand out the right keys. The stronger protocols below address this but are not yet active. Server-side authorization, database row-level security, rate limits, device enrollment, attestation, push delivery, TURN and the apps' secure key storage are not part of this library.

In development

The Next Generation of Sentient Security

We are building the protections expected of today's strongest messaging apps, combined with post-quantum cryptography. The code and its design documents are public so experts can review them first. These protocols are not yet active in the Sentient app, and we will turn them on only after independent review.

Authenticated sessions

A PQXDH-style handshake with signed prekeys, so both devices prove who they are when a conversation starts.

Double Ratchet

Keys change with every exchange: stealing today's keys does not reveal earlier messages, and the conversation heals after a compromise.

Post-quantum key updates

Periodic ML-KEM-768 key exchanges mixed into every message key. Inspired by Signal's SPQR design, but not the same protocol.

Identity verification

Safety-number-style comparison codes, QR-bound verification and alerts when a contact's keys change.

Replay and downgrade protection

Each device signs the protocols it supports, and once two devices have upgraded, an older-format message from either one is refused instead of silently accepted.

Multi-device and groups

Signed device lists that reveal devices added behind your back, and per-sender group keys that ratchet forward.

Status: published for review.

These protocols are implemented and tested in the repository, have not been independently reviewed or formally verified, and are switched off in every Sentient release. Read the design and its limits

Apache2.0

Clear permission, clear conditions

Open Source Under Apache 2.0

The Apache License 2.0 generally permits people and organizations to use, inspect, modify, redistribute, and incorporate the library into commercial projects. Those permissions come with conditions, including providing appropriate notices, identifying modified files, and preserving applicable license and attribution information.

Read the complete license

Responsible research

Help Make Sentient Safer

Meaningful security research and constructive criticism are welcome. Examine the package locally, review the implementation, and tell us when something does not hold up.

Suspected vulnerabilities should be reported privately so they can be investigated and remediated responsibly. Do not test against Sentient’s production service, other people’s accounts, or real users’ data, and do not run load or denial-of-service tests against our infrastructure.

Sentient does not currently operate a paid bug bounty program.

“Independent examination makes security work stronger. It does not replace the work.”

Start exploring

Open Source Resources