summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | hscrypto: Add our standard clippy warningsNick Mathewson2023-01-244-1/+66
| | | | | | | | | | | | | | | | | | (I have squashed the fixes for these warnings into the earlier commits in this branch, so it will look like I did everything right the first time.)
| * | hscrypto: Implement key blinding.Nick Mathewson2023-01-244-11/+233
| | | | | | | | | | | | | | | This implementation was made based on the specification, and then validated against itself, and against C Tor.
| * | hscrypto: Add an implementation for TimePeriodNick Mathewson2023-01-243-11/+120
| | | | | | | | | | | | | | | This required some API tweaks, which is probably to be expected; these time periods are a wonky kind of thing.
| * | hscrypto: Implement hs_mac.Nick Mathewson2023-01-243-2/+59
| | |
| * | hscrypto: Improve documentation for RendCookieNick Mathewson2023-01-241-1/+5
| | |
| * | hscrypto: use a macro to define our byte wrappers too.Nick Mathewson2023-01-243-10/+56
| | |
| * | hscrypto: Add and use a macro to define all PK types.Nick Mathewson2023-01-245-37/+92
| | |
| * | hscrypto: A couple of spelling fixes.Nick Mathewson2023-01-241-2/+2
| | |
| * | hscrypto: Associate each type with new name from rend-spec-v3.txtNick Mathewson2023-01-242-10/+12
| | |
* | | exportedapisketc: note that HTTP can be tricky.Nick Mathewson2023-01-261-0/+12
| | |
* | | Merge branch 'netdoc-builder' into 'main'eta2023-01-269-189/+504
|\ \ \ | | | | | | | | | | | | | | | | tor-netdoc: Provide NetdocEncoder (internal) See merge request tpo/core/arti!984
| * | | Add missing docsrs attributeIan Jackson2023-01-241-0/+1
| | | |
| * | | netdoc builder: Add two TODOs, prompted by testing experienceIan Jackson2023-01-241-0/+6
| | | |
| * | | netdoc builder test: Make a bigger dummy document and test reparsingIan Jackson2023-01-241-2/+26
| | | |
| * | | netdoc builder: Implement object() and add one test caseIan Jackson2023-01-242-2/+50
| | | |
| * | | netdoc-builder: Initial test case (no object yet)Ian Jackson2023-01-241-0/+47
| | | |
| * | | netdoc-builder: Provide new() methodIan Jackson2023-01-241-0/+7
| | | |
| * | | netdoc-builder: Implement ItemArgument for more needed typesIan Jackson2023-01-242-6/+45
| | | |
| * | | netdoc-builder: Remove some obsolete commentsIan Jackson2023-01-241-11/+0
| | | |
| * | | netdoc-builder: Move example into implementation doc commentIan Jackson2023-01-242-20/+16
| | | | | | | | | | | | | | | | Not actually tested yet
| * | | netdoc-builder: Implement most of the internal general doc builderIan Jackson2023-01-241-23/+83
| | | |
| * | | netdoc-builder api: Clarify docs for object()Ian Jackson2023-01-241-3/+8
| | | |
| * | | netdoc-builder api: Introduce ItemArgument traitIan Jackson2023-01-241-2/+32
| | | |
| * | | netdoc-builder api: Have .item() return ItemBuilderIan Jackson2023-01-241-1/+1
| | | | | | | | | | | | | | | | This was a slip in the design doc.
| * | | netdoc-builder api: Abolish `K` generic on ItemEncoderIan Jackson2023-01-241-5/+7
| | | | | | | | | | | | | | | | | | | | We're going to eagerly encode the keyword, so this will be easy. Removing the generic simplifies the API.
| * | | netdoc-builder api: Don't promise to check args_raw_string valueIan Jackson2023-01-241-3/+0
| | | |
| * | | netdoc-builder api: Make ItemEncoder methods consume and return selfIan Jackson2023-01-241-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | This will actually make the pattern in the example work. The mentioned `ItemArgument` trait will arrive soon.
| * | | netdoc-builder api: Move internal API into actual code file (fmt)Ian Jackson2023-01-241-6/+7
| | | |
| * | | netdoc-builder api: Move internal API into actual code fileIan Jackson2023-01-243-135/+180
| | | | | | | | | | | | | | | | Motion, plus the bare minimum needed to make it compile.
| * | | netdoc-builder api: Remove obsolete proposed `Item` changesIan Jackson2023-01-241-24/+0
| | | | | | | | | | | | | | | | We decided against these in !969
| * | | tor-netdoc: tokenize: Provide BASE64_PEM_MAX_LINEIan Jackson2023-01-241-0/+3
| | | | | | | | | | | | | | | | We'll use this in the netdoc builder, but it naturally lives here.
| * | | tor-netdoc: tokenize: Rename to tag_keywords_ok, document, exposeIan Jackson2023-01-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename from _keyword_, since this actually checks the *multiple* keywords that can appear in an object's BEGIN line. Make this clear in the doc comment. Expose it for use by the netdoc builder.
| * | | tor-netdoc: tokenize: crate-Expose object::BEGIN_STR etc.Ian Jackson2023-01-241-6/+11
| | | | | | | | | | | | | | | | The document builder wants these too.
| * | | tor-netdoc: Make AuthCertKwd pub(crate)Ian Jackson2023-01-241-1/+1
| | | | | | | | | | | | | | | | For now, this will be useful in a test.
| * | | tor-bytes: impl Writeable for &impl WriteableIan Jackson2023-01-242-0/+7
| | | |
| * | | tor-bytes: Implement conversion from EncodeError to BugIan Jackson2023-01-242-1/+17
| | | |
* | | | Merge branch 'env' into 'main'eta2023-01-2640-41/+41
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | shell: use /usr/bin/env instead of absolute paths See merge request tpo/core/arti!988
| * | | | maint: update shellcheck_all with /usr/bin/envEmil Engler2023-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the shellcheck_all script, in order to look for /usr/bin/env, instead of /bin.
| * | | | shell: use /usr/bin/env instead of absolute pathsEmil Engler2023-01-2540-40/+40
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the shebang in all shell scripts from absolute paths (such as `/bin/bash` or `/usr/bin/python3`) to the `/usr/bin/env` binary with the accompanying interpreter as it's argument. The reason for this are as follows: - NixOS cannot work with absolute paths - BSD systems install their packages in /usr/local/bin
* | | | Merge branch 'sensitive' into 'main'eta2023-01-261-3/+4
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | tor-proto: Mark stream ids in errors as sensitive See merge request tpo/core/arti!986
| * | | tor-proto: Mark stream ids in errors as sensitiveIan Jackson2023-01-241-3/+4
| | | | | | | | | | | | | | | | Pursuant to #556
* | | | New results for heap_and_download_size.mdNick Mathewson2023-01-251-0/+13
| |/ / |/| |
* | | Merge branch 'onion-api-highlevel' into 'main'Nick Mathewson2023-01-2418-2/+565
|\ \ \ | | | | | | | | | | | | | | | | Onion-service APIs: circmgr, hsclient, hsservice See merge request tpo/core/arti!972
| * | | Note a needed isolation API.Nick Mathewson2023-01-241-0/+6
| | | |
| * | | hsservice: Add a note about the contents of circ_info.Nick Mathewson2023-01-241-0/+6
| | | | | | | | | | | | | | | | | | | | In order to store per-circuit information, it's a good idea if we provide something that can be the key of a `PtrWeakKeyHashMap`.
| * | | Sketch an API for onion services.Nick Mathewson2023-01-249-0/+253
| | | |
| * | | Add a new stub hsclient module to connect to onion services.Nick Mathewson2023-01-247-0/+187
| | | |
| * | | 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-245-1/+89
| | |/ | |/|
* | | 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