| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| |
| |
| |
| |
| | |
Add a check in `run_check_integrity` to verify that the `expired_entries`
collection is empty after processing all registered keystores. This should
always be true, as all expired entries are expected to be removed during
iteration. If not, it indicates a bug.
|
| | |
| |
| |
| |
| | |
Replace raw tuples with named structs to reduce type complexity and improve
code clarity and maintainability.
|
| | | |
|
| | |
| |
| |
| | |
`run_check_integrity`
|
| | |
| |
| |
| |
| |
| | |
- Fix bug where expired keys from one keystore were incorrectly
associated with all keystores
- Remove unnecessary clone
|
| | |
| |
| |
| | |
`run_check_integrity`
|
| | |
| |
| |
| |
| |
| | |
- Add `display_invalid_keystore_entries` helper function
`print_check_integrity_incipit`
- Add `display_invalid_keystore_entries` comment
|
| | |
| |
| |
| |
| |
| | |
Add initial functional implementation of `display_invalid_keystore_entries`,
which processes a list of invalid keystore entries grouped by `KeystoreId`
and displays them with associated error messages.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Create the skeletal version of the new `display_invalid_keystore_entries` function
and adapt `run_check_integrity` to use it.
The function now takes a slice of pairs, each containing a `KeystoreId` and a vector
of invalid keystore entries along with their error messages, and processes all
entries internally by iterating over each keystore, instead of being called
once per keystore.
|
| |/
|
|
|
|
|
|
|
| |
Previously, the function worked with a flat `Vec<KeystoreEntryResult<KeystoreEntry>>`.
Now, it uses a structured `Vec<(KeystoreId, Vec<KeystoreEntryResult<KeystoreEntry>>)>`,
grouping entries by keystore.
This makes it easier to track which keystore each entry belongs to,
and prepares the code for upcoming improvements.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because we've updated our MSRV, we must bump the minor version for every
package.
This was done as follows:
cargo set-version -p arti 1.6.0
cargo set-version -p oneshot-fused-workaround 0.4.0
cargo set-version -p slotmap-careful 0.4.0
cargo set-version -p test-temp-dir 0.5.0
cargo set-version -p fslock-guard 0.4.0
cargo set-version -p hashx 0.5.0
cargo set-version -p equix 0.4.0
cargo set-version -p caret 0.7.0
cargo set-version -p fs-mistrust 0.12.0
cargo set-version -p safelog 0.6.0
cargo set-version -p retry-error 0.8.0
xargs -I P <<END cargo set-version -p P 0.35.0
tor-basic-utils
tor-error
tor-general-addr
tor-geoip
tor-rtcompat
tor-rtmock
tor-async-utils
tor-config
tor-config-path
tor-rpc-connect
tor-log-ratelim
tor-rpcbase
tor-memquota
tor-units
tor-llcrypto
tor-bytes
tor-protover
tor-checkable
tor-cert
tor-key-forge
tor-hscrypto
tor-socksproto
tor-linkspec
tor-cell
tor-proto
tor-netdoc
tor-consdiff
tor-netdir
tor-relay-selection
tor-persist
tor-keymgr
tor-chanmgr
tor-ptmgr
tor-dircommon
tor-guardmgr
tor-circmgr
tor-dirclient
tor-dirmgr
tor-dirserver
tor-hsclient
tor-hsservice
tor-hsrproxy
tor-relay-crypto
arti-client
arti-relay
arti-rpcserver
arti-ureq
arti-rpc-client-core
END
|
| | |
|
| |
|
|
| |
This feature has been removed from nightly, in favor of doc_cfg.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
It's unlikely these arguments will be particularly useful, and omitting
skip_all can have security implications, so it's better to avoid it to
reflect good practice.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
We may want to add a way to opt out of this check, if someone asks for
it. Checking for "localhost" and "127.0.0.1" is not a very robust check
for a loopback interface, and it's possible that there could be other
situations we can't detect where HTTP is safe (private network,
WireGuard tunnel, etc). But I don't expect those to be likely to come up
in practice, so this should be fine for now.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
I've added these in places that are useful for the debugging that I've
been doing.
|
| | |
|
| |
|
|
|
|
|
| |
This commit implements proposal 330 in the context of `tor-dircommon`,
by replacing the single `Authority` structure used in a list context by
a single structure called `AuthorityContacts` which contains all
v3idents, upload, download, and vote endpoints in one central place.
|
| |\
| |
| |
| |
| | |
arti: test: Add integration test suite for `hss ctor-migrate`
See merge request tpo/core/arti!3216
|
| | | |
|
| |\ \
| |/
|/|
| |
| | |
Move `tor-dirmgr` configuration primitives to `tor-dircommon`
See merge request tpo/core/arti!3238
|
| | | |
|
| | | |
|
| |/
|
|
| |
Closes #2107
|
| | |
|
| |\
| |
| |
| |
| | |
Require tracing-subscriber 0.3.20
See merge request tpo/core/arti!3221
|
| | |
| |
| |
| | |
Fixes RUSTSEC-2025-0055.
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
arti: test: Fix `keys` integration test
Closes #2144
See merge request tpo/core/arti!3209
|
| | |
| |
| |
| | |
The `keys` integration test now accounts for case-insensitive filesystems
|
| | | |
|
| | |
| |
| |
| |
| | |
We've promised in our README not to bump MSRV in patchlevel
releases. So now this is 1.5.0.
|
| |/
|
|
|
|
|
|
| |
Per policy, we bump the minor version of every tor-*, arti-* crate
on each release.
We have updated our MSRV, so we're treating this as a breaking
change for our non-(arti/tor)-prefixed crates too.
|
| |\
| |
| |
| |
| | |
arti: Simplify the `create_state_dir_entry` test helper
See merge request tpo/core/arti!3178
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before:
```text
INFO tor_hsservice: Generated a new identity for service bar: ???mad.onion
```
After:
```text
INFO tor_hsservice: Generated a new identity for service foo: […]2qd.onion
```
|
| | |
|
| |
|
|
|
|
|
|
|
| |
- Add `cli_tests/keys/util.rs` and `cli_tests/keys.rs`
- Update `cli_tests/main.rs` and
`testcases/keys/conf/keys.toml`
- Add `ctor-keystore` directory to `keys` `local` directory
- Restructure `keys` `local` directory layout
- .editorconfig: Add exception for `ctor-keystore`s
|
| |\
| |
| |
| |
| | |
docs: Remove outdated comments about rustls/ring license
See merge request tpo/core/arti!3176
|
| | | |
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
Upgrade to toml-0.9.5.
Closes #2093
See merge request tpo/core/arti!3163
|