summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | tor-netdoc: Abolish `dangerous-expose-struct-fields`; always expose, insteadIan Jackson2025-10-019-255/+97
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #2192
* | | | | | Merge branch 'update-examples-with-native-tls-notice' into 'main'opara2025-10-011-0/+5
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | macos-native-tls-notice: Notice for native-tls bug on MacOS See merge request tpo/core/arti!3297
| * | | | | macos-native-tls-notice: Update README.md of tor-rtcompat with notice of ↵nield2025-10-011-0/+5
| | |/ / / | |/| | | | | | | | | | | | | native-tls bug on MacOS
* / | | | tor-rtmock-simple-time-typos: Fix typosNiel Duysters2025-10-011-3/+3
|/ / / /
* | | | Merge branch 'ticket_2190' into 'main'Nick Mathewson2025-09-303-40/+34
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | padding: Remove post-queue blocker. Closes #2190 See merge request tpo/core/arti!3293
| * | | padding: Remove post-queue blocker.Nick Mathewson2025-09-303-37/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We no longer want to _ever_ block non-DATA cells, per discussion in circuit-padding.md. Closes #2190.
| * | | padding: be less dogmatic in a TODO about where a buffer would go.Nick Mathewson2025-09-301-4/+4
| | | |
* | | | Merge branch 'tor-keyforge-rsa-types' into 'main'wesleyac2025-09-308-13/+299
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | tor-key-forge: Add RSA key types. See merge request tpo/core/arti!3236
| * | | tor-llcrypto: Add more comments about implementation of RSA sign function.Wesley Aptekar-Cassels2025-09-101-2/+3
| | | |
| * | | tor-llcrypto: Add note about key size to RSA KeyPair::generate.Wesley Aptekar-Cassels2025-09-101-0/+4
| | | |
| * | | tor-llcrypto: Rename rsa::PrivateKey to rsa::KeyPair.Wesley Aptekar-Cassels2025-09-085-17/+18
| | | | | | | | | | | | | | | | As discussed with gabi on IRC today.
| * | | tor-key-forge: Add RSA key types.Wesley Aptekar-Cassels2025-09-086-9/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some things I'm still considering here: * We may want to define a tor_llcrypto::pk::rsa::Signature newtype. * We likely want to rename tor_llcrypto::pk::rsa::PrivateKey to RsaKeypair.
* | | | Merge branch 'doc_features_no_longer_there' into 'main'Nick Mathewson2025-09-3057-57/+57
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove check_doc_features and doc_auto_cfg. Closes #1514 See merge request tpo/core/arti!3294
| * | | | Remove "doc_auto_cfg" incantation from all crates.Nick Mathewson2025-09-2957-57/+57
| | | | | | | | | | | | | | | | | | | | This feature has been removed from nightly, in favor of doc_cfg.
* | | | | Merge branch 'suppress-warnings' into 'main'Nick Mathewson2025-09-302-3/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Fix two clippy warnings See merge request tpo/core/arti!3295
| * | | | rpc: Suppress a clippy warning by making PossumCage usedIan Jackson2025-09-301-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes warning: struct `PossumCage` is never constructed warning: associated function `make_cast_table` is never used with cargo +stable clippy --locked --offline -p tor-rpcbase --all-targets Most of our builds happen with --all-features so we don't notice. In that case I think something to do with method printing:(`describe-methods`) is using things enough for the compiler not to complain.
| * | | | rpc: Suppress a clippy false positive that appears with current betaIan Jackson2025-09-301-1/+2
| | | | |
* | | | | Merge branch 'sort_circ_actions' into 'main'Nick Mathewson2025-09-291-1/+48
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | Sort output events for next_circ_action. See merge request tpo/core/arti!3292
| * | | | Sort output events for next_circ_action.Nick Mathewson2025-09-291-1/+48
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This sort makes it so that that blocking and unblocking are always ordered in a sensible way with respect to sending data. This might help simplify padding machines a bit. Prerequisite for #2190
* | | | Merge branch 'opentelemetry' into 'main'wesleyac2025-09-2921-10/+368
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Add experimental OpenTelemetry support See merge request tpo/core/arti!3239
| * | | arti: Add skip_all to instrument call.Wesley Aptekar-Cassels2025-09-241-1/+1
| | | |
| * | | arti: Make panic into error on invalid OTEL endpoint.Wesley Aptekar-Cassels2025-09-241-3/+5
| | | |
| * | | arti: Add note about OpenTelemetry data model.Wesley Aptekar-Cassels2025-09-241-0/+3
| | | |
| * | | arti: Add note about lack of filtering in OpenTelemetry layer.Wesley Aptekar-Cassels2025-09-241-0/+3
| | | |
| * | | arti: Add skip_all to instrument macro.Wesley Aptekar-Cassels2025-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | arti: Add more detail about OpenTelemetry in example config.Wesley Aptekar-Cassels2025-09-241-2/+9
| | | |
| * | | opentelemetry: Use humantime_serde for parsing Durations.Wesley Aptekar-Cassels2025-09-241-0/+3
| | | |
| * | | opentelemetry: Panic if configured for non-localhost HTTP endpoint.Wesley Aptekar-Cassels2025-09-241-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | arti: Add more info about OpenTelemetry to example config.Wesley Aptekar-Cassels2025-09-241-2/+6
| | | |
| * | | opentelemetry: Add note about lack of upstream OTLP exporter.Wesley Aptekar-Cassels2025-09-241-0/+3
| | | |
| * | | opentelemetry: Panic on mutex poison.Wesley Aptekar-Cassels2025-09-241-8/+1
| | | |
| * | | opentelemetry: Add some instrument macros.Wesley Aptekar-Cassels2025-09-2416-10/+61
| | | | | | | | | | | | | | | | | | | | I've added these in places that are useful for the debugging that I've been doing.
| * | | arti: Add experimental support for OpenTelemetry.Wesley Aptekar-Cassels2025-09-245-0/+281
| | | |
* | | | netdoc parse2 tests: Avoid <String as TryFrom<Vec<u8>>> (3)Ian Jackson2025-09-291-1/+1
| | | |
* | | | netdoc parse2 tests: Avoid <String as TryFrom<Vec<u8>>> (2) (fmt)Ian Jackson2025-09-291-2/+1
| | | |
* | | | netdoc parse2 tests: Avoid <String as TryFrom<Vec<u8>>> (2)Ian Jackson2025-09-291-2/+1
| | | | | | | | | | | | | | | | Should fix the minimal versions test?
* | | | netdoc parse2 tests: Avoid <String as TryFrom<Vec<u8>>>Ian Jackson2025-09-291-1/+1
| | | | | | | | | | | | | | | | Should fix the minimal versions test?
* | | | netdoc parse2: Remove some unneeded allowsIan Jackson2025-09-291-2/+0
| | | |
* | | | netdoc parse2: Fix two clippy lintsIan Jackson2025-09-292-1/+1
| | | |
* | | | neteoc parse2: Provide Ignored valueIan Jackson2025-09-293-1/+41
| | | | | | | | | | | | | | | | | | | | This will be used for some bits of netdocs where dummy values now appear.
* | | | netdoc parse2: NetdocParseableFields: suppress errors for empty typesIan Jackson2025-09-291-2/+10
| | | |
* | | | neteoc parse2: Import earlierIan Jackson2025-09-291-2/+3
| | | | | | | | | | | | | | | | | | | | This is needed if we want to use these macros in `doc`, which we're going to.
* | | | netdoc parse2: support `with` for rest arguemnts, and testIan Jackson2025-09-292-2/+18
| | | |
* | | | netdoc parse2: support `with` for normal arguemnts, and testIan Jackson2025-09-292-7/+11
| | | |
* | | | netdoc parse2: ArgumentSetMethods: take a parser functionIan Jackson2025-09-292-13/+65
| | | | | | | | | | | | | | | | We need this to support `with`.
* | | | netdoc parse2: Support with for Item parsing, comprehensive testsIan Jackson2025-09-291-0/+64
| | | |
* | | | netdoc parse2: tests: NeedsWith typeIan Jackson2025-09-291-3/+55
| | | | | | | | | | | | | | | | This type will be used to test `with` attributes.
* | | | netdoc parse2: Support with for Item parsingIan Jackson2025-09-291-2/+23
| | | | | | | | | | | | | | | | Tests will come in a moment.
* | | | netdoc parse2: New single_item attribute, testsIan Jackson2025-09-291-6/+55
| | | |
* | | | netdoc parse2: New single_item attributeIan Jackson2025-09-292-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | Many of the existing netdoc structs have items that are just the single argument. We don't want to turn them all into singleton tuples. Provide a macro feature for this instead.