3 releases (breaking)

Uses new Rust 2024

new 0.41.0 Mar 30, 2026
0.40.0 Mar 3, 2026
0.39.0 Feb 2, 2026

#2043 in Parser implementations

Download history 1/week @ 2026-01-31 18/week @ 2026-02-07 82/week @ 2026-02-14 129/week @ 2026-02-21 114/week @ 2026-02-28 132/week @ 2026-03-07 107/week @ 2026-03-14 107/week @ 2026-03-21 244/week @ 2026-03-28

593 downloads per month
Used in 39 crates (2 directly)

MIT/Apache

220KB
3K SLoC

tor-cert

Code for generating x509 certificates.

Overview

For the most part, Tor doesn't actually need x509 certificates. We only keep them around for two purposes:

  1. The RSA_ID_X509 certificate is provided in a CERTS cell, and used to transmit the RSA identity key.
  2. TLS requires the responder to have an x509 certificate.

This crate is part of Arti, a project to implement Tor in Rust.

See also tor-cert and tor-netdoc::doc::authcert for other kinds of certificates implemented by Tor.

License: MIT OR Apache-2.0

Dependencies

~14–20MB
~375K SLoC