summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | tor-netdoc: Update outdated doc string.Gabriela Moldovan2023-10-251-1/+1
| | |
| * | tor-netdoc: Building a descriptor now only requires the public part of ↵Gabriela Moldovan2023-10-253-9/+12
| | | | | | | | | | | | blinded_id.
| * | tor-netdoc: Remove now-unused blinded_id field.Gabriela Moldovan2023-10-252-7/+0
| | |
| * | tor-netdoc: Update HsDesc, HsDescOuter to accept the hs_desc_sign cert as an ↵Gabriela Moldovan2023-10-254-24/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | argument. This will enable us to (eventually) the load the descriptor signing key cert from the keystore (as opposed to always recomputing it when building the `HsDesc`). Part of #1048
| * | tor-netdoc: Add helper function for computing the descriptor signing key cert.Gabriela Moldovan2023-10-254-15/+35
|/ /
* | Merge branch 'todo-hss-misc' into 'main'Alexander Færøy2023-10-258-55/+30
|\ \ | | | | | | | | | | | | Resolve some simpler TODO HSS items. See merge request tpo/core/arti!1701
| * | hss: remove some more now-moot "allows".Nick Mathewson2023-10-242-4/+0
| | |
| * | hss::svc::publish: Remove a no-longer-needed TODO HSS.Nick Mathewson2023-10-241-3/+0
| | |
| * | hss::svc::publish: Resolve previously suppressed warnings.Nick Mathewson2023-10-243-13/+8
| | |
| * | hss::svc::ipt_establish: Include nickname in messages.Nick Mathewson2023-10-241-2/+4
| | |
| * | hss::svc::ipt_establish: Resolve suppressed warnings.Nick Mathewson2023-10-242-16/+12
| | |
| * | hsserive::req: Yes, leave these functions as async and fallible.Nick Mathewson2023-10-241-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enough of them have turned out to need to be async so far that I don't think it's a great idea to commit to making any of them not-async forever. Additionally, we've written the code that uses these, and having them be async didn't seem to cause any major trouble. By the same "we may want to make these more complicated underneath" argument, we should IMO leave them as fallible.
| * | hsserive::req: Lower/remove allowed warningsNick Mathewson2023-10-241-2/+1
| | |
| * | hss: Remove an unused type.Nick Mathewson2023-10-241-7/+0
| | |
* | | Merge branch 'ticket1078' into 'main'gabi-2502023-10-242-2/+26
|\ \ \ | |/ / |/| | | | | | | | | | | | | | ithsclient: Rename get_or_launch{connection => circuit} Closes #1078 See merge request tpo/core/arti!1700
| * | hsclient: Rename get_or_launch{connection => circuit}Nick Mathewson2023-10-242-2/+26
|/ / | | | | | | Closes #1078.
* | Merge branch 'keymgr-svc-fixes' into 'main'gabi-2502023-10-249-118/+174
|\ \ | | | | | | | | | | | | tor-keymgr, tor-netdoc, tor-dirclient, tor-hsservice: Fix issues preventing the svc from running See merge request tpo/core/arti!1695
| * | tor-keymgr: Use a macro to declare the KeyType enum (fmt).Gabriela Moldovan2023-10-241-46/+46
| | |
| * | tor-keymgr: Use a macro to declare the KeyType enum.Gabriela Moldovan2023-10-241-40/+62
| | | | | | | | | | | | | | | The bad identation is there to make reviewing the diff easier (the macro will be reindented in a future commit).
| * | tor-keymgr: Stop open-coding range operations.Gabriela Moldovan2023-10-241-6/+1
| | |
| * | tor-dirclient, tor-netdoc: Add TODO SPECs.Gabriela Moldovan2023-10-242-0/+4
| | |
| * | tor-dirclient: Always set the Content-Length header (fmt).Gabriela Moldovan2023-10-241-1/+4
| | |
| * | tor-dirclient: Always set the Content-Length header.Gabriela Moldovan2023-10-242-19/+12
| | |
| * | tor-hsservice: Look up the keypair, not the public key.Gabriela Moldovan2023-10-241-5/+5
| | | | | | | | | | | | | | | This particular public key is not stored in the keystore (though maybe it should be).
| * | tor-keymgr: Rename key_stores to secondary_stores for clarity.Gabriela Moldovan2023-10-241-8/+8
| | | | | | | | | | | | | | | | | | The name `key_stores` was a bit misleading, as this field only contains the _secondary_ key stores (the primary/default key store is stored in a separate field).
| * | tor-keymgr: list() should include the keys from the default key store.Gabriela Moldovan2023-10-241-2/+1
| | | | | | | | | | | | | | | `KeyMgr::list()` was supposed to look in _all_ key stores, not just the secondary ones.
| * | tor-keymgr: Fix broken glob pattern.Gabriela Moldovan2023-10-241-1/+1
| | | | | | | | | | | | | | | | | | The pattern was only supposed to match the 3 components of the time period, separated by `_`, but not the leading `_`, which separates the key name from its denotators.
| * | tor-keymgr: Remove now-outdated TODO HSS.Gabriela Moldovan2023-10-241-9/+0
| | | | | | | | | | | | Key file extensions now have `_private`/`_public` suffixes again.
| * | tor-keymgr: Add TODO explaining why we're not using strum.Gabriela Moldovan2023-10-241-0/+7
| | |
| * | tor-keymgr: Use the right extension for expanded ed25519 keys.Gabriela Moldovan2023-10-241-1/+1
| | | | | | | | | | | | | | | | | | This line was out of sync with `KeyType::arti_extension`, which uses `ed25519_expanded_private` as the extension (and not `ed25519_expanded`).
| * | tor-keymgr: Fix substring bounds check.Gabriela Moldovan2023-10-241-1/+16
| | | | | | | | | | | | The upper limit is exclusive, so this condition was off by one.
| * | tor-hsservice: Make publisher trace! logs less noisy.Gabriela Moldovan2023-10-241-5/+8
| | | | | | | | | | | | | | | | | | We don't need to be logging the entire descriptor for each upload attempt (logging descriptors immediately after they are generated should be sufficient).
| * | tor-hsservice: Fix misleading trace! log.Gabriela Moldovan2023-10-241-2/+3
| | | | | | | | | | | | | | | | | | The message is supposed to print how many HSDirs the descriptor was uploaded to (previously it was showing the `<success_count>/<failure_count>` which is pretty unintuitive).
| * | tor-hsservice: Consistently use structured fields to log the nickname/HSDir.Gabriela Moldovan2023-10-241-2/+2
| | |
| * | tor-hsservice: Add another debug! for the publisher.Gabriela Moldovan2023-10-241-1/+8
| | |
| * | tor-netdoc: Use an unpadded base64 encoding for the signature.Gabriela Moldovan2023-10-241-3/+3
| | | | | | | | | | | | This is what the C Tor HsDirs want.
| * | tor-dirclient: Add a Content-Length header (fmt).Gabriela Moldovan2023-10-241-1/+3
| | |
| * | tor-dirclient: Add a Content-Length header.Gabriela Moldovan2023-10-241-2/+16
|/ /
* | Merge branch 'bump-ahash' into 'main'Ian Jackson2023-10-241-2/+23
|\ \ | |/ |/| | | | | Bump ahash to 0.8.5. See merge request tpo/core/arti!1699
| * Bump ahash to 0.8.5.Gabriela Moldovan2023-10-241-2/+23
|/ | | | | | | `ahash 0.8.3` has been [yanked], which is causing the cargo audit job to fail. [yanked]: https://github.com/tkaitchuck/aHash/wiki/Yanked-versions
* Merge branch 'netdoc-time-formats' into 'main'Ian Jackson2023-10-235-22/+78
|\ | | | | | | | | Netdoc time formats (Arti:751) See merge request tpo/core/arti!1693
| * Fix unresolved reference in documentationhalcyon2023-10-231-1/+2
| |
| * Remove deprecated ItemArgument impl for SystemTimehalcyon2023-10-231-27/+1
| |
| * Cleanup fmt_with doc comment after merge discussionhalcyon2023-10-231-2/+4
| |
| * Remove todo, std::fmt::Error doesnt allow for information transitionhalcyon2023-10-221-2/+0
| |
| * Handle time formatting through Time crate rather than string allocationshalcyon2023-10-202-17/+19
| |
| * Fix unresolved link warninghalcyon2023-10-201-1/+1
| |
| * Add Test for different Netdoc ItemArgument time formatshalcyon2023-10-201-0/+29
| |
| * Implement Netdoc ItemArgument for Iso8601TimeNoSp and Iso8601TimeSphalcyon2023-10-201-2/+15
| |
| * Implement Display for Iso8601TimeNoSp and Iso8601TimeSphalcyon2023-10-201-0/+38
| |