summaryrefslogtreecommitdiff
path: root/crates/tor-cert/tests
Commit message (Collapse)AuthorAgeFilesLines
* Change tor_bytes::Error::BadMessage to a Cow.Nick Mathewson2023-02-091-4/+4
| | | | | | | | | | Actually, to avoid making a breaking change, I'm deprecating BadMessage and creating a new InvalidMessage variant that takes a Cow. This way I don't need to track every crate that re-exposes tor_bytes::Error and call this a breaking change in those. Making this change will allow tor_bytes errors to be much more helpful.
* Tackling issue #663 (Use humantime in tests)coral2022-12-121-6/+6
|
* change usage of PublicKey to Ed25519 in tor-certtrinity-1686a2022-07-232-5/+5
| | | | and propagate to other affected crates
* change check_key to take a Option<&_> instead of &Option<_>trinity-1686a2022-07-232-4/+4
|
* tor-proto: split and elaborate tor_bytes::Error instancesNick Mathewson2022-06-231-2/+3
| | | | | | | | | 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.
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-272-0/+205
This will cause some pain for now, but now is really the best time to do this kind of thing.