| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | tor-linkspec: Sort out indentation in new macro template | Ian Jackson | 2026-07-01 | 1 | -111/+111 | |
| | | | | | | | | | | | | | | | | | Pure whitespace change. Review with, eg, git diff -w. | |||||
| | * | | | tor-linkspec: PartialEq: use deftly, not an ad-hoc macro_rules | Ian Jackson | 2026-07-01 | 1 | -10/+2 | |
| | | | | | | | | | | | | | | | | | This gets rid of the matcher, and the need to invoke it. | |||||
| | * | | | tor-linkspec: PartialEq: change variable names | Ian Jackson | 2026-07-01 | 1 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change $var to $vname, and $type to $IDENTITY. These are the names used in the deftly template. This will make the next commit almost a no-op. | |||||
| | * | | | tor-linkspec: PartialEq: simplify PartialEq<FooIdentity> for RelayId | Ian Jackson | 2026-07-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | We can just refer to the PartialEq<FooIdentity> for RelayIdRef, which is macro-generated just above, replacing this copy-pasted matches. | |||||
| | * | | | tor-linkspec: Use deftly for RelayIdId and RelayIdRef impls | Ian Jackson | 2026-07-01 | 1 | -44/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes quite a lot of in-detail copy-paste. The lone `}` is being moved, bringing the code we're changing within the scope of the template. | |||||
| | * | | | tor-linkspec: Minimal deftly for RelayIdId and RelayIdRef | Ian Jackson | 2026-07-01 | 1 | -11/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Derive the two types. We end up moving the display strings from direct attributes directed to derive_more, to deftly attributes. Indentation is rather odd now: we ought to indent the macro body. We'll sort that out at the end. No functional change. | |||||
| | * | | | tor-linkspec: Move PartialEq impls | Ian Jackson | 2026-07-01 | 1 | -19/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pure code motion. We want to move this to where a bigger macro is going to be, so that it can be part of it. Code motion only, review with --color-moved. | |||||
| * | | | | tor-netdoc: Stabilise votes and encoding of authcerts (formatting) | Ian Jackson | 2026-07-15 | 3 | -13/+8 | |
| | | | | | ||||||
| * | | | | tor-netdoc: Stabilise votes and encoding of authcerts | Ian Jackson | 2026-07-15 | 9 | -37/+17 | |
| | | | | | ||||||
| * | | | | tor-netdoc: Remove a now-unnecessary allow | Ian Jackson | 2026-07-15 | 1 | -1/+0 | |
| | | | | | ||||||
| * | | | | tor-netdoc: drop a done TODO | Ian Jackson | 2026-07-15 | 1 | -3/+0 | |
| | | | | | | | | | | | | | | | | | torspec!499 is merged. | |||||
| * | | | | tor-netdoc tests: Test consensus verification error cases | Ian Jackson | 2026-07-15 | 3 | -5/+104 | |
| | | | | | ||||||
| * | | | | tor-netdoc tests: Break out prep_netstatus_verify (fmt) | Ian Jackson | 2026-07-15 | 1 | -6/+1 | |
| | | | | | ||||||
| * | | | | tor-netdoc tests: Break out prep_netstatus_verify | Ian Jackson | 2026-07-15 | 1 | -18/+32 | |
| | | | | | ||||||
| * | | | | tor-netdoc tests: Test roundtrip of subset of live data | Ian Jackson | 2026-07-15 | 2 | -2/+55 | |
| | | | | | | | | | | | | | | | | | With facility to test roundtrip of whole consensus. | |||||
| * | | | | tor-netdoc tests: Run new testdata-live-download script | Ian Jackson | 2026-07-15 | 3 | -0/+473 | |
| | | | | | ||||||
| * | | | | tor-netdoc tests: Provide new testdata-live-download script | Ian Jackson | 2026-07-15 | 3 | -0/+78 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have confimed the consent of the operators of the relays listed in the script. The rationale for using .entire.FOO filenames for the curl outputs will become clear shortly. | |||||
| * | | | | tor-netdoc: Add some missing "retain-unknown" cfg gates to tests | Ian Jackson | 2026-07-15 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | Nothing in CI tests incomplete without retain-unknown, apparently. | |||||
| * | | | | tor-netdoc: Now that poc is gone, make some things no longer pub(crate) | Ian Jackson | 2026-07-15 | 1 | -9/+4 | |
| | | | | | ||||||
| * | | | | tor-netdoc: Abolish poc | Ian Jackson | 2026-07-15 | 5 | -421/+0 | |
| | | | | | ||||||
| * | | | | tor-dirserver: Use "plain" consensus terminology rather than "ns" (fmt) | Ian Jackson | 2026-07-15 | 1 | -1/+4 | |
| | | | | | ||||||
| * | | | | tor-dirserver: Use "plain" consensus terminology rather than "ns" | Ian Jackson | 2026-07-15 | 1 | -12/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't make sense to say that a plain consensus is an "ns" consensus, because "ns" stands for "network status" and all consensus flavours, and indeed votes, are network statusus. That's why tor-netdoc now uses "plain". Use that here too. | |||||
| * | | | | tor-dirserver: Use real consensus types, not poc (fmt) | Ian Jackson | 2026-07-15 | 1 | -4/+1 | |
| | | | | | ||||||
| * | | | | tor-dirserver: Use real consensus types, not poc | Ian Jackson | 2026-07-15 | 1 | -3/+2 | |
| | | | | | ||||||
| * | | | | Merge branch 'clippy_warning' into 'main' | Jim Newsome | 2026-07-13 | 29 | -56/+52 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | multiple crates: Fix clippy warnings See merge request tpo/core/arti!4203 | |||||
| | * | | | | arti: subcommands: keys: Fix clippy::for-kv-map | hjrgrn | 2026-07-13 | 1 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | arti-client: Fix formatting | hjrgrn | 2026-07-10 | 1 | -5/+1 | |
| | | | | | | ||||||
| | * | | | | tor-persist: Fix clippy warning | hjrgrn | 2026-07-10 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | multiple crates: Fix clippy warnings | hjrgrn | 2026-07-10 | 22 | -41/+41 | |
| | | | | | | ||||||
| | * | | | | fs-mistrust: Fix clippy warnings | hjrgrn | 2026-07-10 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | safelog: Fix clippy warnings | hjrgrn | 2026-07-10 | 1 | -5/+5 | |
| | | | | | | ||||||
| | * | | | | test-temp-dir: Fix clippy warning | hjrgrn | 2026-07-10 | 1 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | tor-error: Fix clippy warnings | hjrgrn | 2026-07-10 | 2 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | retry-error: Fix clippy warning | hjrgrn | 2026-07-10 | 1 | -1/+1 | |
| | | |/ / | |/| | | ||||||
| * | | | | Merge branch 'upgrade-cipher' into 'main' | gabi-250 | 2026-07-13 | 10 | -46/+80 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | | | | | Upgrade cipher, aes, and ctr. See merge request tpo/core/arti!4195 | |||||
| | * | | | Upgrade cipher, aes, and ctr. | Nick Mathewson | 2026-07-13 | 10 | -46/+80 | |
| | | | | | ||||||
| * | | | | Merge branch 'onion-svc-negotiate-v2' into 'main' | Nick Mathewson | 2026-07-02 | 26 | -92/+723 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Negotiate flowcontrol-cc and CGO on onion services Closes #2473 and #1948 See merge request tpo/core/arti!4135 | |||||
| | * | | | | Change HS descriptor sendme_inc into a NonZeroU8 | Nick Mathewson | 2026-07-02 | 4 | -9/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This saves us from having to check whether it is 0, and better represents what the type is allowed to be. | |||||
| | * | | | | hs: Add a TODO about #2598 refactoring | Nick Mathewson | 2026-07-02 | 2 | -0/+6 | |
| | | | | | | ||||||
| | * | | | | Do not incluede negotiate_subproto in subproto_request | Nick Mathewson | 2026-07-02 | 2 | -4/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I had incorrectly thought that this was necessary. Fortunately, @opara looked at the spec. :) We do, however, still need to _advertise_ negotiate_subproto. | |||||
| | * | | | | Cargo plumbing to expose HS extension negotiation | Nick Mathewson | 2026-07-02 | 2 | -0/+9 | |
| | | | | | | ||||||
| | * | | | | hsclient: Support protocol negotiation for CGO and flowctrl-cc | Nick Mathewson | 2026-07-02 | 7 | -13/+207 | |
| | | | | | | ||||||
| | * | | | | hsservice: Accept and negotiate protocol extensions. | Nick Mathewson | 2026-07-02 | 2 | -4/+93 | |
| | | | | | | ||||||
| | * | | | | tor-units: impl From<BoundedInt<1, 254>> for u8. | Nick Mathewson | 2026-07-02 | 1 | -0/+6 | |
| | | | | | | ||||||
| | * | | | | hsservice: Advertise flowctrl and cgo as appropriate. | Nick Mathewson | 2026-07-02 | 5 | -0/+92 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | We put this behind a feature because we probably want to test this out before we enable it. | |||||
| | * | | | | netdoc: Add new capability negotiation pieces to hsdesc. | Nick Mathewson | 2026-07-02 | 4 | -5/+174 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "flow-control" item is documented in proposal 324 section 9.1; there's a ticket (torspec#418) to document it. The "proto" item is documented at https://spec.torproject.org/rend-spec/hsdesc-encrypt.html#item:proto | |||||
| | * | | | | cell: Accessors for more intro extensions. | Nick Mathewson | 2026-07-02 | 1 | -7/+16 | |
| | | | | | | ||||||
| | * | | | | cell: Make "extlist" generate methods to access variants. | Nick Mathewson | 2026-07-02 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will simplify the case where we need to look up a particular extension in an ExtList. | |||||
| | * | | | | proto: Allow HsV3 to use cgo. | Nick Mathewson | 2026-07-02 | 1 | -2/+8 | |
| | | | | | | ||||||
| | * | | | | proto: Do not automatically disable CC with hsv3. | Nick Mathewson | 2026-07-02 | 2 | -20/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We _already_ do not include FLOWCTRL_CC as a listed protocol among the capabilities we provide, when we make a virtual hop. This branch will make that behavior even more certain, by not looking at required-client-protocols any longer. | |||||
