| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
| | |
| | |
| | |
| | | |
Provide the last modification time too, since we have it. This allows
handlers to things not contemplated by the convenience API.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This needs to take a value. The caller is going to have some context,
eg a configured list of instances. This means that it no longer has
InstanceIdentity as a supertrait.
Have the purge handler return the retain for time as a method.
|
| | | |
| | |
| | |
| | |
| | | |
Prompted by
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1853#note_2983029
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
It is OK to return this even for used things, or if you don't know -
the API user (trait implementor) gets a second bite at the cherry in
`dispose`.
|
| | | |
| | |
| | |
| | |
| | | |
Prompted by
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1853#note_2982352
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This gives us somewhere central to hang the rules about names,
and avoids us passing un-typed strings into the StateDirectory methods.
This inhibits certain kinds of future dynamism, without more work, but
that's fine. (It also produces more generics in the functions, but we
can avoid too much monomorphisation with the inner function pattern.)
Prompted by
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1853#note_2982354
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This gives us somewhere central to hang the rules about slugs.
(The trait is just an alias for ToString.)
Prompted by
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1853#note_2982354
|
| | | |
| | |
| | |
| | |
| | | |
We're going to want the InstanceIdentity name for a trait. Also this
is clearer I think.
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A proposal for #1163.
I haven't updated any of the calling code in tor-hsservice yet.
I think the way this will be used ought to be fairly obvious from the
API.
This commit also contains a file of notes about stuff I found in an
arti state directory. These may be too random even to put in
doc/dev/notes, so for now I've put them next to state_dir.rs.
|
| |\ \
| | |
| | |
| | |
| | | |
tor-hsservice: Downgrade a TODO HSS to TODO.
See merge request tpo/core/arti!1877
|
| | |/ |
|
| |/
|
|
|
| |
This whole file will go away when this comment is addressed:
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1837#note_2977513
|
| |\
| |
| |
| |
| | |
tor-hsservice: todos: Use log_ratelim at one call site
See merge request tpo/core/arti!1871
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
tor-hsservice: todos in replay.rs
See merge request tpo/core/arti!1869
|
| | | |
| | |
| | |
| | | |
We now have more fine-grained allows.
|
| | | |
| | |
| | |
| | |
| | | |
Deciding what to do about this *is* a MUST, but maybe we'll downgrade
that ticket.
|
| | | |
| | |
| | |
| | | |
This *is* a MUST.
|
| | |/
| |
| |
| | |
This isn't a MUST.
|
| |\ \
| | |
| | |
| | |
| | | |
tor-hsservice: todos: triage for ipt_set
See merge request tpo/core/arti!1872
|
| | | |
| | |
| | |
| | | |
The call to `load` is right there!
|
| | |/
| |
| |
| | |
This is a MUST ticket.
|
| |\ \
| | |
| | |
| | |
| | | |
tor-hsservice: todos: Drop one now-unneeded allow
See merge request tpo/core/arti!1873
|
| | |/ |
|
| | | |
|
| | |
| |
| |
| | |
I have tagged this as UX but *not* MUST.
|
| | |
| |
| |
| |
| | |
The referenced #1198 is a MUST ticket. #1067 relates to
no-longer-configred services and is in the Security milestone.
|
| | |
| |
| |
| | |
This is *not* a MUST ticket.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
This is a rather specialised function which we had for a previous data
structure but no longer use.
Just get rid of it.
|
| | | |
|
| | |
| |
| |
| | |
We have IPT persistence now.
|
| | |
| |
| |
| | |
That ticket is *not* MUST.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This ticket is a MUST. We might downgrade it, but only after actually
thinking about this question.
|
| | |
| |
| |
| | |
When we fix #1074, we should change this code too.
|
| |/ |
|
| |\
| |
| |
| |
| | |
tor-hsclient: Derive the KeySpecifier implementation.
See merge request tpo/core/arti!1864
|
| | |
| |
| |
| |
| |
| | |
If you derive `KeySpecifier` and forget to import `KeySpecifierPattern`
you get a confusing error. It's better to let the macro import (or fully
qualify) the necessary types from tor-keymgr.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
Not uploading a descriptor because we suddenly found out there are no
IPTs isn't really an error.
Part of #1129
|
| |/
|
|
|
|
|
|
| |
This really should not (and cannot) happen under normal circumstances:
the task receiving the value cannot exit before the publisher (unless
there's a bug in that code).
Part of #1129
|
| |
|
|
|
|
|
|
| |
These crates had no changes previously, but they depend on crates
that had breaking changes themselves.
tor-linkspec
tor-hspow
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This crate doesn't have a meaningful public API, so it just gets a patchlevel bump:
arti
These crates had nonbreaking changes, and get a patchlevel bump:
tor-rtcompat
fs-mistrust
tor-llcrypto
tor-cert
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These crates have breaking changes on their own:
tor-error
tor-netdoc
tor-dirmgr
tor-keymgr
Because of the breaking change in tor-error, and the fact that
basically every crate publicly depends on tor-error (by implementing
ErrorKind), we need to call this a breaking change on all of the
following:
tor-config
tor-geoip
tor-rtmock
tor-log-ratelim
tor-rpcbase
tor-bytes
tor-hscrypto
tor-socksproto
tor-cell
tor-proto
tor-netdoc
tor-netdir
tor-persist
tor-chanmgr
tor-ptmgr
tor-guardmgr
tor-circmgr
tor-dirclient
tor-dirmgr
tor-keymgr
tor-hsclient
tor-hsservice
tor-hsrproxy
arti-client
arti-rpcserver
arti-config
arti-hyper
arti-testing
|
| |\
| |
| |
| |
| | |
Run fixup-features in preparation for release, and clean its output.
See merge request tpo/core/arti!1856
|