summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| | | |
| * | | netdoc-builder: Move example into implementation doc commentIan Jackson2023-01-242-20/+16
| | | | | | | | | | | | | | | | Not actually tested yet
| * | | netdoc-builder: Implement most of the internal general doc builderIan Jackson2023-01-241-23/+83
| | | |
| * | | netdoc-builder api: Clarify docs for object()Ian Jackson2023-01-241-3/+8
| | | |
| * | | netdoc-builder api: Introduce ItemArgument traitIan Jackson2023-01-241-2/+32
| | | |
| * | | netdoc-builder api: Have .item() return ItemBuilderIan Jackson2023-01-241-1/+1
| | | | | | | | | | | | | | | | This was a slip in the design doc.
| * | | netdoc-builder api: Abolish `K` generic on ItemEncoderIan Jackson2023-01-241-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 valueIan Jackson2023-01-241-3/+0
| | | |
| * | | netdoc-builder api: Make ItemEncoder methods consume and return selfIan Jackson2023-01-241-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 Jackson2023-01-241-6/+7
| | | |
| * | | netdoc-builder api: Move internal API into actual code fileIan Jackson2023-01-243-135/+180
| | | | | | | | | | | | | | | | Motion, plus the bare minimum needed to make it compile.
| * | | netdoc-builder api: Remove obsolete proposed `Item` changesIan Jackson2023-01-241-24/+0
| | | | | | | | | | | | | | | | We decided against these in !969
| * | | tor-netdoc: tokenize: Provide BASE64_PEM_MAX_LINEIan Jackson2023-01-241-0/+3
| | | | | | | | | | | | | | | | We'll use this in the netdoc builder, but it naturally lives here.
| * | | tor-netdoc: tokenize: Rename to tag_keywords_ok, document, exposeIan Jackson2023-01-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename from _keyword_, since this actually checks the *multiple* keywords that can appear in an object's BEGIN line. Make this clear in the doc comment. Expose it for use by the netdoc builder.