| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | hss: Remove an unused type. | Nick Mathewson | 2023-10-24 | 1 | -7/+0 | |
| | | | | ||||||
| * | | | hsclient: Rename get_or_launch{connection => circuit} | Nick Mathewson | 2023-10-24 | 2 | -2/+26 | |
| |/ / | | | | | | | Closes #1078. | |||||
| * | | tor-keymgr: Use a macro to declare the KeyType enum (fmt). | Gabriela Moldovan | 2023-10-24 | 1 | -46/+46 | |
| | | | ||||||
| * | | tor-keymgr: Use a macro to declare the KeyType enum. | Gabriela Moldovan | 2023-10-24 | 1 | -40/+62 | |
| | | | | | | | | | | | The bad identation is there to make reviewing the diff easier (the macro will be reindented in a future commit). | |||||
| * | | tor-keymgr: Stop open-coding range operations. | Gabriela Moldovan | 2023-10-24 | 1 | -6/+1 | |
| | | | ||||||
| * | | tor-dirclient, tor-netdoc: Add TODO SPECs. | Gabriela Moldovan | 2023-10-24 | 2 | -0/+4 | |
| | | | ||||||
| * | | tor-dirclient: Always set the Content-Length header (fmt). | Gabriela Moldovan | 2023-10-24 | 1 | -1/+4 | |
| | | | ||||||
| * | | tor-dirclient: Always set the Content-Length header. | Gabriela Moldovan | 2023-10-24 | 2 | -19/+12 | |
| | | | ||||||
| * | | tor-hsservice: Look up the keypair, not the public key. | Gabriela Moldovan | 2023-10-24 | 1 | -5/+5 | |
| | | | | | | | | | | | This particular public key is not stored in the keystore (though maybe it should be). | |||||
| * | | tor-keymgr: Rename key_stores to secondary_stores for clarity. | Gabriela Moldovan | 2023-10-24 | 1 | -8/+8 | |
| | | | | | | | | | | | | | The name `key_stores` was a bit misleading, as this field only contains the _secondary_ key stores (the primary/default key store is stored in a separate field). | |||||
| * | | tor-keymgr: list() should include the keys from the default key store. | Gabriela Moldovan | 2023-10-24 | 1 | -2/+1 | |
| | | | | | | | | | | | `KeyMgr::list()` was supposed to look in _all_ key stores, not just the secondary ones. | |||||
| * | | tor-keymgr: Fix broken glob pattern. | Gabriela Moldovan | 2023-10-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | The pattern was only supposed to match the 3 components of the time period, separated by `_`, but not the leading `_`, which separates the key name from its denotators. | |||||
| * | | tor-keymgr: Remove now-outdated TODO HSS. | Gabriela Moldovan | 2023-10-24 | 1 | -9/+0 | |
| | | | | | | | | | Key file extensions now have `_private`/`_public` suffixes again. | |||||
| * | | tor-keymgr: Add TODO explaining why we're not using strum. | Gabriela Moldovan | 2023-10-24 | 1 | -0/+7 | |
| | | | ||||||
| * | | tor-keymgr: Use the right extension for expanded ed25519 keys. | Gabriela Moldovan | 2023-10-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | This line was out of sync with `KeyType::arti_extension`, which uses `ed25519_expanded_private` as the extension (and not `ed25519_expanded`). | |||||
| * | | tor-keymgr: Fix substring bounds check. | Gabriela Moldovan | 2023-10-24 | 1 | -1/+16 | |
| | | | | | | | | | The upper limit is exclusive, so this condition was off by one. | |||||
| * | | tor-hsservice: Make publisher trace! logs less noisy. | Gabriela Moldovan | 2023-10-24 | 1 | -5/+8 | |
| | | | | | | | | | | | | | We don't need to be logging the entire descriptor for each upload attempt (logging descriptors immediately after they are generated should be sufficient). | |||||
| * | | tor-hsservice: Fix misleading trace! log. | Gabriela Moldovan | 2023-10-24 | 1 | -2/+3 | |
| | | | | | | | | | | | | | The message is supposed to print how many HSDirs the descriptor was uploaded to (previously it was showing the `<success_count>/<failure_count>` which is pretty unintuitive). | |||||
| * | | tor-hsservice: Consistently use structured fields to log the nickname/HSDir. | Gabriela Moldovan | 2023-10-24 | 1 | -2/+2 | |
| | | | ||||||
| * | | tor-hsservice: Add another debug! for the publisher. | Gabriela Moldovan | 2023-10-24 | 1 | -1/+8 | |
| | | | ||||||
| * | | tor-netdoc: Use an unpadded base64 encoding for the signature. | Gabriela Moldovan | 2023-10-24 | 1 | -3/+3 | |
| | | | | | | | | | This is what the C Tor HsDirs want. | |||||
| * | | tor-dirclient: Add a Content-Length header (fmt). | Gabriela Moldovan | 2023-10-24 | 1 | -1/+3 | |
| | | | ||||||
| * | | tor-dirclient: Add a Content-Length header. | Gabriela Moldovan | 2023-10-24 | 1 | -2/+16 | |
| |/ | ||||||
| * | Merge branch 'netdoc-time-formats' into 'main' | Ian Jackson | 2023-10-23 | 5 | -22/+78 | |
| |\ | | | | | | | | | Netdoc time formats (Arti:751) See merge request tpo/core/arti!1693 | |||||
| | * | Fix unresolved reference in documentation | halcyon | 2023-10-23 | 1 | -1/+2 | |
| | | | ||||||
| | * | Remove deprecated ItemArgument impl for SystemTime | halcyon | 2023-10-23 | 1 | -27/+1 | |
| | | | ||||||
| | * | Cleanup fmt_with doc comment after merge discussion | halcyon | 2023-10-23 | 1 | -2/+4 | |
| | | | ||||||
| | * | Remove todo, std::fmt::Error doesnt allow for information transition | halcyon | 2023-10-22 | 1 | -2/+0 | |
| | | | ||||||
| | * | Handle time formatting through Time crate rather than string allocations | halcyon | 2023-10-20 | 2 | -17/+19 | |
| | | | ||||||
| | * | Fix unresolved link warning | halcyon | 2023-10-20 | 1 | -1/+1 | |
| | | | ||||||
| | * | Add Test for different Netdoc ItemArgument time formats | halcyon | 2023-10-20 | 1 | -0/+29 | |
| | | | ||||||
| | * | Implement Netdoc ItemArgument for Iso8601TimeNoSp and Iso8601TimeSp | halcyon | 2023-10-20 | 1 | -2/+15 | |
| | | | ||||||
| | * | Implement Display for Iso8601TimeNoSp and Iso8601TimeSp | halcyon | 2023-10-20 | 1 | -0/+38 | |
| | | | ||||||
| | * | Fix typo in arguments | halcyon | 2023-10-20 | 1 | -1/+1 | |
| | | | ||||||
| | * | Fix out of date comment | halcyon | 2023-10-20 | 1 | -2/+1 | |
| | | | ||||||
| * | | Merge branch 'rustdoc_link_fix' into 'main' | Ian Jackson | 2023-10-23 | 2 | -2/+2 | |
| |\ \ | | | | | | | | | | | | | Fix rustdoc link warnings/errors. See merge request tpo/core/arti!1690 | |||||
| | * | | Fix rustdoc link warnings/errors. | Nick Mathewson | 2023-10-20 | 2 | -2/+2 | |
| | | | | ||||||
| * | | | Merge branch 'todo-not-hss' into 'main' | Alexander Færøy | 2023-10-22 | 1 | -1/+1 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Remove an "HSS" from a "TODO HSS" comment in ptmgr See merge request tpo/core/arti!1676 | |||||
| | * | | | Remove an "HSS" from a "TODO HSS" comment in ptmgr | Nick Mathewson | 2023-10-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | This isn't actually onion service related, AFAICT. | |||||
| * | | | | Merge branch 'get-or-create4' into 'main' | Alexander Færøy | 2023-10-22 | 3 | -60/+193 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | tor-keymgr: Auto-generate missing keys in descriptor publisher See merge request tpo/core/arti!1688 | |||||
| | * | | | | tor-hsservice: Handle None IPT update correctly. | Gabriela Moldovan | 2023-10-19 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is not an error, it just means we need to wait until some IPTs are established. | |||||
| | * | | | | tor-hsservice: Generate the blinded keys, if they don't exist. | Gabriela Moldovan | 2023-10-19 | 1 | -12/+32 | |
| | | | | | | ||||||
| | * | | | | tor-hsservice: Remove unused function. | Gabriela Moldovan | 2023-10-19 | 1 | -36/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need this helper anymore (we no longer map `None` to `Err(MissingKey)`, because the new get-or-create functions don't return an `Option`). Also, the key lookups are going to look less uniform from now on (because some will be auto-generated with `get_or_generate`, and others with `get_or_generate_with_derived`). | |||||
| | * | | | | tor-keymgr: Add tests for get_or_generate. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+63 | |
| | | | | | | ||||||
| | * | | | | tor-hsservice: Auto-generate the keys needed for building the descriptor, if ↵ | Gabriela Moldovan | 2023-10-19 | 1 | -9/+33 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | necessary. This auto-generates the blinded identity key and the descriptor signing key (if they are missing). | |||||
| | * | | | | tor-hsservice: Remove outdated TODO. | Gabriela Moldovan | 2023-10-19 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | We're already fetching the descriptor signing key from the keystore. | |||||
| | * | | | | tor-hscrypto: Add a From<&HsIdKeypair> impl for HsIdKey. | Gabriela Moldovan | 2023-10-19 | 2 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes it's useful to have the ability to derive the `HsIdKey` from the keypair (for example, if we've just read the `HsIdKeypair` from the keystore and also need the `HsIdKey`, this `From` impl enables us to derive the public part of the key, instead of having to read it from the keystore). | |||||
| | * | | | | tor-keymgr: Add KeyMgr::get_or_generate. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+23 | |
| | | | | | | ||||||
| | * | | | | tor-keymgr: Add get_or_create_with_derived. | Gabriela Moldovan | 2023-10-19 | 1 | -0/+34 | |
| | | |_|/ | |/| | | ||||||
| * | | | | Merge branch 'log-hsid' into 'main' | gabi-250 | 2023-10-20 | 3 | -3/+24 | |
| |\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | tor-hsservice: Log newly generated HsIds. See merge request tpo/core/arti!1689 | |||||
