summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | netdoc: Add Eq and a note to SharedRandVal.Nick Mathewson2023-01-281-1/+3
| | |
| * | netdoc: Add SRV accessors.Nick Mathewson2023-01-281-2/+34
| | | | | | | | | | | | | | | | | | | | | These are deliberately unsophisticated accessors, in that they return Option<> rather than filling in missing values with the documented fallbacks. It seems better to leave a way to distinguish the absent case in the API.
| * | netdoc: Add a timestamp to SRVs per prop#342.Nick Mathewson2023-01-282-7/+54
| | | | | | | | | | | | | | | This breaks some experimental APIs, but since they are experimental no semver note is needed.
| * | netdoc: Add Iso8601 time _with_ a "T" as an argument type.Nick Mathewson2023-01-281-3/+30
|/ /
* | Merge branch 'typos' into 'main'Nick Mathewson2023-01-281-2/+2
|\ \ | |/ |/| | | | | Fix typos See merge request tpo/core/arti!996
| * Fix typosDimitris Apostolou2023-01-281-2/+2
|/
* Merge branch 'llvm-tools' into 'main'Nick Mathewson2023-01-273-7/+7
|\ | | | | | | | | maint: replace llvm-tools-preview with llvm-tools See merge request tpo/core/arti!993
| * maint: replace llvm-tools-preview with llvm-toolsEmil Engler2023-01-273-7/+7
|/ | | | | | | | | | | | This commit replaces all occurrences of `llvm-tools-preview` with `llvm-tools`, because it became a stable feature with Rust 1.60, thereby making the `-preview` prefix obsolete. Beside this, `llvm-tools-preview` is a redirection to the latter one anyway. However, it does not work the other way around. At the moment, it is not possible to execute the `maint/coverage` script on a NixOS system, because the rustup component list only includes `llvm-tools`, but not `llvm-tools-preview`, thereby making this change necessary.
* Merge branch 'no_clippy_warnings' into 'main'Nick Mathewson2023-01-27195-22/+240
|\ | | | | | | | | | | | | Fix clippy warnings from Rust 1.67 Closes #749 and #748 See merge request tpo/core/arti!992
| * circmgr: drop a receiver more explicitly.Nick Mathewson2023-01-271-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 Mathewson2023-01-272-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 testsNick Mathewson2023-01-27163-0/+163
| | | | | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests.
| * Elide a bunch of lifetimes.Nick Mathewson2023-01-273-9/+9
| | | | | | | | | | Clippy now warns about these; I'm not sure how these warnings snuck up on us.
| * Disable clippy::unlinlined-format-argsNick Mathewson2023-01-2750-10/+58
|/ | | | | | | | 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 's101-o3-january' into 'main'Nick Mathewson2023-01-271-1/+14
|\ | | | | | | | | Update C Tor specific numbers for s101-o3 for January See merge request tpo/core/arti!991
| * Update Tor number for s101 o3 (Tor: 2033cc7b5e).Alexander Færøy2023-01-271-0/+13
| |
| * Fix typo.Alexander Færøy2023-01-271-1/+1
|/
* Merge branch 'toml_0.6' into 'main'Ian Jackson2023-01-266-53/+119
|\ | | | | | | | | Upgrade toml to version 0.6. See merge request tpo/core/arti!989
| * Upgrade toml to version 0.6.Nick Mathewson2023-01-256-53/+119
| | | | | | | | | | | | | | 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 Mathewson2023-01-267-94/+666
|\ \ | | | | | | | | | | | | | | | | | | Implement tor-hscrypto Closes #684 and #742 See merge request tpo/core/arti!980
| * | hscrypto: Remove Credential.Nick Mathewson2023-01-251-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_intervalNick Mathewson2023-01-251-0/+3
| | |
| * | hscrypto: Explain why vanity onions require expanded secret keys.Nick Mathewson2023-01-251-1/+11
| | |
| * | hscrypto: document why we have keys in un-expanded formNick Mathewson2023-01-251-3/+12
| | |
| * | hscrypto: Note that maybe Duration is the wrong type to use.Nick Mathewson2023-01-251-0/+5
| | |
| * | hscrypto: Note the need for a Result rather than an OptionNick Mathewson2023-01-251-0/+4
| | |
| * | Apply several clarifications (and fixes for missing refs)Ian Jackson2023-01-253-1/+7
| | |
| * | hscrypto: Use derive_more, and derive Deref for public keys.Nick Mathewson2023-01-253-32/+4
| | |
| * | hscrypto: Revise TimePeriod to account for variable offset.Nick Mathewson2023-01-242-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 ClientSecretKeysNick Mathewson2023-01-241-0/+3
| | |
| * | Add a note about why we use ExpandedSecretKey for OnionIdSecretKeyNick Mathewson2023-01-242-2/+7
| | |
| * | hscrypto: Add our standard clippy warningsNick Mathewson2023-01-244-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 Mathewson2023-01-244-11/+233
| | | | | | | | | | | | | | | This implementation was made based on the specification, and then validated against itself, and against C Tor.
| * | hscrypto: Add an implementation for TimePeriodNick Mathewson2023-01-243-11/+120
| | | | | | | | | | | | | | | 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 Mathewson2023-01-243-2/+59
| | |
| * | hscrypto: Improve documentation for RendCookieNick Mathewson2023-01-241-1/+5
| | |
| * | hscrypto: use a macro to define our byte wrappers too.Nick Mathewson2023-01-243-10/+56
| | |
| * | hscrypto: Add and use a macro to define all PK types.Nick Mathewson2023-01-245-37/+92
| | |
| * | hscrypto: A couple of spelling fixes.Nick Mathewson2023-01-241-2/+2
| | |
| * | hscrypto: Associate each type with new name from rend-spec-v3.txtNick Mathewson2023-01-242-10/+12
| | |
* | | exportedapisketc: note that HTTP can be tricky.Nick Mathewson2023-01-261-0/+12
| | |
* | | Merge branch 'netdoc-builder' into 'main'eta2023-01-269-189/+504
|\ \ \ | | | | | | | | | | | | | | | | tor-netdoc: Provide NetdocEncoder (internal) See merge request tpo/core/arti!984
| * | | Add missing docsrs attributeIan Jackson2023-01-241-0/+1
| | | |
| * | | netdoc builder: Add two TODOs, prompted by testing experienceIan Jackson2023-01-241-0/+6
| | | |
| * | | netdoc builder test: Make a bigger dummy document and test reparsingIan Jackson2023-01-241-2/+26
| | | |
| * | | netdoc builder: Implement object() and add one test caseIan Jackson2023-01-242-2/+50
| | | |
| * | | netdoc-builder: Initial test case (no object yet)Ian Jackson2023-01-241-0/+47
| | | |
| * | | netdoc-builder: Provide new() methodIan Jackson2023-01-241-0/+7
| | | |
| * | | netdoc-builder: Implement ItemArgument for more needed typesIan Jackson2023-01-242-6/+45
| | | |
| * | | netdoc-builder: Remove some obsolete commentsIan Jackson2023-01-241-11/+0
| | | |