summaryrefslogtreecommitdiff
path: root/crates
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | CircMgr: Draft API to construct targeted multihop circuits.Nick Mathewson2023-01-241-1/+24
| | | | | | | | | | | | | | | | | | | | Onion services and onion clients need these to make connections to HsDirs, Introduction points, and Rendezvous points.
| * | | CircMgr: Draft APIs used to implement onion service clients.Nick Mathewson2023-01-244-1/+88
| | |/ | |/|
* | | Merge branch 'onion-proto-apis' into 'main'Nick Mathewson2023-01-247-20/+252
|\ \ \ | |_|/ |/| | | | | | | | Draft APIs for onion services in tor-proto See merge request tpo/core/arti!970
| * | tor-proto: comment fixes and more TODO hsNick Mathewson2023-01-242-2/+18
| | |
| * | tor-proto: Draft API to handle incoming BEGIN requests.Nick Mathewson2023-01-173-0/+98
| | | | | | | | | | | | Onion services (and later, exits and caches) will need this.
| * | tor-proto: Expose support for doing onion service handshakesNick Mathewson2023-01-174-17/+79
| | | | | | | | | | | | | | | | | | This is a little tricky, but I think that we're not actually exposing too much here. I expect we'll need to tweak this stuff between now and our final version.
| * | tor-proto: Draft APIs for handling control messagesNick Mathewson2023-01-172-1/+54
| | | | | | | | | | | | | | | We will need these for onion services, to send and receive messages of types not handled directly by the tor-proto crate.
| * | tor-proto: Rename "hs" experimental feature to "onion-common"Nick Mathewson2023-01-172-3/+6
| | | | | | | | | | | | (For consistency with other crates)
* | | Merge branch 'bug736' into 'main'eta2023-01-241-0/+12
|\ \ \ | |_|/ |/| | | | | | | | Prop304: Add extended SOCKS result codes for onion services See merge request tpo/core/arti!978
| * | Prop304: Add extended SOCKS result codes for onion servicesNeel Chauhan2023-01-181-0/+12
| | |
* | | Merge branch 'ignore' into 'main'Nick Mathewson2023-01-207-7/+0
|\ \ \ | | | | | | | | | | | | | | | | Do not .gitignore crates/*/fuzz/corpus See merge request tpo/core/arti!982
| * | | Do not .gitignore crates/*/fuzz/corpusIan Jackson2023-01-207-7/+0
| | | | | | | | | | | | | | | | | | | | These are symlinks which are actually checked in. They should not be ignored. (This caused trouble for some of my privsep tooling...)
* | | | tor-llcrypto: Tolerate some warnings (fmt)Ian Jackson2023-01-201-1/+4
| | | |
* | | | tor-llcrypto: Tolerate some warningsIan Jackson2023-01-201-0/+4
|/ / / | | | | | | | | | | | | | | | Without this, cargo +stable clippy -p tor-netdoc --all-features produces warnings.
* | | Upgrade to latest rsa crate.Nick Mathewson2023-01-202-2/+2
| | |
* | | Upgrade to latest async-broadcastNick Mathewson2023-01-201-1/+1
| | | | | | | | | | | | | | | (We don't yet use the code that uses it, but we might as well have our unused code be up-to-date.)
* | | upgrade to latest serial_testNick Mathewson2023-01-201-1/+1
| | |
* | | Complete our migration to base64ct.Nick Mathewson2023-01-2011-26/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is in lieu of upgrading to the latest base64 crate, which has a different API from the old one. Since we have to migrate either way, we might as well use base64ct everywhere. I don't think that most of these cases _require_ constant-time base64, but it won't hurt.
* | | Upgrade to latest rlimit crate.Nick Mathewson2023-01-191-1/+1
|/ /
* / made TorClient::set_stream_prefs publicMichael van Straten2023-01-181-4/+1
|/
* Make a top-level API for connecting to onion services.Nick Mathewson2023-01-124-5/+26
| | | | Fortunately, it adds very little to the arti-client API surface.
* Merge branch 'onion-netdir-apis' into 'main'Nick Mathewson2023-01-1110-33/+345
|\ | | | | | | | | Add onion service APIs to tor-netdir See merge request tpo/core/arti!966
| * Adjust onion service ring APIs in light of prop#342Nick Mathewson2023-01-114-38/+99
| | | | | | | | | | | | | | | | | | | | * It is the NetDir's responsibility to tell the caller what the time period is. * There can be up to two secondary time periods. * Each time period has a single SRV. * Secondary time periods only apply for onion services, when they publish. * When publishing, the correct input is a time period.
| * Sketch APIs for the onion service directory ring.Nick Mathewson2023-01-114-4/+232
| | | | | | | | | | | | | | | | | | These are a bit complex internally, but the API they present is pretty simple. I've left some discussion of points where the design isn't totally fleshed out, and where we need to look harder at the spec. Part of #716.
| * Netdoc: Refactor SharedRandVal.Nick Mathewson2023-01-113-27/+37
| | | | | | | | | | | | | | | | SharedRandVal now holds only the 32-byte random value itself; the "number of commits" field is in SharedRandStatus. This commit also makes the SharedRandVal be exactly 32 bytes, since we've set it to that value in the spec.
| * hscrypto: Add several derivesNick Mathewson2023-01-113-1/+14
| | | | | | | | | | The important addition here is the Copy derives, which affect API design. I'm applying them to the types that are 32 byte or smaller.
* | netdir: add network parameters related to onion servicesNick Mathewson2023-01-111-1/+80
| | | | | | | | | | | | | | These are available unconditionally, since they represent comparatively little storage and processing effort. See param-spec.txt section 8 for the original information here.
* | tor-units: Add an IntegerMinutes.Nick Mathewson2023-01-112-0/+87
|/
* 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.