SHARE THE PERSPECTIVE
SRP avoids sending the password over the network, but a stolen verifier still does not make weak passwords harmless.

Zero-knowledge password authentication proves a user knows a password during sign-in without sending the password itself over the wire. In a private messenger like Livara Chat, SRP login security blocks network eavesdroppers and man-in-the-middle attackers from capturing a raw password during authentication. However, SRP does not make a stolen server verifier harmless to offline password guessing, and login authentication is separate from end-to-end message encryption.

Key takeaways

  • Zero-knowledge password authentication allows a client and server to verify password knowledge without transmitting the plaintext password across the network.
  • An augmented password-authenticated key exchange stores a derived password verifier rather than a reusable password equivalent on the server.
  • Eavesdroppers on the network cannot extract enough data from an SRP exchange to run offline dictionary attacks without interacting with the protocol for each guess.
  • A stolen server verifier still allows an attacker with database access to test candidate passwords offline, so strong passwords and rate controls still matter.
  • Authentication in Livara Chat protects account sign-in, while direct messages and private groups rely on separate hybrid post-quantum encryption protocols.

How does zero knowledge password authentication verify a login without sending the password?

Zero-knowledge password authentication lets a client prove knowledge of a secret password to a server using cryptographic challenges and responses rather than sending the password text. A password-authenticated key exchange is a protocol where two parties verify a shared password and establish a session key without exposing the password to network observers. As specified in RFC 2945 and noted in the Secure Remote Password protocol overview, SRP is an augmented password-authenticated key exchange designed so an eavesdropper or man-in-the-middle cannot gather enough information from the exchange to mount an offline brute-force or dictionary attack without interacting with the parties per guess. Even if someone intercepts the login traffic, they cannot replay the proof as a password or recover the password directly from the transcript.

Why does SRP login security still leave limits if a server database is breached?

SRP login security keeps passwords off the wire during sign-in, but it does not eliminate offline guessing risk if an attacker steals server-side verification records. A password verifier is a cryptographic value derived from a user's password and salt that lets the server check login proofs without holding the password itself. As the SRP protocol glossary entry and Livara's SRP authentication post explain, SRP avoids sending the password over the network and avoids storing a reusable verifier that can simply be replayed as the password, yet a leaked verifier can still let an attacker test candidate passwords offline. Weak or predictable passwords remain vulnerable to offline guessing if server data is exposed, so password strength and account protections remain necessary.

How SRP protects messenger passwords vs. end-to-end message encryption in Livara Chat

SRP protects account authentication during sign-in, whereas end-to-end encryption protects message contents exchanged between users in private chats. In Livara Chat, SRP zero-knowledge proof verifies password knowledge without transmitting the password over the wire, while private messaging uses separate cryptographic protocols. Direct messages use LVR1, a hybrid post-quantum double ratchet combining an ECDH P-256 ratchet and an ML-KEM-768 epoch ratchet (specified in NIST FIPS 203), while private groups use LGS1 with sender keys sealed inside pairwise LVR1 envelopes. Review Livara's published security boundaries and see how routing metadata affects messenger privacy for what sealing message content covers and what remains outside it.

What data and surfaces stay outside end-to-end encryption in a messenger?

Even when private direct and group messages are end-to-end encrypted, routing metadata, group membership, and public broadcast channels are not end-to-end encrypted. Metadata is contextual data about communication—such as sender, destination, and delivery timestamps—rather than the message body itself. In Livara Chat, standard routing metadata is stored for real-time device synchronization, group membership remains server-controlled, and channels are public broadcast streams rather than private conversations so abusive material can be reported and removed; see how routing metadata affects messenger privacy and why broadcast channels are not end-to-end encrypted for details. Also note that voice and video calls use WebRTC DTLS-SRTP media encryption with LCS1 call signalling in a pairwise-sealed message, rather than the message ratchet.

How should you evaluate authentication, key recovery, and verification in a messenger?

Evaluating a private messenger requires checking how login authentication, device key verification, and key recovery fit together without assuming one feature covers every threat. A safety number is a key fingerprint comparison used out of band to spot unexpected key changes, while encrypted key recovery protects cryptographic identity backup material. In Livara Chat, safety numbers (v3) help two people detect key changes, encrypted key recovery (v7) seals a cryptographic identity under a 256-bit recovery key derived from a recovery phrase, and release checksums can be checked locally via the Proof Lab, though checksums and test vectors are not an independent audit. You can explore how safety numbers and key recovery work on device switches and how to keep digital identity across device changes.

Frequently asked questions

Does SRP send my password to the server during login?

No. SRP uses zero-knowledge cryptographic exchange steps so the client proves knowledge of the password without transmitting the password itself over the network. An observer watching the connection cannot extract the password or replay the login transcript as a reusable password credential, though strong passwords still matter if server records are breached.

Can an attacker offline-crack a password if SRP verifiers are leaked?

Yes, offline guessing remains a risk if an attacker obtains password verifiers from a breached server. While SRP prevents network eavesdroppers from mounting offline dictionary attacks from login traffic alone and avoids storing a reusable password equivalent, attackers with stolen verifier data can still test candidate passwords against it.

Does SRP encrypt my direct messages or private group chats?

No. SRP handles account password authentication during login, not message encryption. In Livara Chat, direct messages use the LVR1 hybrid post-quantum double ratchet and private groups use LGS1 sender keys inside pairwise LVR1 envelopes, while public broadcast channels remain unencrypted and standard routing metadata is stored for sync.

How do safety numbers and encrypted key recovery relate to login security?

They protect cryptographic identities and account recovery rather than replacing login authentication. SRP verifies password knowledge at sign-in, safety numbers (v3) let users compare key fingerprints out of band to detect key changes, and encrypted key recovery (v7) seals a cryptographic identity using a 256-bit key derived from a recovery phrase.

Sources

Review Livara security boundaries
CONTINUE THE THREADPrivate messaging ↗
YOU’VE REACHED THE ENDBack to the reading room ↗