| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | tor-persist: state_dir: purge API: Add notes about instance mtime | Ian Jackson | 2024-02-08 | 1 | -0/+9 | |
| | | | ||||||
| * | | tor-persist: state_dir: purge API: Discuss deletion non-atomicity | Ian Jackson | 2024-02-08 | 1 | -0/+31 | |
| | | | ||||||
| * | | tor-persist: state_dir: purge API: Replace retain_unused_for with age_filter | Ian Jackson | 2024-02-08 | 1 | -14/+14 | |
| | | | | | | | | | | | This will be slightly less ergonomic at call sites but it is a more orthogonal and logical API. | |||||
| * | | tor-persist: state_dir: purge API: Have purge_instances take SystemTime | Ian Jackson | 2024-02-08 | 1 | -3/+10 | |
| | | | | | | | | | | | | | | | Purging depends on the current time. We will want this to be able to come from Runtime but we don't want to have those types in this API. | |||||
| * | | tor-persist: state_dir: purge API: PurgeHandler must provide the kind | Ian Jackson | 2024-02-08 | 1 | -0/+6 | |
| | | | | | | | | | We purge per-kind. | |||||
| * | | tor-persist: state_dir: docs: Remove a duplicated paragraph | Ian Jackson | 2024-02-08 | 1 | -5/+0 | |
| | | | | | | | | | This was probably the result of rebase conflicts during develoopment. | |||||
| * | | tor-persist: state_dir: docs: Linkify a ref to StorageHandle | Ian Jackson | 2024-02-08 | 1 | -1/+1 | |
| | | | ||||||
| * | | tor-persist: state_dir: Implement list_instances | Ian Jackson | 2024-02-08 | 3 | -5/+72 | |
| |/ | ||||||
| * | Clarify onion service example(s) a little more. | Nick Mathewson | 2024-02-08 | 1 | -3/+5 | |
| | | ||||||
| * | Fix compilation with musl. | Nick Mathewson | 2024-02-06 | 1 | -3/+3 | |
| | | | | | | | | | Don't try to name the type of `RLIMIT_FSIZE` in our tests: its type is either `c_int` or `__rlimit_resource_t` depending on the libc instance. Closes #1264. | |||||
| * | tor-keymgr: Downgrade a TODO to a Note. | Gabriela Moldovan | 2024-02-05 | 1 | -3/+3 | |
| | | | | | | | | I don't think we need to do this right now, so I am downgrading this TODO. Part of #1115 | |||||
| * | tor-keymgr: Make KeyMgr::remove return the removed key (fmt). | Gabriela Moldovan | 2024-02-05 | 1 | -24/+28 | |
| | | ||||||
| * | tor-keymgr: Make KeyMgr::remove return the removed key. | Gabriela Moldovan | 2024-02-05 | 3 | -6/+11 | |
| | | | | | Part of #1115 | |||||
| * | tor-keymgr: Remove a TODO about rewriting KeyType. | Gabriela Moldovan | 2024-02-05 | 1 | -8/+0 | |
| | | | | | | | Not all algorithms have exactly 2 variants (`Public` and `Keypair`). For example, for `ed25519`, we need `Public`, `Keypair`, and `ExpandedKeypair`. | |||||
| * | tor-keymgr: Downgrade a TODO from a test. | Gabriela Moldovan | 2024-02-05 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Downgrade a TODO about the KeyType API. | Gabriela Moldovan | 2024-02-05 | 1 | -1/+1 | |
| | | | | | | | | The `KeySpecifier` argument isn't needed yet, so let's defer this for now. Part of #1115 | |||||
| * | tor-keymgr: Downgrade a TODO about the dummy API. | Gabriela Moldovan | 2024-02-05 | 1 | -1/+1 | |
| | | ||||||
| * | tor-keymgr: Make KeyMgr::insert return the old key. | Gabriela Moldovan | 2024-02-05 | 3 | -10/+20 | |
| | | | | | Part of #1115 | |||||
| * | tor-keymgr: Remove a TODO about get_from_store(). | Gabriela Moldovan | 2024-02-05 | 1 | -3/+1 | |
| | | | | | | | Bailing on the first inaccessible keystore is correct. Part of #1115 | |||||
| * | tor-keymgr: Rename KeyInfoExtractor to KeyPathInfoExtractor (fmt). | Gabriela Moldovan | 2024-02-05 | 2 | -3/+3 | |
| | | ||||||
| * | tor-keymgr: Rename KeyInfoExtractor to KeyPathInfoExtractor. | Gabriela Moldovan | 2024-02-05 | 6 | -18/+20 | |
| | | | | | | | This trait extracts a `KeyPathInfo`, not a `KeyInfo`. Part of #1115 | |||||
| * | tor-keymgr: Derive getters for KeyPathInfo. | Gabriela Moldovan | 2024-02-05 | 3 | -3/+3 | |
| | | | | | Part of #1115 | |||||
| * | tor-keymgr: Remove a TODO about renaming Keystore. | Gabriela Moldovan | 2024-02-05 | 1 | -4/+0 | |
| | | | | | | | I think the current naming is fine. Part of #1115 | |||||
| * | Merge branch 'delete-semvers' into 'main' | Ian Jackson | 2024-02-05 | 9 | -27/+0 | |
| |\ | | | | | | | | | Remove all semver.md files to start a fresh release round See merge request tpo/core/arti!1957 | |||||
| | * | Remove all semver.md files to start a fresh release round | Ian Jackson | 2024-02-05 | 9 | -27/+0 | |
| | | | ||||||
| * | | Bump version of arti crate | Ian Jackson | 2024-02-05 | 3 | -3/+3 | |
| | | | ||||||
| * | | Bump patch versions *with* dependency update | Ian Jackson | 2024-02-05 | 10 | -10/+10 | |
| | | | | | | | | | | | | | | | This crate has had new features added. It's 0.x. So bump in-tree dependencies' references: fs-mistrust | |||||
| * | | Bump patch versions (without dependency updates) | Ian Jackson | 2024-02-05 | 3 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | These crates have had trivial changes which have no implications for their dependencies: safelog tor-error tor-config | |||||
| * | | Bump minor versions | Ian Jackson | 2024-02-05 | 39 | -250/+250 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump the minor version of these crates, and update the in-tree dependencies. Recently published as fresh crates, let's just assume there are breaking changes: fslock-guard test-temp-dir Breaking API change affecting many many downstream crates: tor-rtcompat Downstream crates which we're (conservatively) assuming have tor-rtcompat types in their APIs: tor-rtmock tor-log-ratelim tor-rpcbase tor-llcrypto tor-protover tor-bytes tor-hscrypto tor-hspow tor-socksproto tor-checkable tor-cert tor-linkspec tor-cell tor-proto tor-netdoc tor-consdiff tor-netdir tor-congestion 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-bench arti-testing | |||||
| * | Merge branch 'feat' into 'main' | Ian Jackson | 2024-02-05 | 5 | -5/+5 | |
| |\ | | | | | | | | | Run maint/fixup-features See merge request tpo/core/arti!1954 | |||||
| | * | Run maint/fixup-features | Ian Jackson | 2024-02-05 | 5 | -5/+5 | |
| | | | | | | | | | Discard hunks in examples/ | |||||
| * | | tor-keymgr: Fix two docs links | Ian Jackson | 2024-02-05 | 2 | -2/+2 | |
| |/ | | | | (These were broken by recent MRs so don't need a CHANGELOG update in !1950.) | |||||
| * | Merge branch 'keymgr-generate' into 'main' | gabi-250 | 2024-02-01 | 10 | -399/+196 | |
| |\ | | | | | | | | | | | | | tor-keymgr: A handful of API fixes Closes #1194 and #1074 See merge request tpo/core/arti!1948 | |||||
| | * | tor-keymgr: Apply cargo fmt. | Gabriela Moldovan | 2024-02-01 | 1 | -1/+0 | |
| | | | ||||||
| | * | tor-hsservice: Use ErrorKind::KeystoreAccessFailed for KeystoreRace errors. | Gabriela Moldovan | 2024-02-01 | 1 | -1/+1 | |
| | | | ||||||
| | * | tor-keymgr: Expand the KeyAlreadyExists docs. | Ian Jackson | 2024-02-01 | 1 | -0/+7 | |
| | | | ||||||
| | * | tor-hsservice: Use FatalError::KeystoreRace where possible (fmt). | Gabriela Moldovan | 2024-02-01 | 1 | -4/+8 | |
| | | | ||||||
| | * | tor-hsservice: Use FatalError::KeystoreRace where possible. | Gabriela Moldovan | 2024-02-01 | 2 | -6/+7 | |
| | | | ||||||
| | * | tor-hsservice: Add FatalError::KeystoreRace. | Gabriela Moldovan | 2024-02-01 | 2 | -0/+14 | |
| | | | | | | | | | This will be used when a keystore race is detected. | |||||
| | * | tor-hsservice: Fix typo in error message. | Gabriela Moldovan | 2024-02-01 | 1 | -1/+1 | |
| | | | ||||||
| | * | tor-keymgr: Abolish get_or_generate_with_derived. | Gabriela Moldovan | 2024-02-01 | 1 | -58/+1 | |
| | | | ||||||
| | * | tor-keymgr: Rewrite get_or_generate() using of get() and generate(). | Gabriela Moldovan | 2024-02-01 | 1 | -6/+15 | |
| | | | | | | | | | | | We are about to remove `KeyMgr::get_or_generate_with_derived`, so this rewrites `KeyMgr::get_or_generate` without using it. | |||||
| | * | tor-hsservice: Use read_blind_id_keypair instead of duplicating code. | Gabriela Moldovan | 2024-02-01 | 1 | -16/+6 | |
| | | | ||||||
| | * | tor-hsservice: Rewrite blind_id_keypair without get_or_generate_with_derived. | Gabriela Moldovan | 2024-02-01 | 1 | -8/+18 | |
| | | | | | | | | | We are about to remove `KeyMgr::get_or_generate_with_derived`. | |||||
| | * | tor-keymgr: Abolish KeyMgr::generate_with_derived. | Gabriela Moldovan | 2024-02-01 | 1 | -155/+24 | |
| | | | ||||||
| | * | tor-hsservice: Remove unnecessary loop (fmt). | Gabriela Moldovan | 2024-02-01 | 1 | -12/+12 | |
| | | | ||||||
| | * | tor-hsservice: Remove unnecessary loop. | Gabriela Moldovan | 2024-02-01 | 1 | -4/+0 | |
| | | | | | | | | | | | We don't store public HsId key in the keystore anymore, so this test is not needed anymore. | |||||
| | * | tor-hsservice: Rewrite get_or_gen_key using KeyMgr::generate. | Gabriela Moldovan | 2024-02-01 | 1 | -13/+18 | |
| | | | | | | | | | | | | | | | Now that `KeyMgr::generate` returns the generated key, we can tidy up `get_or_gen_key`. Part of #1074 | |||||
| | * | tor-hsservice: Rewrite maybe_generate_hsid using KeyMgr::generate (fmt). | Gabriela Moldovan | 2024-02-01 | 1 | -45/+41 | |
| | | | ||||||
| | * | tor-hsservice: Rewrite maybe_generate_hsid using KeyMgr::generate. | Gabriela Moldovan | 2024-02-01 | 1 | -108/+42 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We will soon remove the `KeyMgr::*_with_derived()` functions, so we need to rewrite `maybe_generate_hsid` using `KeyMgr::get` and `KeyMgr::generate`. An important point to note is that `maybe_generate_hsid` no longer stores the `KP_hs_id` in the key store. The reason we originally put the `KP_hs_id` in the keystore in the first place was to support offline HsId mode. However, offline HsId mode was never fully implemented (#1194), and the decision to put the public part of the HsId in the keystore is controversial (#1195). We can revisit this decision when we implement #1194, but for now, we don't need a separate `KP_hs_Id` entry in the keystore. | |||||
