summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'blind_privkey' into 'main'Ian Jackson2023-01-092-17/+161
|\ | | | | | | | | | | | | llcrypto: Implement secret-key blinding. Closes #719 See merge request tpo/core/arti!964
| * llcrypto: Implement secret-key blinding.Nick Mathewson2023-01-062-17/+161
| | | | | | | | | | | | | | | | Closes #719. Due to a difference between ed25519-dalek and ed25519-donna, converting these secret keys directly to public keys does not work. I've documented this in a "Limitations" section.
* | Merge branch 'typos' into 'main'eta2023-01-094-7/+7
|\ \ | | | | | | | | | | | | Fix typos See merge request tpo/core/arti!965
| * | Fix typosDimitris Apostolou2023-01-074-7/+7
| | |
* | | Merge branch 'arti-hyper-fixing-715' into 'main'eta2023-01-093-2/+20
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Temporary fix for #715 and #569 Closes #715 See merge request tpo/core/arti!958
| * | Removed unnecessary "all()" cfg constraintMichael van Straten2023-01-071-1/+1
| | |
| * | Added x86_64-apple-darwin to fallback to "tls-api-openssl"Michael van Straten2023-01-073-5/+5
| | |
| * | fixed "broken_intra_doc_link"Michael van Straten2023-01-061-2/+1
| | |
| * | Temporary fix for #715 and #569Michael van Straten2023-01-053-3/+22
| | |
* | | Merge branch 'onion-api-v0.2' into 'main'Nick Mathewson2023-01-0619-20/+686
|\ \ \ | | | | | | | | | | | | | | | | Onion service APIs, part 1. See merge request tpo/core/arti!959
| * | | Sketch a solution for arti#525Nick Mathewson2023-01-062-0/+35
| | | |
| * | | Sketch out new required APIs in tor-cellNick Mathewson2023-01-063-10/+129
| | | |
| * | | tor-cert: add a few hs TODOsNick Mathewson2023-01-061-0/+3
| | | |
| * | | netdoc: Outline some basic types for encoding HsDescs.Nick Mathewson2023-01-064-1/+245
| | | |
| * | | Create a new tor-hscrypto crate.Nick Mathewson2023-01-066-0/+250
| | | | | | | | | | | | | | | | | | | | | | | | This module has types and operations needed in multiple places for an onion service implementation. There are a bunch of TODO hs-crypto comments that we'll need to fill in.
| * | | netdoc: note some changes we will have to make to srvNick Mathewson2023-01-061-0/+6
| | | |
| * | | llcrypto: fix a comment.Nick Mathewson2023-01-061-1/+1
| | | | | | | | | | | | | | | | This described the wrong type of key.
| * | | llcrypto: clarify meaning of "Identity".Nick Mathewson2023-01-062-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `Ed25519Identity` and `RsaIdentity` types are not precisely always used as relay identifiers: they are more generally used as _key_ identifiers. This will become relevant as `RsaIdentity` is used for authority keys (as in authorities' VoterInfo blocks), and as `Ed25519Identity` is used as the identifier behind an onion service key.
* | | | Merge branch 'sensitive' into 'main'Ian Jackson2023-01-065-6/+24
|\ \ \ \ | |/ / / |/| | | | | | | | | | | tor-proto: Remove some sensitive info from errors See merge request tpo/core/arti!934
| * | | tor-proto: rustfmtIan Jackson2023-01-061-1/+2
| | | | | | | | | | | | | | | | Not sure why the tree didn't have this newline already. "Whatever".
| * | | tor-proto: CreateFastWrap::decode_chanmsg: Do not report handshakeIan Jackson2023-01-062-3/+3
| | | | | | | | | | | | | | | | | | | | The debug impl prints the handshake challenge, which we should probably treat as sensitive.
| * | | tor-proto: impl Display for CreateResponseIan Jackson2023-01-061-0/+12
| | | | | | | | | | | | | | | | Don't print the handshake value, but do print the display reason.
| * | | tor-proto: When relay IDs mismatch, the IDs are sensitive in errorsIan Jackson2023-01-063-3/+8
| | | |
* | | | chanmgr: trace-level logs when launching connections.Nick Mathewson2023-01-062-0/+15
| | | | | | | | | | | | | | | | Based on more temporary debugging code. Yet another part of #677.
* | | | ptmgr: Add more logs when looking/creating a PT.Nick Mathewson2023-01-061-24/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These are also based on temporary logs that I added locally while I was hunting bugs. Also part of #677.
* | | | ptmgr: Add more logging to IPC code.Nick Mathewson2023-01-061-9/+34
|/ / / | | | | | | | | | | | | | | | | | | | | | This is based on logs that I added locally while I was trying to debug some startup issues. Hopefully they'll make things easier the next time there's something to debug. Part of #677.
* | | Merge branch 'ya-lint' into 'main'eta2023-01-061-1/+4
|\ \ \ | | | | | | | | | | | | | | | | tor-linkspec: Fix an unused lint See merge request tpo/core/arti!935
| * | | tor-linkspec: Fix an unused lintIan Jackson2022-12-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise: cargo +stable clippy -p tor-proto --all-features --all-targets Produces: warning: unused import: `PtTargetAddr` --> crates/tor-linkspec/src/traits.rs:9:28 | 9 | use crate::{ChannelMethod, PtTargetAddr, RelayIdRef, RelayIdType, RelayIdTypeIter}; | ^^^^^^^^^^^^
* | | | Merge branch 'test-lints' into 'main'eta2023-01-06131-8/+1076
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add test lint blocks to all "mod test" See merge request tpo/core/arti!937
| * | | | test lint blocks: Add many many automaticallyIan Jackson2022-12-12120-1/+988
| | | | | | | | | | | | | | | | | | | | | | | | | This is precisely the result of running the rune in maint/adhoc-add-lint-blocks.
| * | | | test lint blocks: Do some semi-manuallyIan Jackson2022-12-1210-5/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the hunks from running the rune in maint/adhoc-add-lint-blocks but which require some subsequent manual fixup: usually, deleting now-superfluous outer allows, but in some cases manually putting back lints that the adhoc script deleted.
| * | | | test lint blocks: Standardise one in tor-socksprotoIan Jackson2022-12-121-2/+2
| |/ / / | | | | | | | | | | | | | | | | The previous syntax was recognised by the real script, but not by the ad-hoc script I'm about to use to add all the missing ones.
* | | | Merge branch 'bug589a' into 'main'eta2023-01-061-5/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove allow(unreachable_pub) from tor-guardmgr/src/lib.rs Closes #589 See merge request tpo/core/arti!944
| * | | | Remove allow(unreachable_pub) from tor-guardmgr/src/lib.rsNeel Chauhan2022-12-161-5/+0
| | | | | | | | | | | | | | | | | | | | Closes #589
* | | | | Merge branch 'socks-resolve-ip' into 'main'eta2023-01-061-15/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resolve ip through socks by parsing them Closes #714 See merge request tpo/core/arti!957
| * | | | | resolve ip through socks by parsing themtrinity-1686a2023-01-031-15/+25
| | |_|/ / | |/| | |
* | | | | Merge branch 'ctbytes' into 'main'eta2023-01-064-39/+152
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | Add a new "CtByteArray" type, and use it in Id types. See merge request tpo/core/arti!962
| * | | | Add a new "CtByteArray" type, and use it in Id types.Nick Mathewson2023-01-054-39/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This type provides a common implementation for types that are implemented as arrays of bytes that should only be compared with constant-time comparisons.
* | | | | Merge branch 'tor-rtmock-rfc3399' into 'main'Ian Jackson2023-01-042-2/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use parse_rfc3339() in the tor-rtmock crate See merge request tpo/core/arti!943
| * | | | | Use parse_rfc3339() in the tor-rtmock crateNeel Chauhan2022-12-162-2/+3
| | |_|/ / | |/| | |
* | | | | Merge branch 'tor-proto-use-rfc3339' into 'main'Ian Jackson2023-01-041-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use parse_rfc3339() in the tor-proto crate See merge request tpo/core/arti!942
| * | | | | Use parse_rfc3339() in the tor-proto crateNeel Chauhan2022-12-161-1/+2
| |/ / / /
* | | | | Merge branch 'tor-netdoc-rfc3399' into 'main'Ian Jackson2023-01-042-4/+5
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Use parse_rfc3339() in the tor-netdoc crate See merge request tpo/core/arti!941
| * | | | Use parse_rfc3339() in the tor-netdoc crateNeel Chauhan2022-12-162-4/+5
| |/ / /
* | / / doc: consistent summary line for the READMEsEmil Engler2022-12-2020-20/+20
| |/ / |/| | | | | | | | | | | This commit introduces a consistency to the summary line of all README.md files in each and every crate.
* | | Add semver.md for (into_)handshake()Neel Chauhan2022-12-191-0/+2
| | |
* | | msg::{CreateFast/CreatedFast}: Rename accessor to (into_)body()Neel Chauhan2022-12-183-6/+6
|/ /
* | Merge branch 'err-dyn-report' into 'main'Ian Jackson2022-12-154-7/+51
|\ \ | | | | | | | | | | | | Error logging (ErrorReport, .report()) POC See merge request tpo/core/arti!936
| * | tor-error: tests: Add a test case for Report and Bug wrappingIan Jackson2022-12-151-0/+11
| | |
| * | tor-circmgr: Use ErrorReport on a logged errorIan Jackson2022-12-121-1/+2
| | | | | | | | | | | | To demonstrate what the use looks like.