NewsCrawler.org

libsignal: the Rust cryptography library behind the Signal protocol

libsignal is Signal's repository of cryptographic code that makes the Signal app work. It contains platform-agnostic APIs used by the official Signal clients and servers, offered as Java, Swift, or TypeScript libraries, and the underlying implementations are written in Rust.

The repository is split into modules. libsignal-protocol implements the Signal protocol, including the Double Ratchet[1] algorithm. zkgroup provides zero-knowledge[2] groups, and attest provides remote attestation[3] of SGX enclaves and server-side HSMs[4]. Other modules cover primitives such as AES-GCM, device-to-device transfer, PIN-based account keys, usernames, and media utilities.

The Signal Android, iOS, and Desktop apps and the servers use this repository, while use outside Signal is unsupported. All APIs may change without notice, and backwards-incompatible changes to the Java, Swift, and TypeScript libraries are reflected in version numbers on a best-effort basis. Building requires Rust, Clang, CMake, Python 3.11 or newer, and other tools, and the officially supported JDK for Android builds is JDK 21.

Read the original github.com

Discussion

The only comment asks whether the whole libsignal Rust library was verified or only a human-written specification of the Signal protocol. It also asks how trustworthy the hardware security features of Intel SGX and AMD are, since attest depends on them. No answer is given in the comments.

Sources

  • github.com

    GitHub - signalapp/libsignal: Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.

    2 mentions2 communities2 countries

First seen: Читать по-русски

Open as a page