| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Many keymgr APIs require a `&dyn KeySpecifier`, which essentially
represents an `ArtiPath` and an optional `CTorPath`. Implementing
`KeySpecifier` for `ArtiPath`/`CTorPath`/`KeyPath` will enable keymgr
users to pass a `ArtiPath`/`CTorPath`/`KeyPath` to these APIs.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will enable the future `KeyMgr::list_matching()` API to return a
list that contains results from (potentially) multiple different
keystore backends.
|
| |/ / / / |
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Upgrade several dependencies.
See merge request tpo/core/arti!1680
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
(This is only used in the disabled tor-events crate, but it's
still easier to keep dependencies up-to-date than not.)
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
proto: Make StreamTarget::close() misuse less likely.
See merge request tpo/core/arti!1678
|
| | | | |
| | | |
| | | |
| | | | |
See #1065 for more information here.
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It turns out that we can make `IncomingStream::reject()` consume
self, thus making it impossible to hit the double-close error
from outside the `tor-proto` crate.
Also, we rename `StreamTarget::close()` to `close_pending()` to
better reflect its limited applicability.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Seal the dirclient::Requestable trait and hide most of its members.
Closes #1062
See merge request tpo/core/arti!1679
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since none of these methods were invoked from outside
`tor-dirclient` (except for debugging), and since we have had a fair
amount of churn on what we actually want them to be, it seems like a
good idea to use this trick to hide them. This will let us make
other changes to the actual behavior of Requestable in the future.
|
| | | | | |
|
| |\| | |
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Privacy: Do not list supported encodings in hsdesc reqs.
Closes #1062
See merge request tpo/core/arti!1675
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since not everybody has xz and/or zstd, we don't want to admit
whether we support them when we are uploading or downloading an
onion service descriptor. Similarly, if we aren't advertising
support for an encoding, we shouldn't accept it.
Finally, while we're doing this, it made sense to have the ability
to mark requests based on how anonymized they are, and reject (some)
attempts to send those requests over a one-hop circuit.
Closes #1062
|
| | |/ |
|
| |\ \
| |/
|/|
| |
| | |
tor-ptmgr: Handle unsupported escapes
See merge request tpo/core/arti!1584
|
| |/ |
|
| |\
| |
| |
| |
| | |
ArtiPathComponent: Disallow consecutive . in paths
See merge request tpo/core/arti!1661
|
| |/ |
|
| |\
| |
| |
| |
| | |
tor-keymgr: Encode whether the key is public or private in the file extension.
See merge request tpo/core/arti!1672
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There are 2 reasons to make this change:
* because having the word `private` in the extension will make it more
difficult to accidentally misuse or misplace a private key (see
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1618#note_2947461)
* because `Keystore`s will soon grow a `list()` function returning all
`(ArtiPath, KeyType)`s in the keystore, and in order for
`ArtiNativeKeystore` to implement this function, it will need to be
able to reverse the `KeyType -> file extension` mapping (if two
different `KeyType`s are mapped to the same extension,
`ArtiNativeKeystore`s won't be able to reverse the mapping)
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Sort introduction point lists by ntor public key.
Closes #1039
See merge request tpo/core/arti!1674
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Closes #1039
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
tor-hsservice: timeout track: More docs
See merge request tpo/core/arti!1673
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Simply running `rustfmt` makes a mess.
This new formatting is less nice but repo policy requires that the
layout is a fixed point under rustfmt and this is the least bad fixed
point I found.
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Suppresses some erroneous warnings.
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
arti, tor-config: Allow listening on generic addresses for SOCKS and DNS.
See merge request tpo/core/arti!1613
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Cleanups , fixes,and tests in IPT manager
See merge request tpo/core/arti!1659
|
| | | | | |
|