| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | | netdoc: Parse the middle layer of a hsdesc, and decrypt it. | Nick Mathewson | 2023-02-07 | 3 | -0/+259 | |
| | | | | ||||||
| * | | | netdoc: Use correct size for descriptor encryption cookie | Nick Mathewson | 2023-02-07 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | netdoc: move test descriptor to a higher level test module | Nick Mathewson | 2023-02-07 | 2 | -6/+12 | |
| | | | | | | | | | | | | | | | | We're going to make use of it in all of our tests, so we may as well expose it to them from hsdesc::test. | |||||
| * | | | netdoc: implement onion service descryptor encryption | Nick Mathewson | 2023-02-07 | 3 | -10/+227 | |
| | | | | | | | | | | | | | | | | This is tested via a round-trip check, and via a successful decryption of our example descriptor's outer layer. | |||||
| * | | | netdoc: Parser for outer layer of onion service descriptors. | Nick Mathewson | 2023-02-07 | 2 | -0/+255 | |
| | | | | ||||||
| * | | | netdoc: Add an example onion service descriptor to test our parsing. | Nick Mathewson | 2023-02-07 | 1 | -0/+223 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I generated this using C tor (latest main) and a Chutney network about a week ago. The subcredential is: 78210A0D2C72BB7A0CAF606BCD938B9A3696894FDDDBC3B87D424753A7E3DF37 The HS_blind_id is: 43CC0D62FC6252F578705CA645A46109E265290343B1137E90189744B20B3F2D | |||||
| * | | | netdoc: Derive Debug and Clone on HsDesc and its kin. | Nick Mathewson | 2023-02-07 | 1 | -0/+3 | |
| | | | | ||||||
| * | | | hscrypto: Impl From<Ed25519Identity> for BlindedOnionId. | Nick Mathewson | 2023-02-07 | 1 | -0/+6 | |
| | | | | ||||||
| * | | | hscrypto: add From/Into between RevisionCounter and u64. | Nick Mathewson | 2023-02-07 | 1 | -1/+3 | |
| | | | | ||||||
| * | | | tor-cert: document hs-related certificate types. | Nick Mathewson | 2023-02-07 | 1 | -4/+25 | |
| | | | | | | | | | | | | | | | | Also, explain why a few of these certificates aren't actually useful as certificates. (This issue is also documented in torspec!110) | |||||
| * | | | tor-cert: Implement Timebound for Ed25519Cert | Nick Mathewson | 2023-02-07 | 2 | -4/+18 | |
| | | | | | | | | | | | | | | | | This allows us to run `is_valid_at` and friends on the certificate itself, which we will use soon in hsdesc validity checks. | |||||
| * | | | llcrypto: Implement `Into<[u8;32]>` for Ed25519Identity | Nick Mathewson | 2023-02-07 | 2 | -0/+7 | |
| | | | | ||||||
| * | | | llcrypto: Derive zeroize for CtByteArray. | Nick Mathewson | 2023-02-07 | 2 | -1/+3 | |
| | | | | ||||||
| * | | | tor-linkspec: LinkSpec parsing: use read_nested_u8len (fmt) | Ian Jackson | 2023-02-06 | 1 | -13/+15 | |
| | | | | ||||||
| * | | | tor-linkspec: LinkSpec parsing: use read_nested_u8len | Ian Jackson | 2023-02-06 | 1 | -21/+5 | |
| |/ / | | | | | | | This eliminates hardcoded length values. | |||||
| * | | Tidy up docs about RouterStatusIdx | Ian Jackson | 2023-02-01 | 1 | -9/+6 | |
| | | | | | | | | | | | | | Always use "index" and not "position". Remove wording which is otiose given the type name. | |||||
| * | | tor-netdir: Use typed-index-collections for router status index | Ian Jackson | 2023-02-01 | 2 | -16/+30 | |
| | | | ||||||
| * | | tor-netdir: Provide ConsensusRelays extension trait (fmt) | Ian Jackson | 2023-02-01 | 1 | -4/+1 | |
| | | | ||||||
| * | | tor-netdir: Provide ConsensusRelays extension trait | Ian Jackson | 2023-02-01 | 2 | -14/+35 | |
| | | | | | | | | | | | Call it everywhere instead of the inherent method on MdConsensus. (Verified by ad-hoc temporarily renaming MdConsensus::relays().) | |||||
| * | | tor-netdoc: Suppress a cfg-dependent dead code warning | Ian Jackson | 2023-02-01 | 1 | -0/+1 | |
| | | | | | | | | | | | This is dead code when cargo +stable clippy -p tor-netdir --all-features --all-targets | |||||
| * | | Change two in-code references to the wrong feature name | Ian Jackson | 2023-02-01 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/issues/756 I think this is going in the wrong direction, but it is better to fix it so that the names agree for now, pending a decision on the naming. | |||||
| * | | Merge branch 'logs' into 'main' | Nick Mathewson | 2023-02-01 | 22 | -64/+107 | |
| |\ \ | | | | | | | | | | | | | | | | | | | Report causes of errors Closes #680 See merge request tpo/core/arti!997 | |||||
| | * | | Use ErrorReport - run rustfmt | Ian Jackson | 2023-01-30 | 7 | -10/+37 | |
| | | | | | | | | | | | | | Split off for ease of review and possible rebase. | |||||
| | * | | Use ErrorReport for errors in error! in tor-ptmgr | Ian Jackson | 2023-01-30 | 1 | -1/+2 | |
| | | | | ||||||
| | * | | Use ErrorReport's .report() for two errors in error! in bridgedesc.rs | Ian Jackson | 2023-01-30 | 1 | -3/+3 | |
| | | | | | | | | | | | | | No functional change, just using the new idiom. | |||||
| | * | | Use ErrorReport for remaining errors in error! in tor-circmgr | Ian Jackson | 2023-01-30 | 1 | -4/+4 | |
| | | | | ||||||
| | * | | Use ErrorReport for errors in error! in tor-chanmgr | Ian Jackson | 2023-01-30 | 1 | -2/+3 | |
| | | | | ||||||
| | * | | Use tor_error::Report for remaining errors in error! in arti | Ian Jackson | 2023-01-30 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | Apply safelog to DNS response serialisation errors, but report them | Ian Jackson | 2023-01-30 | 1 | -5/+11 | |
| | | | | | | | | | | | | | | | | | | | With safe logging disabled, print the error too. With safe logging enabled, do not print the message or the error. | |||||
| | * | | Use ErrorReport for errors in error! in arti-client | Ian Jackson | 2023-01-30 | 2 | -3/+4 | |
| | | | | ||||||
| | * | | Use ErrorReport for errors in warn! in tor-ptmgr | Ian Jackson | 2023-01-30 | 1 | -3/+3 | |
| | | | | ||||||
| | * | | Use ErrorReport for errors in warn! in tor-persist | Ian Jackson | 2023-01-30 | 2 | -3/+5 | |
| | | | | ||||||
| | * | | Use ErrorReport for errors in warn! in tor-dirmgr | Ian Jackson | 2023-01-30 | 3 | -10/+10 | |
| | | | | ||||||
| | * | | Use ErrorReport for errors in warn! in tor-circmgr | Ian Jackson | 2023-01-30 | 3 | -5/+6 | |
| | | | | ||||||
| | * | | Use ErrorReport for errors in warn! in tor-chanmgr | Ian Jackson | 2023-01-30 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | Use ErrorReport/Report for errors in warn! in arti | Ian Jackson | 2023-01-30 | 5 | -9/+13 | |
| | | | | ||||||
| | * | | Use ErrorReport for errors in info! in tor-dirmgr | Ian Jackson | 2023-01-30 | 2 | -3/+4 | |
| | | | | ||||||
| | * | | tor-dirclient: De-genericise internal fn retire_circ | Ian Jackson | 2023-01-30 | 1 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | Requring `Display` is wrong here, because if this is actually an Error, Display would be wrong because it doesn't display causes. As it happens, the `error` parameter is only ever `&str`. | |||||
| | * | | Use ErrorReport for errors in info! in tor-circmgr | Ian Jackson | 2023-01-30 | 1 | -6/+6 | |
| | | | | ||||||
| | * | | Errors: Mark the type of an error, for clarity | Ian Jackson | 2023-01-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | We want to call ErrorReport::report() on Errors, but this isn't an Error but only a string. | |||||
| * | | | Remove semver.md files now that 1.1.1 is tagged. | Nick Mathewson | 2023-02-01 | 4 | -7/+0 | |
| | | | | ||||||
| * | | | Bump minor version of tor-cell. | Nick Mathewson | 2023-02-01 | 4 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In !948 we renamed a couple of accessor functions, which is a breaking change in `tor-cell`'s API. In retrospect, perhaps we should have deprecated the old names and added the new ones, so we wouldn't have to break the API. (This is the only API break AFAICT since 1.1.0.) | |||||
| * | | | Bump the patch version of every crate that had API additions | Nick Mathewson | 2023-02-01 | 31 | -94/+94 | |
| | | | | | | | | | | | | | | | | | | | These crates had API or behavior changes that may affect downstream crates. Fortunately, they're all version 0.x, and don't need minor bumps for this. | |||||
| * | | | Bump the patch-level version of crates with _minor_ changes. | Nick Mathewson | 2023-02-01 | 24 | -85/+85 | |
| | | | | | | | | | | | | | | | | | | | | | | These changes influence behavior, but not effect compatibility. (If I messed up, and any crate except for `arti` has non-breaking API changes, that's still fine, since they are all version 0.x.) | |||||
| * | | | Bump the patch version of each crate with _trivial_ changes. | Nick Mathewson | 2023-02-01 | 13 | -13/+13 | |
| | | | | | | | | | | | | | | | | These crates have not had changes to their behavior; as such it is not necessary to bump their dependencies to require the new versions. | |||||
| * | | | Move tor-proto/semver.md to tor-cell | Nick Mathewson | 2023-02-01 | 1 | -0/+0 | |
| | | | | | | | | | | | | | It was erroneously created in the wrong place. | |||||
| * | | | Mark arti-config as "publish=false" | Nick Mathewson | 2023-02-01 | 1 | -0/+1 | |
| |/ / | | | | | | | | | We no longer use it anywhere; there is no reason to keep publishing updates to it. | |||||
| * | | netdir: remove duplicate code in param calculation | Nick Mathewson | 2023-01-28 | 1 | -23/+31 | |
| | | | ||||||
| * | | netdir: remove the vestigial smallvec implementation I added | Nick Mathewson | 2023-01-28 | 2 | -3/+2 | |
| | | | | | | | | | | | It's cute, but I don't think it will help performance, and I'm undecided about whether the semantic implications are true. | |||||
| * | | Turn compute_ring_params into a method. | Nick Mathewson | 2023-01-28 | 2 | -55/+61 | |
| | | | ||||||
