summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | 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-066-6/+25
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | 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-064-3/+9
| | | | |
* | | | | Merge branch 'ptmgr-logs' into 'main'eta2023-01-064-33/+95
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | More log messages in and around the ptmgr code See merge request tpo/core/arti!923
| * | | | 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-06132-8/+1102
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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: Add ad hoc script for adding themIan Jackson2022-12-121-0/+26
| | | | | |
| * | | | | 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-043-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-163-2/+4
| | |_|/ / | |/| | |
* | | | | 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
| |/ / / /
* | | | | Merge branch 'shadow-ci-tweaks' into 'main'Ian Jackson2023-01-042-15/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Shadow ci tweaks See merge request tpo/core/arti!949
| * | | | shadow ci: avoid hard coding tgen and tor bin pathsJim Newsome2022-12-192-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | As of shadow 2.3, shadow can locate executables from the PATH, letting us avoid hard-coded paths here.
| * | | | shadow ci: only do pcap capture for bridge clientJim Newsome2022-12-191-4/+2
| | |/ / | |/| |
* | | | Merge branch 'architecture' into 'main'Nick Mathewson2022-12-2021-109/+57
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | doc: update the crate list in Architecture.md See merge request tpo/core/arti!951
| * | | | doc: update the crate list in Architecture.mdEmil Engler2022-12-201-89/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the crate list in Architecture.md. Because of the previous commit, which introduced consistency to these files, it was possible to generate it fairly easy with a tiny Perl script.
| * | | | 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.
* | | | Merge branch 'fix-links' into 'main'Nick Mathewson2022-12-202-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | doc: fix links to Architecture.md See merge request tpo/core/arti!950
| * | | doc: fix links to Architecture.mdEmil Engler2022-12-202-2/+2
|/ / / | | | | | | | | | See 2c240923fcd0cec75087db39e461ee718228ea14.
* | | Merge branch 'bug608' into 'main'Nick Mathewson2022-12-194-6/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | msg::{CreateFast/CreatedFast}: Rename accessor to (into_)body() Closes #608 See merge request tpo/core/arti!948
| * | 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.
| * | tor-error: Provide ErrorReport extension trait with .report() methodIan Jackson2022-12-121-0/+32
| | |
| * | tor_error: Promote internal StdError alias to reportIan Jackson2022-12-121-5/+5
| | | | | | | | | | | | | | | The std::error::Error repetition was getting rather repetitively repetitious, and is about to get more so.
| * | tor-proto: reactor tests: Use debug fmt on an errorIan Jackson2022-12-121-1/+1
| |/ | | | | | | | | | | | | In tests, debug fmt is usually appropriate. Found while looking for a candidate for https://gitlab.torproject.org/tpo/core/arti/-/issues/680
* | Merge branch 'typos' into 'main'Ian Jackson2022-12-141-1/+1
|\ \ | | | | | | | | | | | | Fix typo See merge request tpo/core/arti!938
| * | Fix typoDimitris Apostolou2022-12-121-1/+1
|/ /
* | Merge branch 'coral/#663' into 'main'Ian Jackson2022-12-129-13/+23
|\ \ | | | | | | | | | | | | Tackling issue #663 (Use humantime in tests) See merge request tpo/core/arti!931