| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | Deduplicate ClientTransportFailed and ServerTransportFailed | Saksham Mittal | 2023-09-11 | 1 | -22/+11 | |
| | | | | | ||||||
| | * | | | Import sealed module to avoid syntactic vinegar | Saksham Mittal | 2023-09-11 | 1 | -14/+15 | |
| | | | | | ||||||
| * | | | | Merge branch 'desc-publisher-uploads' into 'main' | Ian Jackson | 2023-09-14 | 4 | -102/+329 | |
| |\ \ \ \ | | |/ / | |/| | | | | | | | | | | tor-hsservice: Don't block the reactor on the descriptor uploads. See merge request tpo/core/arti!1580 | |||||
| | * | | | tor-hsservice: Add some TODOs for the publisher. | Gabriela Moldovan | 2023-09-12 | 1 | -0/+17 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Set the size for the upload_task_complete channel to 0. | Gabriela Moldovan | 2023-09-12 | 1 | -3/+5 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Use mpsc channels instead of async-broadcast (fmt). | Gabriela Moldovan | 2023-09-12 | 1 | -15/+19 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Use mpsc channels instead of async-broadcast. | Gabriela Moldovan | 2023-09-12 | 3 | -31/+39 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Make schedule_pending_upload take &mut self. | Gabriela Moldovan | 2023-09-12 | 1 | -16/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | We're going to need this when we switch from async-broadcast channels to mpsc channels, because the sending/receiving from the channel will require mutably borrowing the senders/receivers. | |||||
| | * | | | tor-hsservice: Require Mockable to impl Clone. | Gabriela Moldovan | 2023-09-12 | 1 | -1/+2 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Reformat handle_upload_results docs. | Gabriela Moldovan | 2023-09-12 | 1 | -1/+2 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Replace SystemTime::now() with runtime.now(). | Gabriela Moldovan | 2023-09-12 | 1 | -7/+5 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Remove the TODOs that have been addressed. | Gabriela Moldovan | 2023-09-07 | 1 | -16/+0 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Tell the reactor about the status of the descriptor upload task. | Gabriela Moldovan | 2023-09-07 | 1 | -1/+13 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Don't block the reactor on the descriptor uploads (fmt). | Gabriela Moldovan | 2023-09-07 | 1 | -24/+38 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Don't block the reactor on the descriptor uploads. | Gabriela Moldovan | 2023-09-07 | 2 | -53/+92 | |
| | | | | | | | | | | | | | | | | | | | | | Instead of blocking the main loop until all pending uploads complete, the reactor now spawns an upload task for each relevant time period. | |||||
| | * | | | tor-hsservice: Handle upload completion events. | Gabriela Moldovan | 2023-09-07 | 1 | -0/+14 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Add handler for descriptor upload results. | Gabriela Moldovan | 2023-09-07 | 1 | -0/+44 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Add some types for representing upload results. | Gabriela Moldovan | 2023-09-07 | 1 | -0/+39 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Run descriptor uploads in parallel instead of sequentially (fmt). | Gabriela Moldovan | 2023-09-07 | 1 | -17/+22 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Run descriptor uploads in parallel instead of sequentially. | Gabriela Moldovan | 2023-09-07 | 1 | -5/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each time period, the publisher now parallelizes the descriptor uploads. Note that the upload batches for each time period still execute sequentially (rather than in parallel), and that the reactor loop is still blocked until the uploads complete. These limitations will be addressed in a future commit. | |||||
| | * | | | tor-hsservice: Increment the revision counter when generating a new descriptor. | Gabriela Moldovan | 2023-09-07 | 1 | -2/+26 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Move the revision counter out of Descriptor. | Gabriela Moldovan | 2023-09-07 | 2 | -5/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `Descriptor` struct is meant to contain TP-agnostic data, (such as the intro points or client authorization info), and the revision counter is going to be different for each TP as per rend-spec-v3: Implementations MAY generate revision counters in any way they please, so long as they are monotonically increasing over the lifetime of each blinded public key. (the blinded public key changes with the time period) | |||||
| | * | | | tor-hsservice: Remove unused publisher reactor function. | Gabriela Moldovan | 2023-09-07 | 1 | -5/+0 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Remove unnecessary allow annotations. | Gabriela Moldovan | 2023-09-07 | 1 | -2/+0 | |
| | | | | | ||||||
| | * | | | tor-hsservice: Use existing postage::watch import. | Gabriela Moldovan | 2023-09-07 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Merge branch 'locked' into 'main' | Ian Jackson | 2023-09-14 | 1 | -2/+6 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | CI: Use cargo install --locked See merge request tpo/core/arti!1587 | |||||
| | * | | | | CI: Force refresh of all "cargo install" | Ian Jackson | 2023-09-11 | 1 | -1/+5 | |
| | | | | | | ||||||
| | * | | | | CI: Use cargo install --locked | Ian Jackson | 2023-09-11 | 1 | -1/+1 | |
| | | |/ / | |/| | | | | | | | | | | Unaccountably, this isn't the default. | |||||
| * | | | | Merge branch 'script' into 'main' | Alexander Færøy | 2023-09-14 | 1 | -2/+4 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | maint/downgrade_dependencies: Honour $CARGO See merge request tpo/core/arti!1596 | |||||
| | * | | | | maint/downgrade_dependencies: Honour $CARGO | Ian Jackson | 2023-09-14 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | This let me run it with my privsep setup. | |||||
| * | | | | | Merge branch 'keymgr-paths' into 'main' | gabi-250 | 2023-09-14 | 1 | -0/+15 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | dev docs: Document the `ArtiPath`s recognized by the key manager. See merge request tpo/core/arti!1586 | |||||
| | * | | | | | dev docs: Document the `ArtiPath`s recognized by the key manager. | Gabriela Moldovan | 2023-09-14 | 1 | -0/+15 | |
| |/ / / / / | ||||||
| * | | | | | Merge branch 'mock-output' into 'main' | Ian Jackson | 2023-09-14 | 1 | -4/+17 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | tor-rtmock: task backtraces: Fix output re backtrace multiplicity See merge request tpo/core/arti!1595 | |||||
| | * | | | | | tor-rtmock: task backtraces: Expand on spurious backtraces | Ian Jackson | 2023-09-13 | 1 | -2/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | There's another reason you can see multiple backtraces. | |||||
| | * | | | | | tor-rtmock: task backtraces: Fix output re backtrace multiplicity | Ian Jackson | 2023-09-13 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There may be several backtraces for an asleep task. If so, print the prefix for each one. There may be no backtraces for an asleep task. If so, print a message. | |||||
| * | | | | | | Merge branch 'keymgr-fixes' into 'main' | Ian Jackson | 2023-09-14 | 4 | -8/+8 | |
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tor-keymgr: Remove redundant _private suffix from key extension. See merge request tpo/core/arti!1589 | |||||
| | * | | | | | | tor-keymgr: Fix typo in key names. | Gabriela Moldovan | 2023-09-12 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The secret keys are prefixed with `KS`, not `KP`. | |||||
| | * | | | | | | tor-keymgr: Remove redundant _private suffix from key extension. | Gabriela Moldovan | 2023-09-12 | 3 | -4/+4 | |
| | | |/ / / / | |/| | | | | | | | | | | | | | | | | The privateness of the keys is encoded in their name. | |||||
| * | | | | | | Merge branch 'mock-backtrace' into 'main' | Ian Jackson | 2023-09-13 | 4 | -19/+310 | |
| |\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | tor-rtmock: task: Print backtraces showing where tasks are sleeping See merge request tpo/core/arti!1591 | |||||
| | * | | | | | tor-rtmock: task: Add missing doc comment | Ian Jackson | 2023-09-13 | 1 | -1/+3 | |
| | | | | | | | ||||||
| | * | | | | | tor-rtmock: task: Add warning about backtrace salience | Ian Jackson | 2023-09-13 | 1 | -2/+34 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | With explanation of how it works. | |||||
| | * | | | | | tor-rtmock: task: Add backtrace dumping calls | Ian Jackson | 2023-09-13 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do a full dump, not just a normal Debug dump, when we're panicking in progress_until_stalled. Add a debug dump call to one of the tests, so we can see it working. | |||||
| | * | | | | | tor-rtmock: task: Add API for printing dumps including backtraces | Ian Jackson | 2023-09-13 | 4 | -3/+80 | |
| | | | | | | | ||||||
| | * | | | | | tor-rtmock: task: Capture sleep backtraces, with code to dump | Ian Jackson | 2023-09-13 | 3 | -4/+77 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently nothing actually calls the dumping code. | |||||
| | * | | | | | tor-rtmock: task: Prepare for ActualWaker::clone taking the data lock | Ian Jackson | 2023-09-13 | 1 | -4/+28 | |
| | | | | | | | ||||||
| | * | | | | | tor-rtmock: task: Switch to unsafe RawWaker approach | Ian Jackson | 2023-09-13 | 1 | -5/+83 | |
| | | | | | | | ||||||
| | * | | | | | tor-rtmock: task: Add space in data for sleep backtraces | Ian Jackson | 2023-09-13 | 1 | -5/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently this is just (). | |||||
| | * | | | | | tor-rtmock: task: Disable traced_test under miri | Ian Jackson | 2023-09-13 | 1 | -2/+4 | |
| | |/ / / / | | | | | | | | | | | | | | | | The tests still run, just without the trace output. | |||||
| * | | | | | Merge branch 'warning' into 'main' | gabi-250 | 2023-09-13 | 1 | -0/+1 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | tor-proto: Add a missing cfg See merge request tpo/core/arti!1593 | |||||
| | * | | | | | tor-proto: Add a missing cfg | Ian Jackson | 2023-09-13 | 1 | -0/+1 | |
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | Fixes cargo clippy -p tor-hsclient --all-features --all-targets | |||||
