| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | |
|
| |/ / /
| | |
| | |
| | | |
This TODO talks about a change we've decided not to implement.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
lints: Promote clippy::print_stderr and clippy::print_stdout
See merge request tpo/core/arti!1271
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
I prepared 161b9844d against an earlier version of main without the
geoip crate. Run maint/add_warning again.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These are available in our MSRV now, so we don't need to handle
specially. We can just add them to the standard lint block.
(Lint block in every crate will be updated automatically in the next
commit.)
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
keymgr: Make ArtiNativeKeyStore::key_path() return a relative path.
Closes #908
See merge request tpo/core/arti!1267
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
This TODO was addressed in #899
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This also updates `ArtiNativeKeyStore`'s `KeyStore::remove`
implementation to build the absolute path of the file being removed, by
joining `self.keystore_dir` and the relpath returned by
`ArtiNativeKeyStore::key_path()`.
This addresses #908
|
| |/ / / /
| | | |
| | | |
| | | |
| | | | |
Sometimes we need the underlying String (for example to create a
PathBuf).
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
keymgr: Remove Error::NotFound, update KeyMgr, KeyStore APIs.
See merge request tpo/core/arti!1280
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This removes the `NotFound` `tor_keymgr::Error` variant. Since `KeyMgr`
and `KeyStore` users will need to be able to distinguish between "not
found" errors and other I/O errors, this also changes the return types
of the `get()` and `remove()` functions of `KeyStore` and `KeyMgr`,
which now return `Ok(None)` instead of `Error::NotFound`.
This makes the `KeyStore` API consistent with `KeyMgr::get`, which
already has a return type of `Result<Option<K>>` (rather than
`Result<K>`).
This also prepares us for #901, which will make key store errors
opaque. Without this change:
* we'd have to create a `struct NotFoundError;` error type. Its
`HasKind` impl would need to return a new
`ErrorKind::KeyStoreErrorNotFound` `ErrorKind` variant
* callers would have to match the `error_kind()` of the error to
figure out whether the key simply can't be found
(`ErrorKind::KeyStoreErrorNotFound`), or if something went wrong
(any other `ErrorKind`).
Given the above, I think `Result<Option<()>>` makes for a more ergonomic
API.
Part of #901
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
keymgr: Remove unnecessary condition.
See merge request tpo/core/arti!1277
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We don't need to special-case `NotFound` errors because
`ssh_key::PrivateKey::from_openssh` doesn't read from disk (so it
shouldn't be returning `NotFound` errors in the first place).
Previously, this condition made sense because we were using
`ssh_key::PrivateKey::read_openssh_file` instead of
`ssh_key::PrivateKey::from_openssh`, which _does_ read from disk. This
condition should have been removed in !1263 (the refactoring where we
switched to `from_openssh`).
(Also, after #901 is implemented, we probably won't have an
`Error::NotFound` error anymore).
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | |
| | | | |
| | | | | |
keymgr: Remove outdated TODO.
See merge request tpo/core/arti!1278
|
| | | |_|/
| |/| |
| | | |
| | | |
| | | | |
This TODO describes something we're not planning to implement, so let's
just remove it.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Downgrade every "TODO HS" in tor-hsservice
See merge request tpo/core/arti!1265
|
| | | | | |
| | | | |
| | | | |
| | | | | |
These are all service-specific, and not client-specific.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
netdoc: Use derive amplify::Getters for HsDesc accessors.
Closes #909
See merge request tpo/core/arti!1266
|
| | | | | | | |
|
| | |/ / / /
| | | | |
| | | | |
| | | | | |
Closes #909.
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix a rustdoc link.
See merge request tpo/core/arti!1274
|
| | | | | | | |
|
| |\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | | |
Upgrade a couple of dependencies
See merge request tpo/core/arti!1276
|
| | | | | | | |
|
| | | |_|/ /
| |/| | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
arti: return prop304 extended socks5 reply codes for onion services
See merge request tpo/core/arti!1248
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We don't yet return all of them; this commit adds some todo notes
about changes we may need to our ErrorKinds.
Part of #736
|
| | | |/ / /
| |/| | | |
|
| |\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | | |
Create chanmgr() method in TorClient
See merge request tpo/core/arti!1275
|
| | | | | | |
|
| |/ / / / |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
tor-hsclient: Dispose of easy todos and remove many allows
See merge request tpo/core/arti!1272
|
| | | | |
| | | |
| | | |
| | | | |
rustfmt *introduced* this clippy warning.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
For the debug!, we can use the unredacted form. For error!, we use
Sensitive.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Empirically, this does not cause the descriptor to be spat out in
normal operation. And it seems right.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
These were added as part of a debugging #885, and are no longer
needed.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
We want to remove the crate-level dead code allows. The tests are
incomplete and there are multiple todos for that.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
I need to talk to HS expert(s) about when this circuit can be
torn down.
|
| | | | | |
|
| | | | | |
|
| | | |/
| |/|
| | |
| | |
| | | |
For the arms that have a fixed retry time, or a fixed ErrorKind,
dont't bind the unused inner error.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Remove message 'For now, only direct channels are supported' in tor-chanmgr docs
See merge request tpo/core/arti!1273
|