| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Bump the patch version of every crate that had API additions | Nick Mathewson | 2023-02-01 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
| * | netdir: Implement ring-param constructors and time period accessors | Nick Mathewson | 2023-01-28 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | This logic is a bit tricky, so I've tried to document it and add fairly good tests. The silver lining is that the external API for all of this logic will make it invisible and hidden. There are some cases where I added functions that I think might eventually get lowered into MdConsensus: But I don't want to lower too much right now, since the convention for our netdoc accessors is that they are fairly unsophisticated, and they show you the document as it is. Closes #686 | ||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 3 | -0/+3 |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | ||||
| * | Disable clippy::unlinlined-format-args | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | | | | 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. | ||||
| * | 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 |
| | | |||||
| * | CircMgr: Draft APIs used to implement onion service clients. | Nick Mathewson | 2023-01-24 | 1 | -0/+9 |
| | | |||||
| * | Sketch APIs for the onion service directory ring. | Nick Mathewson | 2023-01-11 | 1 | -4/+0 |
| | | | | | | | | | | These are a bit complex internally, but the API they present is pretty simple. I've left some discussion of points where the design isn't totally fleshed out, and where we need to look harder at the spec. Part of #716. | ||||
| * | hscrypto: Add several derives | Nick Mathewson | 2023-01-11 | 3 | -1/+14 |
| | | | | | | The important addition here is the Copy derives, which affect API design. I'm applying them to the types that are 32 byte or smaller. | ||||
| * | Create a new tor-hscrypto crate. | Nick Mathewson | 2023-01-06 | 6 | -0/+250 |
| This module has types and operations needed in multiple places for an onion service implementation. There are a bunch of TODO hs-crypto comments that we'll need to fill in. | |||||
