summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | tor-netdoc: impl encoding traits for rsa::PublicKeyIan Jackson2026-04-012-0/+28
| | | | | | | |
| * | | | | | | tor-netdoc: Provide ItemEncoder::text_sofar()Ian Jackson2026-04-012-0/+6
| | | | | | | |
| * | | | | | | tor-netdoc: Provide ItemEncoder::object() taking an ItemObjectEncodableIan Jackson2026-04-013-0/+18
| | | | | | | |
| * | | | | | | tor-netdoc: impl From<RsaIdentity> for the fingerprint typesIan Jackson2026-04-012-4/+9
| | | | | | | |
| * | | | | | | tor-netdoc: encode derive: Fix handling of optionality.Ian Jackson2026-04-011-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We mustn't use selector.selector() because that's for multiplicity, not optionality. In pracctice, it goes wrong with Vec<u8>.
| * | | | | | | tor-netdoc: encode derive: Use paste_spanned to improve an error messageIan Jackson2026-04-011-1/+3
| | | | | | | |
| * | | | | | | tor-netdoc: Fix a wrong "what does this end" commentIan Jackson2026-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a c&p error, I think.
| * | | | | | | tor-netdoc: authcert: Debug CrossCertObject in hexIan Jackson2026-04-011-1/+3
| | | | | | | |
| * | | | | | | tor-netdoc: Constructor: Fix it so it actually worksIan Jackson2026-04-012-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hidden __non_exhaustive field has to be pub. And, fix the use site, currently AuthCert.
| * | | | | | | tor-netdoc: encode: re-export netdoc_ordering_check for macrosIan Jackson2026-04-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise deriving NetdocEncodable doesn't work outside this crate.
| * | | | | | | tor-netdoc: encode derive: Use $P for ResultIan Jackson2026-03-311-1/+1
| | | | | | | |
| * | | | | | | tor-netdoc: Fix typo in doc commentIan Jackson2026-03-311-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Merge branch 'relay-crypto-dep' into 'main'David Goulet2026-04-011-5/+11
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Make tor-relay-crypto an optional dependency Closes #2450 See merge request tpo/core/arti!3848
| * | | | | | | proto: Run cargo-sortGabriela Moldovan2026-04-011-3/+3
| | | | | | | |
| * | | | | | | proto: Make tor-relay-crypto an optional dependency (fmt)Gabriela Moldovan2026-04-011-1/+7
| | | | | | | |
| * | | | | | | proto: Make tor-relay-crypto an optional dependencyGabriela Moldovan2026-04-011-2/+2
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only need this for `relay` builds. Closes #2450
* | | | | | | Merge branch 'relay-cric-keys' into 'main'David Goulet2026-04-017-311/+324
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | proto: Add key specifier types for the ntor keys See merge request tpo/core/arti!3850
| * | | | | | arti-relay: Remove no-longer needed implsGabriela Moldovan2026-04-012-26/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The specifiers are local to the crate, so we don't need the `valid_until` accessors anymore.
| * | | | | | arti-relay: Make the key specifiers pub(crate)Gabriela Moldovan2026-04-011-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These no longer need to be `pub` now that they're in `arti-relay`.
| * | | | | | arti-relay: Move all key specifiers to a new keys module (fmt)Gabriela Moldovan2026-04-012-17/+13
| | | | | | |
| * | | | | | arti-relay: Move all key specifiers to a new keys moduleGabriela Moldovan2026-04-016-328/+335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This extracts the key specifier types out of `tor-relay-crypto`, which * makes the code layout consistent with the hidden service crates (the key specifiers are defined in a `keys` module in `tor-hsservice`, while the key wrapper types live in `tor-hscrypto::pk`) * helps reduce the API surface: the key specifiers are only used in `arti-relay`, so we can move them there and make them `pub(crate)` instead of `pub`
| * | | | | | relay-crypto: Make the certs module non-pubGabriela Moldovan2026-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't really need to be public.
| * | | | | | proto: Add key specifier types for the ntor keysGabriela Moldovan2026-04-011-0/+31
|/ / / / / / | | | | | | | | | | | | | | | | | | Part of #2451
* | | | | | Merge branch 'deps-bodge' into 'main'Nick Mathewson2026-03-315-5/+38
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use maint/dependencies-bodge to work around security-framework FTBFS See merge request tpo/core/arti!3838
| * | | | | | Release.md: Add maint/dependencies-bodge/Cargo.toml to exception list listIan Jackson2026-03-311-0/+1
| | | | | | |
| * | | | | | Release.md: format exception list list as listIan Jackson2026-03-311-5/+3
| | | | | | |
| * | | | | | maint/dependencies-bodge: Be more explicit that there should be no codeIan Jackson2026-03-311-1/+1
| | | | | | |
| * | | | | | Use maint/dependencies-bodge to work around security-framework FTBFSIan Jackson2026-03-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Works around #2387. Empirically, with this, cargo update no longer wants to update this crate to the broken version.
| * | | | | | Introduce maint/dependencies-bodge crateIan Jackson2026-03-315-0/+32
|/ / / / / /
* | | | | | Merge branch 'audit' into 'main'Ian Jackson2026-03-311-4/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cargo audit exception list review See merge request tpo/core/arti!3841
| * | | | | | cargo-audit: Add TODO DIRAUTH for Marvin attackIan Jackson2026-03-311-4/+12
| | | | | | |
| * | | | | | cargo-audit: Add blank lines to make it more readable.Ian Jackson2026-03-311-0/+10
| | | | | | |
* | | | | | | Merge branch 'release-arising' into 'main'Ian Jackson2026-03-312-18/+36
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release process updates arising from 2.2.0 See merge request tpo/core/arti!3842
| * | | | | | | maint/cargo-sort: Say that you must use the right versionIan Jackson2026-03-311-0/+3
| | | | | | | |
| * | | | | | | Release.md: Improve ordering and prioritisation of post-release activitesIan Jackson2026-03-311-6/+12
| | | | | | | |
| * | | | | | | Release.md: Note that cargo sort may be neededIan Jackson2026-03-311-0/+4
| | | | | | | |
| * | | | | | | maint/cargo-sort: InstructionsIan Jackson2026-03-311-0/+5
| | | | | | | |
| * | | | | | | maint/cargo-sort: Honour CARGO env varIan Jackson2026-03-311-1/+1
| | | | | | | |
| * | | | | | | Release.md: Look at tool exception lists after release, not beforeIan Jackson2026-03-311-11/+11
| |/ / / / / /
* | | | | | | Merge branch 'oniux-0.10.0' into 'main'Ian Jackson2026-03-311-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | web: Update oniux 0.10.0 See merge request tpo/core/arti!3840
| * | | | | | | web: Update oniux 0.10.0Clara Engler2026-03-311-1/+1
| | | | | | | |
* | | | | | | | Merge branch 'authcert-encode-prep' into 'main'Ian Jackson2026-03-319-28/+32
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-netdoc: Renamings preparatory to authcert encoder See merge request tpo/core/arti!3826
| * | | | | | | | tor-netdoc: Rename `AuthCertUnverified::verify_self_signed`Ian Jackson2026-03-314-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method verifies all the signatures, and checks that the signing authority is in the provided list. Anyway, authcerts aren't really self-signed: they're a signature by KS_auth_id_rsa on KP_auth_sign_rsa. Note that there is also a `verify_selfcert` method which does only some of the checks, and has some code duplication. That will be cleaned up later.
| * | | | | | | | tor-netdoc: encoder: Rename .object() method to .object_bytesIan Jackson2026-03-316-12/+13
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the introduction of the derives for document encoding, we now have a trait ItemObjectEncodable. We will want a method on ItemEncoder that takes an ItemObjectEncodable, and that should be called `object` since it's a better approach than working ad-hoc with tor_bytes::Writeable. (For example, an ItemObjectEncodable knows its own label.) So, rename `object` to `object_bytes`.
* | | | | | | | Merge branch 'deps-wasm' into 'main'David Goulet2026-03-312-2/+2
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | Update getrandom dependeency See merge request tpo/core/arti!3837
| * | | | | | | Update getrandom dependeencyIan Jackson2026-03-312-2/+2
| | |/ / / / / | |/| | | | |
* | | | | | | Merge branch 'fixes_mr3791' into 'main'David Goulet2026-03-3116-469/+613
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Address post-merge comments from nickm's review in mr 3791 See merge request tpo/core/arti!3802
| * | | | | | | proto: Add debug_assert_eq() when building AuthenticateDavid Goulet2026-03-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>
| * | | | | | | cell: Add Authenticate::BODY_LEN as a public constDavid Goulet2026-03-302-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use this constant value when building the AUTHENTICATE cell to optimize the memory allocation as this won't ever change. Signed-off-by: David Goulet <[email protected]>
| * | | | | | | linkspec: Rename has_all_public_addresses()David Goulet2026-03-302-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: David Goulet <[email protected]>