| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'relay-flags-options-trait' into 'main' | Ian Jackson | 2025-11-25 | 1 | -1/+1 |
| |\ | | | | | | | | | tor-netdoc: Parameterise RelayFlagsParser by an options trait instead See merge request tpo/core/arti!3489 | ||||
| | * | tor-netdoc: Rename RelayFlagsParser to relay_flags::Parser | Ian Jackson | 2025-11-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Since we expose the relay_flags module, it makes sense to give this a shorter name. (It had a longer name when it was part of the netstatus module.) | ||||
| * | | semver.md: Document change to parse2::MultiplicitySelector | Ian Jackson | 2025-11-24 | 1 | -0/+1 |
| |/ | |||||
| * | Merge branch 'pub-encode' into 'main' | Ian Jackson | 2025-11-19 | 1 | -0/+1 |
| |\ | | | | | | | | | tor-netdoc: Make much more of encode module public See merge request tpo/core/arti!3471 | ||||
| | * | tor-netdoc: Make much more of the encode module contents public | Ian Jackson | 2025-11-18 | 1 | -0/+1 |
| | | | | | | | | | | | My planned new derive for encoding will be pub, but cfg gated, like parse2 is. | ||||
| * | | tor-netdoc: document RelayFlags changes | Ian Jackson | 2025-11-18 | 1 | -2/+3 |
| |/ | |||||
| * | tor-netdoc: semver.md updates for RelayFlags overhaul | Ian Jackson | 2025-11-18 | 1 | -0/+6 |
| | | |||||
| * | maint: remove all semver.md files | Steven Engler | 2025-10-30 | 1 | -25/+0 |
| | | |||||
| * | tor-netdoc: impl ItemArgumentParseable for Ignored | Ian Jackson | 2025-10-23 | 1 | -0/+1 |
| | | | | | Change our mind about the logic for encoding an Ignored. | ||||
| * | tor-netcoc: Introduce NotPresent, for absent multiplicity | Ian Jackson | 2025-10-23 | 1 | -0/+2 |
| | | | | | | | | | | Currently this is mishandled: the current use sites (in rs/each_variety.rs) use Option<Ignored>, which would reject repeated items with that keyword, which is technically wrong. And encoing will become a problem. Vec<Ignored> would be wrong too. Instead, broaden NotPresent and give it multiplicity impls. | ||||
| * | tor-netdoc: Document new feature in semver.md | Ian Jackson | 2025-10-22 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: Preamble: rename relay_version field to server_version | Ian Jackson | 2025-10-22 | 1 | -0/+1 |
| | | | | | This makes it match the protocol and the spec. | ||||
| * | tor-netdoc: Document breaking changes in semver.md | Ian Jackson | 2025-10-22 | 1 | -0/+2 |
| | | |||||
| * | tor-netdoc: Change type of timestamp in SharedRandStatus | Ian Jackson | 2025-10-21 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: B64 helper type: Expose | Ian Jackson | 2025-10-15 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: Provide convenience method for handling invalid arguments | Ian Jackson | 2025-10-15 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: Expose Iso8601TimeNoSp and Iso8601TimeSp utility wrappers | Ian Jackson | 2025-10-09 | 1 | -0/+1 |
| | | | | | We're going to want to change some now-public fields to use these types. | ||||
| * | tor-netdoc: parse2: Add column field to PaarsError and print it | Ian Jackson | 2025-10-09 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: parse2: Add .column() accessor to ErrorProblem | Ian Jackson | 2025-10-09 | 1 | -0/+1 |
| | | | | | We'll want to general way to find the error problem column. | ||||
| * | tor-netdoc: parse2: Add column field as far as ErrorProblem | Ian Jackson | 2025-10-09 | 1 | -0/+1 |
| | | | | | | | | Provide facilities in ArgumnetStream for determining the column, and add the field to all the error types up to and including ErrorProblem. The value still needs to be propagated to ParseError, and printed there. | ||||
| * | tor-netdoc: Abolish now-obsolete field argument to from_args | Ian Jackson | 2025-10-09 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: Introduce ArgumentError | Ian Jackson | 2025-10-09 | 1 | -0/+2 |
| | | | | | | This will allow us to (1) move field name handling out of the argument parser method, and also (2) add columns more easily. | ||||
| * | tor-netdoc: Have .reject_extra_args return a bespoke error | Ian Jackson | 2025-10-09 | 1 | -0/+1 |
| | | | | | | | | We're about to have some functions return ArgumentError and some ErrorProblem. We don't want to provide a conversion directly between these types, so instead introduce a new type that will be convertible to either. | ||||
| * | tor-netdoc: UnparsedItem: Provide .args() accessor | Ian Jackson | 2025-10-09 | 1 | -0/+1 |
| | | |||||
| * | tor-netdoc: parse2: Rename methods on ArgumentStream | Ian Jackson | 2025-10-09 | 1 | -1/+1 |
| | | |||||
| * | tor-netdoc: Add semver.md for parsing/printing changes | Ian Jackson | 2025-10-08 | 1 | -0/+4 |
| | | |||||
| * | tor-netdoc: RouterStatus: unify `orport_addrs` and `addrs` methods | Ian Jackson | 2025-10-06 | 1 | -0/+2 |
| | | | | | | | | We had two functions with different return types but identical semantics. Replace them with one function returning `impl Iterator`. Make it return owned addresses. These are small. | ||||
| * | release: Remove old semver.md files. | Wesley Aptekar-Cassels | 2025-10-02 | 1 | -2/+0 |
| | | |||||
| * | tor-netdoc: Abolish `dangerous-expose-struct-fields`; always expose, instead | Ian Jackson | 2025-10-01 | 1 | -0/+2 |
| | | | | | Fixes #2192 | ||||
| * | Remove semver.md files | Nick Mathewson | 2025-08-28 | 1 | -6/+0 |
| | | |||||
| * | tor-netdoc: Add semver notes for these changes | Ian Jackson | 2025-08-26 | 1 | -0/+3 |
| | | | | | | I don't really see any way to make this less painful for downstreams, so I haven't added compatibility aliases of any kind. | ||||
| * | tor-netdoc: Replace "ns" with "plain" for unflavoured consensuses | Ian Jackson | 2025-08-18 | 1 | -1/+3 |
| | | |||||
| * | tor-netdoc: Rename ns-consensus to plain-consensus | Ian Jackson | 2025-08-18 | 1 | -1/+1 |
| | | | | | | | ns-consensus doesn't seem to have ever been released. This is part of abolishing the use of "ns" to mean "plain". | ||||
| * | tor-netdoc: Change feature name to `ns-consensus` with a hyphen | Ian Jackson | 2025-08-18 | 1 | -0/+1 |
| | | | | | | | | Our features are generally kebab-case, and this is the way it's documented. Retain the old name for compatibility. | ||||
| * | Remove semver.md files post-release. | Gabriela Moldovan | 2025-04-01 | 1 | -1/+0 |
| | | |||||
| * | netdoc: Make some parsing init functions fallible. | Nick Mathewson | 2025-03-17 | 1 | -0/+1 |
| | | | | | | | | I'm about to make our parsers reject some strings at construction time, so it makes sense to have these functions become fallible. This is a breaking change. | ||||
| * | Remove all semver.md files to start a fresh release round | Ian Jackson | 2024-02-05 | 1 | -1/+0 |
| | | |||||
| * | semver note. | Nick Mathewson | 2024-01-16 | 1 | -0/+1 |
| | | |||||
| * | Remove pending semver entriesarti-v1.1.12 | Nick Mathewson | 2024-01-09 | 1 | -1/+0 |
| | | |||||
| * | tor-netdoc: Make HsDescBuilder::auth_clients take an Option. | Gabriela Moldovan | 2023-12-14 | 1 | -0/+1 |
| | | | | | Closes #1019 | ||||
| * | Remove semver.md files from arti 1.1.10 | Nick Mathewson | 2023-10-31 | 1 | -5/+0 |
| | | |||||
| * | tor-netdoc: Use the new HandshakeType enum to represent CREATE2 HTYPEs. | Gabriela Moldovan | 2023-10-30 | 1 | -0/+1 |
| | | | | | | | | | | | | Representing the supported HTYPEs as `HandshakeType`s instead of `u32`s makes it more difficult to pass in wrong/invalid values to `HsDescBuilder::create2_formats`. This also fixes a descriptor publisher bug spotted by @jnewsome, where the advertised CREATE2 HTYPEs included HTYPE `1`, which is actually supposed to be a reserved value. The publisher now only advertises the `NTOR` HTYPE (just like C Tor). | ||||
| * | tor-netdoc: Building a descriptor now only requires the public part of ↵ | Gabriela Moldovan | 2023-10-25 | 1 | -0/+1 |
| | | | | | blinded_id. | ||||
| * | tor-netdoc: Update HsDesc, HsDescOuter to accept the hs_desc_sign cert as an ↵ | Gabriela Moldovan | 2023-10-25 | 1 | -0/+2 |
| | | | | | | | | | | | argument. This will enable us to (eventually) the load the descriptor signing key cert from the keystore (as opposed to always recomputing it when building the `HsDesc`). Part of #1048 | ||||
| * | tor-netdoc: Add helper function for computing the descriptor signing key cert. | Gabriela Moldovan | 2023-10-25 | 1 | -0/+1 |
| | | |||||
| * | Remove semver.md files now that 1.1.9 is out. | Nick Mathewson | 2023-10-02 | 1 | -2/+0 |
| | | |||||
| * | tor-hsclient, arti-client, tor-keymgr, tor-netdoc: Use a keypair instead of ↵ | Gabriela Moldovan | 2023-09-25 | 1 | -0/+2 |
| | | | | | | | | | | | | | | StaticSecret. Previously, when retrieving `KS_hsc_desc_enc` keys (or any other x25519 keys) from the keystore, the keymgr would discard the public part of the key (SSH private keys contain the public part of the key too). Instead of discarding the public key and returning just the `StaticSecret`, the keymgr now returns a `StaticKeypair`. This makes the x25519 `EncodableKey`/`ToEncodableKey` implementation consistent with the ed25519 one (which retrieves key pairs rather than "unescorted" secrets). | ||||
| * | Remove semver.md files for 1.1.6 | Nick Mathewson | 2023-06-30 | 1 | -2/+0 |
| | | |||||
| * | netdir: Move voting_period() to netdoc::Lifetime | Nick Mathewson | 2023-06-29 | 1 | -1/+1 |
| | | | | | | I was going to add a comment about "doing this if we need the voting period anywhere else" but it turns out that we also use it in dirmgr. | ||||
| * | netdir, netdoc: Add accessors for protocol version status. | Nick Mathewson | 2023-06-06 | 1 | -0/+2 |
| | | | | | | | | | | | | The consensus includes a listing for clients and for relays, saying which protocol versions are _required_ for participation on the network, and which versions are _recommended_. We have been parsing this, but not yet exposing it. This commit adds accessors to expose it, since we'll need that in order to create CircTargets for introduction points and rendezvous points. | ||||
