aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-cert/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-cert: Stabilise everything gated by feature = "encode"Ian Jackson2026-04-291-1/+0
| | | | | | | | | | | | | This is widely used in-tree already. I don't think it makes sense to feature-gate it. There are some (perhaps rather thin) tests for both the Ed25519Builder and EncodedRsaCrosscert. It is possible we might want to change the API further, but this is still a 0.x crate so that's not going to be a problem. We'll remove the actual cargo feature in the next commit.
* tor-cert: Ability to create Rsa->Ed25519 crosscerts.Nick Mathewson2026-02-191-0/+9
|
* Remove unnecessary `doc(cfg(...))` attributesNeel Chauhan2025-12-041-1/+0
| | | | | | | | | Fixes part of #2193. (Edits from nickm: I selected the cases here that I could verify were correct from immediate context.) Edited-by: Nick Mathewson <[email protected]>
* add feature annotation not added by doc_auto_cfgtrinity-1686a2022-08-241-0/+1
|
* Fix typosDimitris Apostolou2022-08-011-1/+1
|
* tor-cert: Encoding now uses Writeable trait.Nick Mathewson2022-07-111-1/+7
| | | | This lets us remove a few TODOs.
* Implement functionality to construct signed Ed25519 certs.Nick Mathewson2022-07-061-0/+23
| | | | | | | | | | | | | | This is behind a feature flag, since it isn't needed for pure clients: only onion services and relays need this. I've named the object that constructs these certs `Ed25519CertConstructor` because it doesn't follow the builder pattern exactly: mainly because you can't get an Ed25519Cert out of it. _That_ part is necessary because we require that an Ed25519Cert should only exist if the certificate was found to be well-signed with the right public key. Closes #511.
* tor-proto: split and elaborate tor_bytes::Error instancesNick Mathewson2022-06-231-0/+24
Some of these were for decoding particular objects (we now say what kind of objects), and some were unrelated tor_cert errors that for some reason we had shoved into a tor_bytes::Error. There is now a separate tor_cert::CertError type, independent from tor_cert's use of `tor_bytes::Error` for parsing errors.