aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-rpc-connect/src/auth.rs
Commit message (Collapse)AuthorAgeFilesLines
* rpc: Refactor Cookie and UnloadedCookie into a single type.Nick Mathewson2025-01-151-11/+26
|
* rpc: consolodate naming of "inherent" auth.Nick Mathewson2025-01-151-2/+3
| | | | | | | | | We don't want to call this "unix path" anywhere, since it corresponds to _any_ case where the ability to negotiate a successful connection means that the client is authorized. We also don't want to call it "none": The authentication is inherent to the connection, not nonexistent.
* rpc: Keep Cookie in an Arc.Nick Mathewson2025-01-151-1/+3
| | | | | Since this is a secret value, it's probably best not to copy it all over the place.
* tor-rpc-connect: defer loading auth cookies on the client side.Nick Mathewson2025-01-151-0/+9
| | | | | We want to load cookies only after we've connected and gotten a banner.
* tor-rpc-connect: move cookie auth support to its own module.Nick Mathewson2025-01-151-168/+2
|
* rpc-connect: Types for cookie authentication.Nick Mathewson2024-11-191-0/+185
(Cookie authentication is described in rpc-cookie-sketch.md)