summaryrefslogtreecommitdiff
path: root/crates/tor-cert/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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.