Ian Jackson
8f2263237b
netdoc-builder api: Get rid of Item, and error rework
2023-01-20 14:21:17 +00:00
Ian Jackson
46ad6cba06
netdoc-builder api: Add example of use
2023-01-20 14:21:17 +00:00
Ian Jackson
28b99004d0
NetdocBuilder: Improvements apropos review
2023-01-20 14:21:17 +00:00
Nick Mathewson
760ddbbc5d
Improved pseudocode commentary
2023-01-20 14:21:17 +00:00
Ian Jackson
7184777559
RFC netdoc builder API
2023-01-20 14:21:17 +00:00
Nick Mathewson
44e0d291b2
Merge branch 'updates_20210119' into 'main'
...
Update a few crate dependencies
See merge request tpo/core/arti!981
2023-01-20 13:35:33 +00:00
Nick Mathewson
131775bf36
Upgrade to latest rsa crate.
2023-01-20 08:06:30 -05:00
Nick Mathewson
02a1f9a3e4
Upgrade to latest async-broadcast
...
(We don't yet use the code that uses it, but we might as well have
our unused code be up-to-date.)
2023-01-20 08:06:30 -05:00
Nick Mathewson
707efc944d
upgrade to latest serial_test
2023-01-20 08:06:30 -05:00
Nick Mathewson
889206cde4
Complete our migration to base64ct.
...
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.
2023-01-20 08:06:30 -05:00
Nick Mathewson
6cb0528cc1
Upgrade to latest rlimit crate.
2023-01-19 14:10:54 -05:00
Nick Mathewson
923a7af4e7
Merge branch 'make-set-connect-prefs-public' into 'main'
...
made TorClient::set_stream_prefs public
See merge request tpo/core/arti!977
2023-01-18 18:07:01 +00:00
Michael van Straten
fa93f6674d
made TorClient::set_stream_prefs public
2023-01-18 18:20:59 +01:00
Nick Mathewson
05155af0f3
Merge branch 'ffi-rpc-sketch' into 'main'
...
Sketch for some options and design issues around FFI/RPC
See merge request tpo/core/arti!973
2023-01-17 19:06:34 +00:00
Nick Mathewson
0ad44d2d6f
Update comments based on feedback
2023-01-17 12:21:17 -05:00
eta
065ae24fc6
Merge branch 'onion-api-client-toplevel' into 'main'
...
Make a top-level API for connecting to onion services.
See merge request tpo/core/arti!971
2023-01-17 11:18:06 +00:00
Nick Mathewson
d651066908
Merge branch 'bump_ed25519_153' into 'main'
...
Bump Cargo.lock to ed25519 1.5.3 to fix CI.
See merge request tpo/core/arti!975
2023-01-16 17:29:31 +00:00
Nick Mathewson
ac3f04fcf5
Bump Cargo.lock to ed25519 1.5.3 to fix CI.
...
ed25519 1.5.2 has been yanked.
2023-01-16 11:39:35 -05:00
Ian Jackson
b6f5d3da7d
Apply 1 suggestion(s) to 1 file(s)
2023-01-13 16:44:03 +00:00
Ian Jackson
bf970ba486
Apply 1 suggestion(s) to 1 file(s)
2023-01-13 16:43:48 +00:00
Nick Mathewson
ecff8731cc
Sketch for some options and design issues around FFI/RPC
...
This is just a beginning, but hopefully we can expand it with more
information and options, and then use it to get everybody in our
nascent FFI/RPC working group on the same page.
2023-01-13 09:47:37 -05:00
Nick Mathewson
56cb2d2a10
Make a top-level API for connecting to onion services.
...
Fortunately, it adds very little to the arti-client API surface.
2023-01-12 09:28:58 -05:00
Nick Mathewson
7030cbe460
Merge branch 'onion-netdir-apis' into 'main'
...
Add onion service APIs to tor-netdir
See merge request tpo/core/arti!966
2023-01-11 16:08:18 +00:00
Nick Mathewson
a481ec334b
Merge branch 'onion-service-netparams' into 'main'
...
netdir: add network parameters related to onion services
See merge request tpo/core/arti!968
2023-01-11 16:06:53 +00:00
Nick Mathewson
de3f10f492
netdir: add network parameters related to onion services
...
These are available unconditionally, since they represent
comparatively little storage and processing effort.
See param-spec.txt section 8 for the original information here.
2023-01-11 09:10:08 -05:00
Nick Mathewson
136f70545d
tor-units: Add an IntegerMinutes.
2023-01-11 09:10:08 -05:00
Nick Mathewson
5b74ef7af9
Adjust onion service ring APIs in light of prop#342
...
* 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.
2023-01-11 09:04:13 -05:00
Nick Mathewson
f24f8d295c
Sketch APIs for the onion service directory ring.
...
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 .
2023-01-11 09:04:13 -05:00
Nick Mathewson
2c41321710
Netdoc: Refactor SharedRandVal.
...
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.
2023-01-11 09:04:12 -05:00
Nick Mathewson
d7abced11f
hscrypto: Add several derives
...
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.
2023-01-11 09:04:12 -05:00
Ian Jackson
3baa4a9017
Merge branch 'tokio-upgrade' into 'main'
...
Upgrade to latest tokio, for security fix.
See merge request tpo/core/arti!967
2023-01-09 18:28:23 +00:00
Ian Jackson
d6800bae0c
Merge branch 'blind_privkey' into 'main'
...
llcrypto: Implement secret-key blinding.
Closes #719
See merge request tpo/core/arti!964
2023-01-09 18:06:00 +00:00
Nick Mathewson
78a89c0057
Upgrade to latest tokio, for security fix.
...
On 1.22, cargo audit is complaining about RUSTSEC-2023-0001.
We aren't affected, since we don't use windows named pipes (yet),
but let's make cargo audit happier.
2023-01-09 12:58:04 -05:00
eta
cea6396513
Merge branch 'typos' into 'main'
...
Fix typos
See merge request tpo/core/arti!965
2023-01-09 14:44:00 +00:00
eta
371bcdc554
Merge branch 'arti-hyper-fixing-715' into 'main'
...
Temporary fix for #715 and #569
Closes #715
See merge request tpo/core/arti!958
2023-01-09 14:43:37 +00:00
Dimitris Apostolou
892c6eaadf
Fix typos
2023-01-07 20:35:54 +02:00
Michael van Straten
2e8c38d11d
Removed unnecessary "all()" cfg constraint
2023-01-07 13:00:40 +01:00
Michael van Straten
90a25fa21a
Added x86_64-apple-darwin to fallback to "tls-api-openssl"
2023-01-07 12:57:23 +01:00
Nick Mathewson
c4a48f4b07
Merge branch 'build_profiles' into 'main'
...
Add a new "light" build profile between "dev" and "release".
Closes #639
See merge request tpo/core/arti!960
2023-01-06 19:28:40 +00:00
Nick Mathewson
2ad198784d
Merge branch 'hilev_docs' into 'main'
...
Architecture: More high-level documentation and diagrams.
Closes #624
See merge request tpo/core/arti!963
2023-01-06 19:17:29 +00:00
Nick Mathewson
5b9be68629
Add a new "quicktest" build profile between "dev" and "release".
...
"quicktest" is meant to build faster than our (tuned for size above
all) release profile, while having enough optimization to perform
reasonably well when used for testing.
Closes #639 .
2023-01-06 13:54:39 -05:00
Michael van Straten
0a04851636
fixed "broken_intra_doc_link"
2023-01-06 19:43:44 +01:00
Nick Mathewson
a0ddf51f77
Architecture.md: Move title outside of diagram
...
Apparently, Mermaid 9.1 did not support this.
2023-01-06 13:37:27 -05:00
Nick Mathewson
8472acf3ac
Merge branch 'onion-api-v0.2' into 'main'
...
Onion service APIs, part 1.
See merge request tpo/core/arti!959
2023-01-06 18:32:36 +00:00
Ian Jackson
0c2f800ab0
Merge branch 'sensitive' into 'main'
...
tor-proto: Remove some sensitive info from errors
See merge request tpo/core/arti!934
2023-01-06 18:07:26 +00:00
Nick Mathewson
7f6e3e19a3
Sketch a solution for arti#525
2023-01-06 13:03:50 -05:00
Nick Mathewson
91d9ffe0b6
Sketch out new required APIs in tor-cell
2023-01-06 13:03:50 -05:00
Nick Mathewson
9a54e01dd0
tor-cert: add a few hs TODOs
2023-01-06 13:03:50 -05:00
Nick Mathewson
eba937e54c
netdoc: Outline some basic types for encoding HsDescs.
2023-01-06 13:03:50 -05:00
Nick Mathewson
fe9bf17937
Add a protocol overview for onion services.
2023-01-06 13:03:50 -05:00