| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
While debugging IPT persistence I wanted to see what the code was
leaving in the storage and keystore directories. This is hard when
it's all done with a vanilla tempdir().
|
| |\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Fix extra features getting enabled in the arti-extra test binary
See merge request tpo/core/arti!1776
|
| | | | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
We were missing `-p arti` in the build command. As a result we were
getting the union of all features requested by anything in the
workspace, including an example enabling the `experimental` feature
which enables a bunch of other things.
|
| |\ \ \
| |_|/
|/| |
| | |
| | | |
tor-hsservice: time_store: Improve serialisation to be more human readable
See merge request tpo/core/arti!1774
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
Suggestion 3 from
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1774#note_2970374
|
| | | |
| | |
| | |
| | |
| | | |
Suggestion 2 from
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1774#note_2970374
|
| | | |
| | |
| | |
| | | |
Apply deferred churn.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
When is_human_readable, use a Visitor to offer the data format
visit_str, which will often allow the data format to avoid consing an
actual String.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | | |
Being careful about overflow and avoiding panics is quite a palaver!
|
| | | | |
|
| | | |
| | |
| | |
| | | |
We're going to want to do this for Reference too.
|
| | | |
| | |
| | |
| | | |
Use the string representation in binary formats.
|
| | | |
| | |
| | |
| | |
| | | |
Parse the string representation too.
We'll be using this for serde.
|
| | | | |
|
| | | |
| | |
| | |
| | | |
We're going to serialise different in binary formats.
|
| | |/
| |
| |
| | |
This will make them easier to adjust when we serialise differently.
|
| |\ \
| | |
| | |
| | |
| | | |
tor-keymgr: Use the new fs-mistrust APIs
See merge request tpo/core/arti!1769
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
`ArtiNativeKeystore::list` now returns an error if the parent directory
of any of its keys doesn't pass the `CheckedDir::read_dir` validation.
Part of #1117
|
| | |/
| |
| |
| |
| |
| |
| | |
This updates `ArtiNativeKeystore` to use the new `remove_file` API from
arti!1759.
Part of #1117
|
| |\ \
| |/
|/|
| |
| | |
Upgrade several crates in preparation for this month's release.
See merge request tpo/core/arti!1763
|
| | |
| |
| |
| | |
Gabi spotted that we weren't using this.
|
| | |
| |
| |
| |
| |
| | |
This is necessary for async-global-executor, which uses
`futures_lite::future::or`, which futures-lite does not have before
1.4.0 or thereabouts.
|
| | |
| |
| |
| |
| | |
This is a breaking change, since dirclient::Error
exposes http::Error.
|
| | | |
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
Resolve today's new cargo-audit errors
See merge request tpo/core/arti!1772
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | | |
tor-keymgr: Fix some broken docs links
See merge request tpo/core/arti!1768
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | | |
tor-keymgr: Derive Builder for KeyMgr.
Closes #1114
See merge request tpo/core/arti!1760
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Eventually these will need to be auto-generated, but that is not
possible right now.
Context: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1760#note_2969841
|
| | | |
| | |
| | |
| | | |
We don't use this now that we have a `KeyMgrBuilder`.
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
`KeyMgr` is soon going to have more fields, so now is a good time to
derive `Builder` for it.
Closes #1114
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
tor-hsservice: improve Debug and serde
See merge request tpo/core/arti!1765
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
I found myself wanting to dump the IPT manager state in debug output
and the default Rust output was far too verbose.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This avoids writing "[42,\n 43,\n ...]" into the storage json,
which is (a) wasteful (b) hard to read by hand.
|
| | | | |
| | | |
| | | |
| | | | |
This will help us construct ArtiPaths
|
| | | |/
| |/| |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
HSS IPT persistence - preparatory work
See merge request tpo/core/arti!1755
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
"tor-hsservice: Make note_publication_attempt a method on
PublishIptSet" broke several of these.
(Rebasing to insert this at the appropriate point causes conflicts, so
I'm leaving it here at the tip.)
|