| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 28 | -0/+28 |
| | | |||||
| * | Add a clear_flags function to RouterStatusBuilder | Nick Mathewson | 2024-03-12 | 1 | -0/+6 |
| | | | | | (For testing.) | ||||
| * | Fix typos in doc comments | Tobias Stoeckmann | 2024-03-06 | 1 | -1/+1 |
| | | |||||
| * | Fix typos in comments | Tobias Stoeckmann | 2024-03-06 | 1 | -1/+1 |
| | | |||||
| * | deny clippy::unchecked_duration_subtraction | trinity-1686a | 2024-02-29 | 1 | -0/+1 |
| | | |||||
| * | Upgrade to latest signature. | Gabriela Moldovan | 2024-02-28 | 1 | -2/+0 |
| | | |||||
| * | Merge branch 'enc_key_cert_signbit' into 'main' | Nick Mathewson | 2024-01-17 | 2 | -6/+14 |
| |\ | | | | | | | | | | | | | hsdesc: Document why enc_key_cert signbit is always zero. Closes #1221 See merge request tpo/core/arti!1888 | ||||
| | * | hsdesc: Document why enc_key_cert signbit is always zero. | Nick Mathewson | 2024-01-16 | 2 | -6/+14 |
| | | | | | | | | | | | | | Closes #1221. See torspec!240 for a corresponding spec change. | ||||
| * | | RouterStatus: Add test functions for Fast and Stable flags. | Nick Mathewson | 2024-01-16 | 1 | -0/+8 |
| |/ | | | | | (We don't need Fast right now, but we will certainly need it down the line.) | ||||
| * | tor-netdoc: Turn a TODO HSS into #1221. | Gabriela Moldovan | 2024-01-11 | 1 | -1/+2 |
| | | |||||
| * | tor-netdoc: Downgrade some TODO HSS to TODO. | Gabriela Moldovan | 2024-01-11 | 2 | -2/+2 |
| | | |||||
| * | clippy: Replace many calls to .get(0) with .first() | Ian Jackson | 2024-01-02 | 1 | -1/+1 |
| | | | | | | FTR I don't think agree with clippy on this question, but then I often don't. | ||||
| * | tor-netdoc: Make HsDescBuilder::auth_clients take an Option. | Gabriela Moldovan | 2023-12-14 | 1 | -11/+18 |
| | | | | | Closes #1019 | ||||
| * | netdoc: Remove an "unknown_lints" exception. | Nick Mathewson | 2023-11-30 | 1 | -1/+0 |
| | | |||||
| * | netdoc: refactor to use a let-else. | Nick Mathewson | 2023-11-30 | 1 | -4/+1 |
| | | |||||
| * | llcrypto: Hide the members of ExpandedKeypair. | Nick Mathewson | 2023-11-29 | 1 | -3/+3 |
| | | | | | | With this change, we no longer expose the ExpandedSecretKey unescorted, which makes it harder to misuse the API. | ||||
| * | llcrypto: Remove redundant re-exports in keymanip. | Nick Mathewson | 2023-11-29 | 2 | -3/+2 |
| | | | | | (These types were all already re-exported from pk::ed25519.) | ||||
| * | Remove RngCompatExt. | Nick Mathewson | 2023-11-29 | 4 | -15/+8 |
| | | | | | | | | | | | This code was needed with the old version of dalek-cryptography, which wasn't compatible with up-to-date versions of the `rand` crate(s). But now that we've upgraded, we can drop this. (We could have left it around and deprecated it, but we are already making a breaking change to tor-llcrypto by upgrading dalek-cryptography.) | ||||
| * | Convert to the latest versions of dalek-cryptography | Nick Mathewson | 2023-11-29 | 4 | -15/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main changes that we have to adjust for are as follows: * In x25519-dalek: * `StaticSecret` is now behind a feature. * `StaticSecret::new` is deprecated in favor of `StaticSecret::random_from_rng`. * StaticSecret no longer does its own clamping. * In ed25519-dalek: * `SecretKey` has (in effect) been renamed to `SigningKey`. The name `SecretKey` is now an alias for `[u8; 32]`. * `SigningKey` is effectively a keypair, since it contains a public key as well. * `PublicKey` has been renamed to `VerifyingKey`. * The functions to extract a signing key and verifying key have been renamed as you might expect. * `ExpandedSecretKey` has been moved to `hasmat` and no longer implements `sign`. * `ExpanededSecretKey` now has as its elements a scalar and a hash prefix. * Various functions that took `&[u8]` now take `&[u8; N]`. * We no longer need a wrapper for older versions of rand. There is a single test in tor-keymgr that does not pass. I've marked it as ignore for now, in hopes that @gabi-250 can help me figure it out. This closes #808. There are several changes I want to make before we merge, however. They are marked with TODO DALEK. | ||||
| * | tor-netdoc: Use the new HandshakeType enum to represent CREATE2 HTYPEs (fmt). | Gabriela Moldovan | 2023-10-30 | 1 | -17/+21 |
| | | |||||
| * | tor-netdoc: Use the new HandshakeType enum to represent CREATE2 HTYPEs. | Gabriela Moldovan | 2023-10-30 | 2 | -15/+16 |
| | | | | | | | | | | | | Representing the supported HTYPEs as `HandshakeType`s instead of `u32`s makes it more difficult to pass in wrong/invalid values to `HsDescBuilder::create2_formats`. This also fixes a descriptor publisher bug spotted by @jnewsome, where the advertised CREATE2 HTYPEs included HTYPE `1`, which is actually supposed to be a reserved value. The publisher now only advertises the `NTOR` HTYPE (just like C Tor). | ||||
| * | Remove a broken rustdoc link and fix a typo. | Nick Mathewson | 2023-10-27 | 1 | -3/+0 |
| | | |||||
| * | tor-cert, tor-netdoc: Use EncodedEd25519Cert instead of Vec<u8>. | Gabriela Moldovan | 2023-10-25 | 3 | -11/+8 |
| | | |||||
| * | tor-netdoc: Change return type of create_desc_sign_key_cert. | Gabriela Moldovan | 2023-10-25 | 1 | -6/+3 |
| | | | | | | | `Bug` wasn't necessarily the right error type here. Plus, with the new error type adding new errors (i.e. `CertEncodeError` variants), is not a breaking change. | ||||
| * | tor-netdoc: Building a descriptor now only requires the public part of ↵ | Gabriela Moldovan | 2023-10-25 | 1 | -8/+10 |
| | | | | | blinded_id. | ||||
| * | tor-netdoc: Remove now-unused blinded_id field. | Gabriela Moldovan | 2023-10-25 | 2 | -7/+0 |
| | | |||||
| * | tor-netdoc: Update HsDesc, HsDescOuter to accept the hs_desc_sign cert as an ↵ | Gabriela Moldovan | 2023-10-25 | 2 | -21/+32 |
| | | | | | | | | | | | argument. This will enable us to (eventually) the load the descriptor signing key cert from the keystore (as opposed to always recomputing it when building the `HsDesc`). Part of #1048 | ||||
| * | tor-netdoc: Add helper function for computing the descriptor signing key cert. | Gabriela Moldovan | 2023-10-25 | 3 | -15/+34 |
| | | |||||
| * | tor-dirclient, tor-netdoc: Add TODO SPECs. | Gabriela Moldovan | 2023-10-24 | 1 | -0/+3 |
| | | |||||
| * | 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. | ||||
| * | 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 | 1 | -16/+18 |
| | | |||||
| * | 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 |
| | | |||||
| * | Explain why we are sorting intro points. | Nick Mathewson | 2023-10-16 | 1 | -0/+7 |
| | | |||||
| * | Sort introduction point lists by ntor public key. | Neel Chauhan | 2023-10-16 | 1 | -16/+18 |
| | | | | | Closes #1039 | ||||
| * | tor-netdoc: Remove outdated note. | Gabriela Moldovan | 2023-09-25 | 1 | -4/+0 |
| | | |||||
| * | tor-hsclient, arti-client, tor-keymgr, tor-netdoc: Use a keypair instead of ↵ | Gabriela Moldovan | 2023-09-25 | 3 | -6/+6 |
| | | | | | StaticSecret (fmt). | ||||
| * | tor-hsclient, arti-client, tor-keymgr, tor-netdoc: Use a keypair instead of ↵ | Gabriela Moldovan | 2023-09-25 | 3 | -13/+12 |
| | | | | | | | | | | | | | | StaticSecret. Previously, when retrieving `KS_hsc_desc_enc` keys (or any other x25519 keys) from the keystore, the keymgr would discard the public part of the key (SSH private keys contain the public part of the key too). Instead of discarding the public key and returning just the `StaticSecret`, the keymgr now returns a `StaticKeypair`. This makes the x25519 `EncodableKey`/`ToEncodableKey` implementation consistent with the ed25519 one (which retrieves key pairs rather than "unescorted" secrets). | ||||
| * | tor-netdoc: "testing" feature: Provide test_parsed_hsdesc | Ian Jackson | 2023-09-18 | 1 | -12/+20 |
| | | | | | | | This is actually just the start of an existing test case. tor-hsservice tests will want this in a moment. | ||||
| * | tor-netdoc: tests: Hoist out TEST_DATA_HS_BLIND_ID (fmt) | Ian Jackson | 2023-09-18 | 1 | -4/+1 |
| | | |||||
| * | tor-netdoc: tests: Hoist out TEST_DATA_HS_BLIND_ID | Ian Jackson | 2023-09-18 | 1 | -3/+9 |
| | | |||||
| * | tor-netdoc: provide a IntroPointDescBuilder (fmt) | Ian Jackson | 2023-08-29 | 1 | -2/+1 |
| | | |||||
| * | tor-netdoc: provide a IntroPointDescBuilder | Ian Jackson | 2023-08-29 | 1 | -0/+13 |
| | | | | | | | | | | | | Previously there was no way to construct one of these during descriptor generation, other than parsing. A fairly simple builder seems right. I felt the builder's setter functions for setting keys should be named precisely after official key names. But the fields weren't, so for now I have done some builder-level renaming. | ||||
| * | Merge branch 'clippy' into 'main' | Ian Jackson | 2023-08-23 | 28 | -0/+28 |
| |\ | | | | | | | | | clippy: Suppress needless_pass_by_value in tests See merge request tpo/core/arti!1535 | ||||
