summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | tor-keymgr: Turn a TODO HSS into #1193.Gabriela Moldovan2024-01-101-1/+1
| | |
* | | Merge branch 'keymgr-features' into 'main'Nick Mathewson2024-01-101-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | tor-keymgr: Do not enable tor-error/tor-config's experimental feature. Closes #1180 See merge request tpo/core/arti!1865
| * | tor-keymgr: Do not enable tor-error/tor-config's experimental feature.Gabriela Moldovan2024-01-101-1/+1
| |/ | | | | | | | | | | We don't use any experimental features from tor-error or tor-config. Closes #1180
* | Merge branch 'client-key-specifiers' into 'main'Ian Jackson2024-01-108-58/+37
|\ \ | | | | | | | | | | | | tor-hsclient: Derive the KeySpecifier implementation. See merge request tpo/core/arti!1864
| * | tor-hsclient: Derive the KeySpecifier implementation (fmt).Gabriela Moldovan2024-01-102-8/+14
| | |
| * | tor-hsclient: Derive the KeySpecifier implementation.Gabriela Moldovan2024-01-105-53/+23
| | | | | | | | | | | | | | | | | | | | | | | | This addresses a `TODO HSS` about deriving the `KeySpecifier` implementation for client key specifiers. Note that we no longer have a key specifier type for intro auth keys (which are not supported anyway, see #1037).
| * | tor-keymgr: Implement KeySpecifierComponentViaDisplayFromStr for HsId.Gabriela Moldovan2024-01-101-0/+3
| | | | | | | | | | | | We are about to need this implementation.
| * | tor-keymgr: Fully qualify KeySpecifierPattern in KeySpecifier macro.Gabriela Moldovan2024-01-102-2/+2
| |/ | | | | | | | | | | If you derive `KeySpecifier` and forget to import `KeySpecifierPattern` you get a confusing error. It's better to let the macro import (or fully qualify) the necessary types from tor-keymgr.
* | Merge branch 'publisher-error-todo' into 'main'gabi-2502024-01-101-11/+45
|\ \ | |/ |/| | | | | | | | | tor-hsservice: Fix/downgrade a handful of publisher TODO HSS Closes #1129 See merge request tpo/core/arti!1861
| * tor-hsservice: Rename MaybeFatalError to PublishError.Gabriela Moldovan2024-01-101-4/+4
| |
| * tor-hsservice: Downgrade a TODO HSS related to offline mode.Gabriela Moldovan2024-01-091-2/+3
| |
| * tor-hsservice: Don't return an error if there are no IPTs to publish.Gabriela Moldovan2024-01-091-7/+41
| | | | | | | | | | | | | | Not uploading a descriptor because we suddenly found out there are no IPTs isn't really an error. Part of #1129
| * tor-hsservice: Return a FatalError if the publisher retry task crashes.Gabriela Moldovan2024-01-091-2/+1
| | | | | | | | | | | | | | | | This really should not (and cannot) happen under normal circumstances: the task receiving the value cannot exit before the publisher (unless there's a bug in that code). Part of #1129
* | Merge branch 'hl-todos' into 'main'gabi-2502024-01-105-11/+9
|\ \ | | | | | | | | | | | | Resolve some "TODO HSS" comments in arti, arti-client, tor-hsrproxy. See merge request tpo/core/arti!1862
| * | hsrproxy: downgrade remaining TODO HSS comments.Nick Mathewson2024-01-091-2/+2
| | |
| * | arti_client: Change ephemeral-service TODO HSS comments to #1186.Nick Mathewson2024-01-091-3/+3
| | |
| * | arti-client::client: remove TODO HSS that is no longer true.Nick Mathewson2024-01-091-2/+0
| | |
| * | arti-client::config: Turn a TODO HSS into #1185.Nick Mathewson2024-01-091-1/+1
| | |
| * | arti::lib: Downgrade "TODO HSS" commentsNick Mathewson2024-01-091-2/+2
| | | | | | | | | | | | These are not "must fix before releasing onion services".
| * | arti::cfg: Turn a TODO HSS into a ticket.Nick Mathewson2024-01-091-1/+1
| |/
* | Upgrade to latest serial_testNick Mathewson2024-01-091-1/+1
| |
* | Bump to latest erased-serde.Nick Mathewson2024-01-092-2/+2
|/
* Remove pending semver entriesarti-v1.1.12Nick Mathewson2024-01-097-9/+0
|
* Followup patchlevel bumpsNick Mathewson2024-01-0910-11/+11
|
* Followup minor version bumps.Nick Mathewson2024-01-0915-15/+15
| | | | | | | | These crates had no changes previously, but they depend on crates that had breaking changes themselves. tor-linkspec tor-hspow
* Patchlevel version bumps in preparation for 1.1.12.Nick Mathewson2024-01-0933-68/+68
| | | | | | | | | | | | | This crate doesn't have a meaningful public API, so it just gets a patchlevel bump: arti These crates had nonbreaking changes, and get a patchlevel bump: tor-rtcompat fs-mistrust tor-llcrypto tor-cert
* Breaking version bumps in preparation for 1.1.12.Nick Mathewson2024-01-0935-202/+202
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates have breaking changes on their own: tor-error tor-netdoc tor-dirmgr tor-keymgr Because of the breaking change in tor-error, and the fact that basically every crate publicly depends on tor-error (by implementing ErrorKind), we need to call this a breaking change on all of the following: tor-config tor-geoip tor-rtmock tor-log-ratelim tor-rpcbase tor-bytes tor-hscrypto tor-socksproto tor-cell tor-proto tor-netdoc tor-netdir tor-persist tor-chanmgr tor-ptmgr tor-guardmgr tor-circmgr tor-dirclient tor-dirmgr tor-keymgr tor-hsclient tor-hsservice tor-hsrproxy arti-client arti-rpcserver arti-config arti-hyper arti-testing
* Merge branch 'fixup-features-20240108' into 'main'Nick Mathewson2024-01-095-6/+7
|\ | | | | | | | | Run fixup-features in preparation for release, and clean its output. See merge request tpo/core/arti!1856
| * Mark tor-keymgr/testing feature as experimental.Nick Mathewson2024-01-081-3/+2
| |
| * Run "fixup-features" in preparation for release.Nick Mathewson2024-01-085-4/+6
| |
* | Merge branch 'public-dir-mgr-config' into 'main'Ian Jackson2024-01-093-3/+4
|\ \ | | | | | | | | | | | | | | | | | | dirmgr: Make the `dir_mgr_config` method public Closes #1175 See merge request tpo/core/arti!1847
| * | dirmgr: Make the `dir_mgr_config` method publicEmil Engler2024-01-093-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the `dir_mgr_config` method of the `TorClientConfig` struct public. It might be questionable whether we should make this function public or switch to a `TryInto` trait in general, which also seems like an even Rustier solution Rustier solution. Fixes #1175
* | | Fix typosDimitris Apostolou2024-01-0817-21/+21
| |/ |/|
* | Merge branch 'keyspec' into 'main'Ian Jackson2024-01-087-363/+773
|\ \ | | | | | | | | | | | | | | | | | | KeySpecifier improvements Closes #1126, #1147, and #1151 See merge request tpo/core/arti!1851
| * | tor-keymgr: KeySpecifierPattern: fix grammarIan Jackson2024-01-081-1/+1
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1851#note_2981473
| * | tor-keymgr: KeySpecifierPattern: fix docsIan Jackson2024-01-081-3/+3
| | | | | | | | | | | | | | | | | | | | | Swap the docs for new_any and arti_pattern to the right methods! As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1851#note_2981475
| * | tor-keymgr: Fix typosgabi-2502024-01-082-4/+4
| | |
| * | KeySpecifier etc: apply deferred rustfmt import churnIan Jackson2024-01-042-2/+2
| | |
| * | KeyPathInfo: Add role fieldIan Jackson2024-01-042-2/+27
| | | | | | | | | | | | This *is* the spec name.
| * | KeySpecifier d-a macro: Populate extra_infoIan Jackson2024-01-042-2/+20
| | | | | | | | | | | | Finishes arti#1151 item 10.
| * | KeySpecifier d-a macro: Use dyn for describingIan Jackson2024-01-042-24/+75
| | | | | | | | | | | | This also passes the information we'll need to populate extra_info.
| * | KeySpecifier d-a macro: Add a test for describingIan Jackson2024-01-041-0/+16
| | |
| * | KeySpecifier d-a macro: Mnaully wrap two long linesIan Jackson2024-01-041-2/+6
| | |
| * | KeySpecifier d-a macro: Use doc-hidden re-exportsIan Jackson2024-01-042-9/+7
| | |
| * | KeySpecifier d-a macro: Name result by whole pathIan Jackson2024-01-041-2/+2
| | | | | | | | | | | | This will make the macro work if call sites rebind Result.
| * | KeySpecifier d-a macro: Use derive-adhoc's pasting featureIan Jackson2024-01-041-6/+4
| | | | | | | | | | | | | | | The KeyInfoExtractor impl is still misindented but we'll change that when we replace it.
| * | KeySpecifier d-a macro: Use dyn for parsingIan Jackson2024-01-041-91/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now the only place that knows how to do all this is the one place in the macro. The indentation is -4 compared to previously, because we're going to remove the wrapping with paste::paste! later. It's convenient to do this reindent now, while we're rewriting it. arti#1151 item 5.
| * | KeyPathError::PatternNotMatched: Remove pattern from errorIan Jackson2024-01-042-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | This can only happen if we tried to parse an ArtiPath as the wrong kind of KeySpecifier, which shouldn't happen very often. If it does, the pattern isn't that interesting. Which is just as well, since we're about to make it a bit harder to obtain it in the place where this error is going to be constructed.
| * | KeySpecifier d-a macro: Do not produce fn new()Ian Jackson2024-01-042-20/+7
| | | | | | | | | | | | | | | | | | Where we wanted this, use derive_more::Constructor isntead. arti#1151 item 6.
| * | KeySpecifier d-a macro: Say what we produce, in the docsIan Jackson2024-01-041-1/+17
| | |