All news
LUNA PROJECT

Jex: open-source GOST/CAdES signing library in Rust, without CryptoPro

December 1 · 1 min read

Jex is an open-source Rust implementation of GOST and CAdES. It reads classic CryptoPro key containers from a Rutoken Lite via PC/SC, decrypts a GOST R 34.10-2012 key, and creates CMS/CAdES signatures from BES up to CAdES-A with timestamp renewal, plus XML-DSig/XAdES. According to the author, CryptoPro CSP and OpenSSL with gost-engine are not required: elliptic curve arithmetic, GOST 28147-89, Magma and Kuznyechik are written in pure Rust, ASN.1 is parsed by hand, and Streebog comes from the streebog crate.

The author says the goal is to show that software compatible with Russian e-signature infrastructure can be written without depending on a single vendor, and criticises CryptoPro's monopoly as a brake on the industry. Signatures produced by Jex reportedly pass verification by CryptCP 5.0. The project is described as uncertified: it is not suitable for creating qualified signatures where 63-FZ requires certified tools. It is intended for engineers to study formats, automate signature archiving and verification in CI, containers and servers.