aboutsummaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'unpublishing' into 'main'Ian Jackson2023-07-053-0/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Mark several crates with `publish=false`. Closes #944 See merge request tpo/core/arti!1371
| * | Mark arti-bench with "publish = false"Nick Mathewson2023-07-031-0/+4
| | | | | | | | | | | | | | | This crate is only useful for development; earlier we published it, but I believe that was in error.
| * | Mark vestigial crates as "publish=false"Nick Mathewson2023-07-032-0/+6
| |/ | | | | | | | | | | | | These crates were started, but they aren't integrated into Arti (yet?). As such it doesn't make sense to keep publishing updated versions of them every time we tweak our standard lints.
* | Additional documentation around bridges/PT configurationNick Mathewson2023-07-034-7/+43
| | | | | | | | | | | | | | This tries to flesh out some of the details for users who may be new to bridges and PTs. Closes #706.
* | Finish a sentence in the documentation for TorClient::netdir()Nick Mathewson2023-07-031-1/+2
|/
* Remove semver.md files for 1.1.6Nick Mathewson2023-06-3012-17/+0
|
* keymgr: Fix broken doc link.Gabriela Moldovan2023-06-301-2/+2
|
* Bump patchlevel versions on crates with smaller changesNick Mathewson2023-06-3034-167/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with the commands below. The following crates have had various changes, and should get a patchlevel bump. Since they are pre-1.0, we do not need to distinguish new APIs from other changes. ``` cargo set-version --bump patch -p arti-client cargo set-version --bump patch -p safelog cargo set-version --bump patch -p tor-bytes cargo set-version --bump patch -p tor-cert cargo set-version --bump patch -p tor-circmgr cargo set-version --bump patch -p tor-config cargo set-version --bump patch -p tor-consdiff cargo set-version --bump patch -p tor-dirclient cargo set-version --bump patch -p tor-dirmgr cargo set-version --bump patch -p tor-error cargo set-version --bump patch -p tor-hsservice cargo set-version --bump patch -p tor-linkspec cargo set-version --bump patch -p tor-llcrypto cargo set-version --bump patch -p tor-netdir cargo set-version --bump patch -p tor-netdoc cargo set-version --bump patch -p tor-proto cargo set-version --bump patch -p tor-rpcbase cargo set-version --bump patch -p tor-socksproto ``` This crate has new features, but no new non-experimental Rust APIs. So even though it is post-1.0, it gets a patchlevel bump. ``` cargo set-version --bump patch -p arti ```
* Bump minor versions on crates with breaking changesNick Mathewson2023-06-3014-21/+21
| | | | | | | | | | Done with: ``` cargo set-version --bump minor -p tor-hsclient cargo set-version --bump minor -p arti-rpcserver cargo set-version --bump minor -p tor-hscrypto cargo set-version --bump minor -p tor-cell ```
* Bump versions on crates with nonfunctional changesNick Mathewson2023-06-3021-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These crates have had nonfunctional changes only, mostly due to !1271, or ac90cb7500f2f108, or documentation changes: crates that depend on them do not require a version bump. ``` arti-bench arti-config arti-hyper arti-testing caret fs-mistrust retry-error tor-async-utils tor-basic-utils tor-chanmgr tor-checkable tor-congestion tor-consdiff tor-events tor-guardmgr tor-persist tor-protover tor-ptmgr tor-rtcompat tor-rtmock tor-units ```
* Merge branch 'arti-path-bug' into 'main'gabi-2502023-06-302-10/+23
|\ | | | | | | | | keymgr: Allow periods in ArtiPath and ArtiPathComponent. See merge request tpo/core/arti!1358
| * keystore: Change the dummy HsClientSpecifier to "default".Gabriela Moldovan2023-06-301-1/+1
| |
| * keymgr: Update ArtiPath and ArtiPathComponent docs.Gabriela Moldovan2023-06-301-2/+2
| | | | | | | | | | The docs were lying, we actually support UTF-8 paths (though we might later decide to restrict the charset further).
| * keymgr: Allow periods in ArtiPath and ArtiPathComponent.Gabriela Moldovan2023-06-301-9/+22
| | | | | | | | | | | | | | The `ArtiPath` of a client auth key contains the `HsId` of the onion Since the `HsId` contains a `.onion` component, let's allow `.` for now. In the future, we may want to update the code (and keystore structure) to strip away the `.onion` part before building the `ArtiPath`.
* | Merge branch 'keymgr-docs' into 'main'Ian Jackson2023-06-302-3/+3
|\ \ | |/ |/| | | | | keymgr: Downgrade "TODO hs" to "TODO HSS" See merge request tpo/core/arti!1360
| * keymgr: Downgrade "TODO hs" to "TODO HSS"Gabriela Moldovan2023-06-302-3/+3
| | | | | | | | This TODO doesn't need to block the release.
* | Merge branch 'fix-unfortunate-merge-outcome' into 'main'Ian Jackson2023-06-301-1/+1
|\| | | | | | | | | arti-client: Rename KeyStore to Keystore. See merge request tpo/core/arti!1359
| * arti-client: Rename KeyStore to Keystore.Gabriela Moldovan2023-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | `KeyStore` was renamed to `Keystore` globally in !1355. This fixes a compile error caused an unfortunate series of non-conflicting (from git's POV) but incompatible merges: * !1356 added a line threferencing an error variant that capitalizes the "s" in "KeyStore" (`ErrorDetail::KeyStore`) * !1356 landed just before !1355 (the global renaming). Since there was no conflict between the 2, we're now in a state where the code added in !1356 is referencing an `ErrorDetail` variant that no longer exists.
* | Merge branch 'docsrs-fix' into 'main'Ian Jackson2023-06-301-0/+1
|\ \ | | | | | | | | | | | | Add a missing "experimental-api" rustdoc notation See merge request tpo/core/arti!1353
| * | Add a missing "experimental-api" rustdoc notationNick Mathewson2023-06-291-0/+1
| | |
* | | Merge branch 'fixup-features' into 'main'Ian Jackson2023-06-308-7/+15
|\ \ \ | |_|/ |/| | | | | | | | Run fixup-features on current `main` See merge request tpo/core/arti!1352
| * | Resolve XXXs from fixup-features.Nick Mathewson2023-06-295-11/+5
| | | | | | | | | | | | | | | Some of these seem spurious: it looks like fixup-features resolved an issue and then complained about it too. I'll investigate further.
| * | Run "cargo sort".Nick Mathewson2023-06-292-2/+0
| | |
| * | Run "fixup-features".Nick Mathewson2023-06-298-7/+23
| |/
* | Merge branch 'keymgr-naming' into 'main'Alexander Færøy2023-06-3010-42/+42
|\ \ | | | | | | | | | | | | keymgr: Rename KeyStore to Keystore globally. See merge request tpo/core/arti!1355
| * | keymgr: Rename KeyStore to Keystore globally.Gabriela Moldovan2023-06-2910-42/+42
| |/ | | | | | | | | We've been capitalizing the "s" in "KeyStore" inconsistently. This `s/KeyStore/Keystore/g` across the codebase.
* / keymgr: Fix another infinite loop around Keymgr error handling.Gabriela Moldovan2023-06-291-1/+1
|/ | | | This `From` impl was just calling itself recursively...
* Merge branch 'rustdoc_fix' into 'main'Nick Mathewson2023-06-291-1/+1
|\ | | | | | | | | Fix a rustdoc link. See merge request tpo/core/arti!1351
| * Fix a rustdoc link.Nick Mathewson2023-06-291-1/+1
| |
* | Merge branch 'exp' into 'main'Ian Jackson2023-06-292-1/+4
|\ \ | | | | | | | | | | | | tor-error: Make KeystoreFsPermissions experimental for now See merge request tpo/core/arti!1350
| * | tor-error: Make KeystoreFsPermissions experimental for nowIan Jackson2023-06-291-0/+3
| | | | | | | | | | | | Let's defer this decision.
| * | tor-keymgr: When keymgr enabled, enable tor-error's experimental tooIan Jackson2023-06-291-1/+1
| | |
* | | Merge branch 'validate-client-spec' into 'main'Ian Jackson2023-06-295-28/+153
|\ \ \ | | | | | | | | | | | | | | | | keymgr: Validate ArtiPaths, replace HsClientSpecifier with generic ArtiPathComponent See merge request tpo/core/arti!1262
| * | | Run rustfmtIan Jackson2023-06-291-3/+2
| | | |
| * | | keymgr: Remove unstable ErrorKind, use internal! for ArtiPath errors.Gabriela Moldovan2023-06-293-29/+8
| | | |
| * | | keymgr: Validate the individual ArtiPahtComponents of ArtiPath.Gabriela Moldovan2023-06-291-37/+25
| | | | | | | | | | | | | | | | | | | | This also implicitly forbids leading and trailing slashes in an `ArtiPath`.
| * | | keymgr: Rephrase ArtiPath docs.Gabriela Moldovan2023-06-291-14/+5
| | | | | | | | | | | | | | | | This updates the docs with Diziet's suggested doc improvements.
| * | | keymgr: Remove ArtiPath normalization, introduce additional restrictions.Gabriela Moldovan2023-06-292-45/+46
| | | |
| * | | keymgr: Document how ArtiPath validation is actually supposed to work.Gabriela Moldovan2023-06-291-7/+11
| | | |
| * | | keymgr: Move validation requirements to the ArtiPath docs.Gabriela Moldovan2023-06-291-12/+15
| | | |
| * | | keymgr: Make ArtiPath platform-independent by always using '/' as a separator.Gabriela Moldovan2023-06-291-10/+10
| | | |
| * | | hsclient: Make HsClientSpecifier a newtype instead of a type alias.Gabriela Moldovan2023-06-291-1/+11
| | | |
| * | | keymgr: Add tests for ArtiPath validation.Gabriela Moldovan2023-06-291-0/+90
| | | |
| * | | keymgr: Validate ArtiPath and ArtiPathComponent.Gabriela Moldovan2023-06-291-12/+45
| | | |
| * | | keymgr: Derive Into for ArtiPath and ArtiPathComponent.Gabriela Moldovan2023-06-291-1/+3
| | | |
| * | | keymgr: Define an error type for bad `ArtiPathComponents`.Gabriela Moldovan2023-06-294-14/+29
| | | |
| * | | arti-client, hsclient: Typealias HsClientSpecifier to ArtiPathComponent.Gabriela Moldovan2023-06-292-26/+14
| | | | | | | | | | | | | | | | `ArtiPathComponent` is a more generic version of `HsClientSpecifier`.
| * | | keymgr: Derive Display for ArtiPath and ArtiPathComponent.Gabriela Moldovan2023-06-291-3/+4
| | | |
| * | | keymgr: Define `ArtiPathComponent`.Gabriela Moldovan2023-06-292-1/+22
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | An `ArtiPathComponent` is a substring of an `ArtiPath`. An `ArtiPathComponent` will be validated according to the same rules as `ArtiPath`. In the future we can replace `HsClientSpecifier` with `ArtiPathComponent` (they both serve the same purpose except `ArtiPathComponent` is more generic).
* | | Merge branch 'keymgr-config' into 'main'gabi-2502023-06-296-9/+196
|\ \ \ | | | | | | | | | | | | | | | | arti-client: Add keystore_dir to StorageConfig. See merge request tpo/core/arti!1312