summaryrefslogtreecommitdiff
path: root/crates/tor-cert/src/rsa
Commit message (Collapse)AuthorAgeFilesLines
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* tor-cert: Port to web-time-compatNick Mathewson2026-03-261-2/+3
|
* cell, proto, cert: Simplify CERTS cell building.Nick Mathewson2026-03-191-1/+11
| | | | | | | | Formerly we required the caller for push_cert_body to specify the type of the cert that they were pushing. But in nearly every case, the certificate object that the caller is holding knows what its own type is! This makes the tor_proto build_certs_cell function a bit less error-prone, since we don't have to worry about mismatch.
* cert: Deduplicate expiry-in-hours logicNick Mathewson2026-03-171-11/+6
| | | | | | | These certificates use a weird expiration format: counting hours since the unix epoch. Previously we had it implemented in two different places. This patch centralizes it, since we are about to become slightly more complicated.
* tor-cert: Ability to create Rsa->Ed25519 crosscerts.Nick Mathewson2026-02-191-0/+111