| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |_|/ /
| |/| | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
| | | | | |
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Followups wrt country-code robustness
See merge request tpo/core/arti!1268
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
(There are plenty of strings that convert into 2 bytes of UTF8
without being two ascii characters, and there are plenty of
sequences of two ascii characters that aren't printable.)
|
| | | | |
| | | |
| | | |
| | | | |
We want to make sure that ?? is always None, never a CountryCode.
|
| |\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
Bump openssl because RUSTSEC-2023-0044
See merge request tpo/core/arti!1270
|
| |/ / / |
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
keymgr: Move FS operations out of KeyType impl
See merge request tpo/core/arti!1263
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
keystore.
|
| | | |
| | |
| | |
| | |
| | |
| | | |
The functions that handle OpenSSH-formatted keys now no longer read or
write from disk. This commit updates their names and doc strings to stop
suggesting they do.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
This moves the filesystem calls from the `ssh` module to
`ArtiNativeKeyStore`. While `ArtiNativeKeyStore` shouldn't be concerning
itself with filesystem operations either, that refactoring will be
tackled separately (see arti#899).
|
| | | | |
|
| | |/ |
|
| |\ \
| |/
|/|
| |
| | |
tor-geoip: Add new crate with GeoIP database functionality
See merge request tpo/core/arti!1239
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- This adds a new crate, `tor-geoip`, which can parse and perform
lookups in the GeoIP database C-tor already uses (generated by a
maintenance utility in the C-tor codebase).
- We embed a copy of C-tor's databases with the crate and use
`include_str!` to ship them with the binary, bloating its size
somewhat.
- This does, however, solve the problem of figuring out how to
distribute these.
- The plan is to gate this functionality behind a feature flag anyway,
so the cost should be nil unless explicitly opted into.
Part of tpo/core/onionmasq#47.
|
| |\ \
| | |
| | |
| | |
| | | |
keymgr: Change "TODO hs" to "TODO HSS".
See merge request tpo/core/arti!1264
|
| | | |
| | |
| | |
| | | |
We don't really need "key bundles" for the client keys.
|
| | | |
| | |
| | |
| | |
| | | |
We probably don't need to support passphrases for the "Basic Client"
milestone, so let's update this TODO accordingly.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
arti-client: Dummy KeyMgr API improvements
Closes #897
See merge request tpo/core/arti!1256
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `keymgr` module selects one of the key manager implementations
(dummy or "real") and exposes all the APIs we need, so we can remove
all of the cfgs related to the `keymgr` feature from `client.rs`.
Part of #897
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This moves the key manager API selection (dummy vs "real" impl) into the
`keymgr` module. The module exports the dummy API if the `keymgr`
feature is disabled, and the impl from `tor-keymgr` otherwise.
Part of #897
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`insert` and `remove` should return an error rather than `Ok(())`, as
`Ok(())` implies the key was stored/removed, which is impossible in the
no-op implementation.
|