| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | netdoc: Add Iso8601 time _with_ a "T" as an argument type. | Nick Mathewson | 2023-01-28 | 1 | -3/+30 | |
| | | | ||||||
| * | | Fix typos | Dimitris Apostolou | 2023-01-28 | 1 | -2/+2 | |
| |/ | ||||||
| * | circmgr: drop a receiver more explicitly. | Nick Mathewson | 2023-01-27 | 1 | -1/+4 | |
| | | | | | | | | | | Clippy now complains about `let _ = (expr_producing_a_future);`, which is probably smart, since maybe you wanted to await that future and ignore the result. So it seems that the right way to get rid of an unwanted Receiver is now to drop it explicitly. Closes #749 | |||||
| * | "Fix" remaining unchecked-subtraction warnings. | Nick Mathewson | 2023-01-27 | 2 | -2/+6 | |
| | | | | | | In both cases I think it's fine to panic; but it's best to do so explicitly. | |||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 162 | -0/+162 | |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | |||||
| * | Elide a bunch of lifetimes. | Nick Mathewson | 2023-01-27 | 3 | -9/+9 | |
| | | | | | | Clippy now warns about these; I'm not sure how these warnings snuck up on us. | |||||
| * | Disable clippy::unlinlined-format-args | Nick Mathewson | 2023-01-27 | 49 | -10/+57 | |
| | | | | | | | | | This warning kind of snuck up on us! (See #748) For now, let's disable it. (I've cleaned it up in a couple of examples, since those are meant to be more idiomatic and user-facing.) Closes #748. | |||||
| * | Merge branch 'toml_0.6' into 'main' | Ian Jackson | 2023-01-26 | 5 | -31/+45 | |
| |\ | | | | | | | | | Upgrade toml to version 0.6. See merge request tpo/core/arti!989 | |||||
| | * | Upgrade toml to version 0.6. | Nick Mathewson | 2023-01-25 | 5 | -31/+45 | |
| | | | | | | | | | | | | | | | This required rewriting some of our error handling code in command-line processing, since the toml crate now displays and reports errors differently. (Admittedly, this code still is kind of ugly, but at least it is nicely hidden.) | |||||
| * | | Merge branch 'hscrypto_impl' into 'main' | Nick Mathewson | 2023-01-26 | 6 | -94/+658 | |
| |\ \ | | | | | | | | | | | | | | | | | | | Implement tor-hscrypto Closes #684 and #742 See merge request tpo/core/arti!980 | |||||
| | * | | hscrypto: Remove Credential. | Nick Mathewson | 2023-01-25 | 1 | -19/+2 | |
| | | | | | | | | | | | | | | | | | | | It turns out that the credential is only calculated as an intermediate result in order to blind keys and produce the subcredential. As such, it has no need to leave the hscrypto module. | |||||
| | * | | hscrypto: add a note about maybe replacing epoch_offset with voting_interval | Nick Mathewson | 2023-01-25 | 1 | -0/+3 | |
| | | | | ||||||
| | * | | hscrypto: Explain why vanity onions require expanded secret keys. | Nick Mathewson | 2023-01-25 | 1 | -1/+11 | |
| | | | | ||||||
| | * | | hscrypto: document why we have keys in un-expanded form | Nick Mathewson | 2023-01-25 | 1 | -3/+12 | |
| | | | | ||||||
| | * | | hscrypto: Note that maybe Duration is the wrong type to use. | Nick Mathewson | 2023-01-25 | 1 | -0/+5 | |
| | | | | ||||||
| | * | | hscrypto: Note the need for a Result rather than an Option | Nick Mathewson | 2023-01-25 | 1 | -0/+4 | |
| | | | | ||||||
| | * | | Apply several clarifications (and fixes for missing refs) | Ian Jackson | 2023-01-25 | 3 | -1/+7 | |
| | | | | ||||||
| | * | | hscrypto: Use derive_more, and derive Deref for public keys. | Nick Mathewson | 2023-01-25 | 2 | -32/+3 | |
| | | | | ||||||
| | * | | hscrypto: Revise TimePeriod to account for variable offset. | Nick Mathewson | 2023-01-24 | 2 | -22/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the offset was set to 12 hours unconditionally (like the spec says). But based on a conversation on tor-dev, it seems that the offset should actually be 12 times the voting interval. I'm also opening an MR to change the spec. | |||||
| | * | | hscrypto: Add documentation for ClientSecretKeys | Nick Mathewson | 2023-01-24 | 1 | -0/+3 | |
| | | | | ||||||
| | * | | Add a note about why we use ExpandedSecretKey for OnionIdSecretKey | Nick Mathewson | 2023-01-24 | 2 | -2/+7 | |
| | | | | ||||||
| | * | | hscrypto: Add our standard clippy warnings | Nick Mathewson | 2023-01-24 | 4 | -1/+66 | |
| | | | | | | | | | | | | | | | | | | | (I have squashed the fixes for these warnings into the earlier commits in this branch, so it will look like I did everything right the first time.) | |||||
| | * | | hscrypto: Implement key blinding. | Nick Mathewson | 2023-01-24 | 3 | -11/+231 | |
| | | | | | | | | | | | | | | | | This implementation was made based on the specification, and then validated against itself, and against C Tor. | |||||
| | * | | hscrypto: Add an implementation for TimePeriod | Nick Mathewson | 2023-01-24 | 2 | -11/+119 | |
| | | | | | | | | | | | | | | | | This required some API tweaks, which is probably to be expected; these time periods are a wonky kind of thing. | |||||
| | * | | hscrypto: Implement hs_mac. | Nick Mathewson | 2023-01-24 | 2 | -2/+57 | |
| | | | | ||||||
| | * | | hscrypto: Improve documentation for RendCookie | Nick Mathewson | 2023-01-24 | 1 | -1/+5 | |
| | | | | ||||||
| | * | | hscrypto: use a macro to define our byte wrappers too. | Nick Mathewson | 2023-01-24 | 3 | -10/+56 | |
| | | | | ||||||
| | * | | hscrypto: Add and use a macro to define all PK types. | Nick Mathewson | 2023-01-24 | 4 | -37/+90 | |
| | | | | ||||||
| | * | | hscrypto: A couple of spelling fixes. | Nick Mathewson | 2023-01-24 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | hscrypto: Associate each type with new name from rend-spec-v3.txt | Nick Mathewson | 2023-01-24 | 2 | -10/+12 | |
| | |/ | ||||||
| * | | Merge branch 'netdoc-builder' into 'main' | eta | 2023-01-26 | 8 | -12/+503 | |
| |\ \ | | | | | | | | | | | | | tor-netdoc: Provide NetdocEncoder (internal) See merge request tpo/core/arti!984 | |||||
| | * | | Add missing docsrs attribute | Ian Jackson | 2023-01-24 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | netdoc builder: Add two TODOs, prompted by testing experience | Ian Jackson | 2023-01-24 | 1 | -0/+6 | |
| | | | | ||||||
| | * | | netdoc builder test: Make a bigger dummy document and test reparsing | Ian Jackson | 2023-01-24 | 1 | -2/+26 | |
| | | | | ||||||
| | * | | netdoc builder: Implement object() and add one test case | Ian Jackson | 2023-01-24 | 2 | -2/+50 | |
| | | | | ||||||
| | * | | netdoc-builder: Initial test case (no object yet) | Ian Jackson | 2023-01-24 | 1 | -0/+47 | |
| | | | | ||||||
| | * | | netdoc-builder: Provide new() method | Ian Jackson | 2023-01-24 | 1 | -0/+7 | |
| | | | | ||||||
| | * | | netdoc-builder: Implement ItemArgument for more needed types | Ian Jackson | 2023-01-24 | 2 | -6/+45 | |
| | | | | ||||||
| | * | | netdoc-builder: Remove some obsolete comments | Ian Jackson | 2023-01-24 | 1 | -11/+0 | |
| | | | | ||||||
| | * | | netdoc-builder: Move example into implementation doc comment | Ian Jackson | 2023-01-24 | 1 | -2/+16 | |
| | | | | | | | | | | | | | Not actually tested yet | |||||
| | * | | netdoc-builder: Implement most of the internal general doc builder | Ian Jackson | 2023-01-24 | 1 | -23/+83 | |
| | | | | ||||||
| | * | | netdoc-builder api: Clarify docs for object() | Ian Jackson | 2023-01-24 | 1 | -3/+8 | |
| | | | | ||||||
| | * | | netdoc-builder api: Introduce ItemArgument trait | Ian Jackson | 2023-01-24 | 1 | -2/+32 | |
| | | | | ||||||
| | * | | netdoc-builder api: Have .item() return ItemBuilder | Ian Jackson | 2023-01-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | This was a slip in the design doc. | |||||
| | * | | netdoc-builder api: Abolish `K` generic on ItemEncoder | Ian Jackson | 2023-01-24 | 1 | -5/+7 | |
| | | | | | | | | | | | | | | | | We're going to eagerly encode the keyword, so this will be easy. Removing the generic simplifies the API. | |||||
| | * | | netdoc-builder api: Don't promise to check args_raw_string value | Ian Jackson | 2023-01-24 | 1 | -3/+0 | |
| | | | | ||||||
| | * | | netdoc-builder api: Make ItemEncoder methods consume and return self | Ian Jackson | 2023-01-24 | 1 | -2/+13 | |
| | | | | | | | | | | | | | | | | | | | This will actually make the pattern in the example work. The mentioned `ItemArgument` trait will arrive soon. | |||||
| | * | | netdoc-builder api: Move internal API into actual code file (fmt) | Ian Jackson | 2023-01-24 | 1 | -6/+7 | |
| | | | | ||||||
| | * | | netdoc-builder api: Move internal API into actual code file | Ian Jackson | 2023-01-24 | 2 | -0/+179 | |
| | | | | | | | | | | | | | Motion, plus the bare minimum needed to make it compile. | |||||
| | * | | tor-netdoc: tokenize: Provide BASE64_PEM_MAX_LINE | Ian Jackson | 2023-01-24 | 1 | -0/+3 | |
| | | | | | | | | | | | | | We'll use this in the netdoc builder, but it naturally lives here. | |||||
