| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | tor-netdir: Update ring_items_at() docs. | Gabriela Moldovan | 2023-08-16 | 1 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This updates the docs to reference the `spread` parameter (rather than `spread_fetch`). | |||||
| | * | | | | tor-netdir: Remove extraneous whitespace. | Gabriela Moldovan | 2023-08-16 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | tor-netdir: Use hsdir_spread_store if we're uploading. | Gabriela Moldovan | 2023-08-16 | 1 | -4/+9 | |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | The spread should be either `hsdir_spread_store` or `hsdir_spread_fetch`, depending on whether we're uploading or downloading descriptors. | |||||
| * | | | | tor-hsservice: Have IptEstablisher::new() return the status watch (fmt) | Ian Jackson | 2023-08-16 | 1 | -2/+1 | |
| | | | | | ||||||
| * | | | | tor-hsservice: Have IptEstablisher::new() return the status watch | Ian Jackson | 2023-08-16 | 1 | -5/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IPT manager is going to want to separate the IptEstablisher struct (which contains the Drop signal) from the watch receiver. We could add an accessor to clone the watch, but the copy in the IptEstablisher would be redundant. This makes new()'s signature a bit funky but it's an internal method so I think that's fine. | |||||
| * | | | | Apply some churn from rustfmt (beta) | Ian Jackson | 2023-08-16 | 1 | -1/+1 | |
| |/ / / | ||||||
| * | | | tor-dirclient: Fix clippy lints. | Gabriela Moldovan | 2023-08-16 | 1 | -5/+5 | |
| | | | | ||||||
| * | | | tor-dirclient: Remove unused `StringBody` trait. | Gabriela Moldovan | 2023-08-16 | 2 | -27/+0 | |
| | | | | ||||||
| * | | | tor-dirclient: Make Requestable return requests with String bodies. | Gabriela Moldovan | 2023-08-16 | 4 | -53/+25 | |
| | | | | | | | | | | | | | | | | It's simpler to always use a `String` to represent directory request bodies. We no longer need the `StringBody` trait. | |||||
| * | | | tor-dirclient: Rename StringBody::str() to StringBody::as_str(). | Gabriela Moldovan | 2023-08-16 | 2 | -6/+6 | |
| | | | | ||||||
| * | | | tor-dirclient: Deprecate download() instead of removing it. | Gabriela Moldovan | 2023-08-16 | 2 | -1/+18 | |
| | | | | ||||||
| * | | | tor-dirclient: Extend format test to check the body is formatted too (fmt) | Gabriela Moldovan | 2023-08-16 | 1 | -1/+4 | |
| | | | | ||||||
| * | | | tor-dirclient: Extend format test to check the body is formatted too. | Gabriela Moldovan | 2023-08-16 | 1 | -8/+22 | |
| | | | | ||||||
| * | | | tor-dirclient: Move request building to a test helper function. | Gabriela Moldovan | 2023-08-16 | 1 | -11/+13 | |
| | | | | ||||||
| * | | | tor-dirclient: Add `HsDescUploadRequest`. | Gabriela Moldovan | 2023-08-16 | 3 | -0/+50 | |
| | | | | | | | | | | | | | | | | The hsdir publisher will send the `HsDescUploadRequest`s to the appropriate directory using `send_request()`. | |||||
| * | | | tor-dirclient: Make the body type of a `Requestable` type configurable. | Gabriela Moldovan | 2023-08-16 | 4 | -4/+49 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the `Requestable` trait assumed the body of the request would always be empty (`http::Request<()>`). This change replaces the hardcoded `()` body type with the `Requestable::Body` associated type (which will allow implementors to create requests with non-empty bodies). This will enable us to reuse the `Requestable` trait for building `POST` requests for uploading descriptors. | |||||
| * | | | tor-dirclient: Rename download() to send_request() (fmt). | Gabriela Moldovan | 2023-08-16 | 1 | -1/+5 | |
| | | | | ||||||
| * | | | tor-dirclient: Rename download() to send_request(). | Gabriela Moldovan | 2023-08-16 | 5 | -9/+11 | |
| | | | | | | | | | | | | | | | | | | | `download()` is actually a general-purpose function for sending HTTP requests on a stream. We will soon repurpose it for `POST`-ing descriptors, so let's rename it to `send_request`. | |||||
| * | | | Merge branch 'remove-unused-import' into 'main' | Ian Jackson | 2023-08-16 | 1 | -1/+3 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-proto: remove unused import See merge request tpo/core/arti!1493 | |||||
| | * | | | tor-proto: remove unused import | Emil Engler | 2023-08-10 | 1 | -1/+3 | |
| | |/ / | | | | | | | | | | | | | This commit removes an unused import within the test module of the `tor_proto::circuit` module. | |||||
| * | | | Merge branch 'keystore-dir' into 'main' | Ian Jackson | 2023-08-16 | 1 | -1/+39 | |
| |\ \ \ | |_|/ |/| | | | | | | | | | | | | | | arti-client: Make from_directories() derive the keystore_dir from state_dir. Closes #988 See merge request tpo/core/arti!1498 | |||||
| | * | | arti-client: Use Path::join instead of format!. | Gabriela Moldovan | 2023-08-14 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | arti-client: Make from_directories() derive the keystore_dir from state_dir. | Gabriela Moldovan | 2023-08-11 | 1 | -1/+39 | |
| | |/ | | | | | | | Closes #988 | |||||
| * | | Merge branch 'more_introducing' into 'main' | Nick Mathewson | 2023-08-16 | 5 | -106/+277 | |
| |\ \ | | | | | | | | | | | | | Write more of IptEstablisher. See merge request tpo/core/arti!1510 | |||||
| | * | | Wire up more of IptEstablisher. | Nick Mathewson | 2023-08-16 | 2 | -7/+112 | |
| | | | | | | | | | | | | | | | | It now supports running in a loop, trying to establish an introduction point, and reporting status. | |||||
| | * | | reformat establish_intro_once | Nick Mathewson | 2023-08-15 | 1 | -75/+78 | |
| | | | | ||||||
| | * | | Make establish_intro_once a method on a new IptEstablisherReactor. | Nick Mathewson | 2023-08-15 | 1 | -18/+34 | |
| | | | | | | | | | | | | | This will help with making a keep_established method. | |||||
| | * | | hsservice: Actually return from establish_intro_once. | Nick Mathewson | 2023-08-15 | 1 | -13/+31 | |
| | | | | ||||||
| | * | | hsservice: migrate IptStatus design to assume a postage::watch | Nick Mathewson | 2023-08-15 | 2 | -9/+13 | |
| | | | | ||||||
| | * | | hsservice: Reject extensions in IntroEstablished cells | Nick Mathewson | 2023-08-15 | 1 | -4/+12 | |
| | | | | | | | | | | | | | | | | Intro points must not send these extensions except in response to a request that prompts them. | |||||
| | * | | cell: Add code to iterate over IntroEstablished extensions | Nick Mathewson | 2023-08-15 | 2 | -1/+8 | |
| | | | | ||||||
| | * | | cell, docs: Clarify what we mean by "Unrecognized". | Nick Mathewson | 2023-08-15 | 1 | -2/+3 | |
| | | | | ||||||
| | * | | hsservice: Send extensions in establish_intro msgs. | Nick Mathewson | 2023-08-15 | 1 | -9/+18 | |
| | | | | | | | | | | | | | | | | | | | I had planned to make this code accept extensions of unknown type, but for now I'm backing out of that plan: the set of extensions we send influences the set that we're willing to receive. | |||||
| * | | | Merge branch 'fix-weird-comment' into 'main' | Ian Jackson | 2023-08-16 | 1 | -1/+1 | |
| |\ \ \ | | | | | | | | | | | | | | | | | doc: fix malformatted comment in SliceWriterError See merge request tpo/core/arti!1503 | |||||
| | * | | | doc: fix malformatted comment in SliceWriterError | Emil Engler | 2023-08-14 | 1 | -1/+1 | |
| | | |/ | |/| | ||||||
| * | | | Merge branch 'dangerously_assume_timely' into 'main' | Ian Jackson | 2023-08-16 | 1 | -1/+1 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-cert: actually use dangerously_assume_timely See merge request tpo/core/arti!1497 | |||||
| | * | | | tor-cert: actually use dangerously_assume_timely | Emil Engler | 2023-08-10 | 1 | -1/+1 | |
| | |/ / | | | | | | | | | | | | | | | | This commit makes a trait function use another currently unused trait function, thereby increasing the test coverage, as well as being potentially more correct from a semantic point of view. | |||||
| * | | | Merge branch 'test-expired-certs' into 'main' | Ian Jackson | 2023-08-16 | 1 | -0/+37 | |
| |\ \ \ | | | | | | | | | | | | | | | | | test: provide a test for expired certificates See merge request tpo/core/arti!1496 | |||||
| | * | | | test: provide a test for expired certificates | Emil Engler | 2023-08-10 | 1 | -0/+37 | |
| | |/ / | | | | | | | | | | | | | This commit implements a test for an expired Ed25519 certificate within the `tor_cert` crate. | |||||
| * | | | Merge branch 'coverage-encode' into 'main' | Ian Jackson | 2023-08-16 | 1 | -0/+15 | |
| |\ \ \ | | | | | | | | | | | | | | | | | test: encode unrecognized `tor_cert::CertExt` See merge request tpo/core/arti!1495 | |||||
| | * | | | doc: note unreachable code | Emil Engler | 2023-08-10 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | test: encode unrecognized `tor_cert::CertExt` | Emil Engler | 2023-08-10 | 1 | -0/+14 | |
| | |/ / | | | | | | | | | | | | | This commit introduces a test for unrecognized `tor_cert::CertExt` fields. | |||||
| * | | | keymgr: Write a registry sketch. | Gabriela Moldovan | 2023-08-16 | 1 | -2/+49 | |
| | | | | | | | | | | | | | This comment will form the basis for the protocol name registry. | |||||
| * | | | tor-keymgr: Add sec1 0.7.3 dependency. | Gabriela Moldovan | 2023-08-16 | 1 | -0/+10 | |
| | | | | ||||||
| * | | | tor-keymgr: Re-export ssh-key. | Gabriela Moldovan | 2023-08-16 | 4 | -13/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `KeypairData` type from [ssh-key] at some point leaked into the keymgr API (via the `EncodableKey` trait). Instead of re-exporting just `KeypairData`, let's re-export the entire `ssh_key` crate (`EncodableKey` implementors would need additional types from `ssh_key` to construct a `KeypairData` object anyway). [ssh-key]: https://crates.io/crates/ssh-key | |||||
| * | | | keymgr: Implement as_ssh_keypair_data for curve25519 keys. | Gabriela Moldovan | 2023-08-16 | 1 | -4/+13 | |
| | | | | ||||||
| * | | | keymgr: Import internal! (fmt). | Gabriela Moldovan | 2023-08-16 | 1 | -4/+2 | |
| | | | | ||||||
| * | | | keymgr: Import internal!. | Gabriela Moldovan | 2023-08-16 | 1 | -3/+3 | |
| | | | | ||||||
| * | | | keymgr: Remove unused helper. | Gabriela Moldovan | 2023-08-16 | 1 | -33/+0 | |
| | | | | | | | | | | | | | | | | This helper is no longer needed (the logic from `parse_ssh_format_erased` changed). | |||||
| * | | | tor-keymgr: Test x25519 key parsing. | Gabriela Moldovan | 2023-08-16 | 3 | -0/+44 | |
| | | | | ||||||
