| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | hscrypto: Add our standard clippy warnings | Nick Mathewson | 2023-01-24 | 4 | -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 Mathewson | 2023-01-24 | 4 | -11/+233 | |
| | | | | | | | | | | | | | | | | This implementation was made based on the specification, and then validated against itself, and against C Tor. | |||||
| | * | | hscrypto: Add an implementation for TimePeriod | Nick Mathewson | 2023-01-24 | 3 | -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 Mathewson | 2023-01-24 | 3 | -2/+59 | |
| | | | | ||||||
| | * | | hscrypto: Improve documentation for RendCookie | Nick Mathewson | 2023-01-24 | 1 | -1/+5 | |
| | | | | ||||||
| | * | | hscrypto: use a macro to define our byte wrappers too. | Nick Mathewson | 2023-01-24 | 3 | -10/+56 | |
| | | | | ||||||
| | * | | hscrypto: Add and use a macro to define all PK types. | Nick Mathewson | 2023-01-24 | 5 | -37/+92 | |
| | | | | ||||||
| | * | | hscrypto: A couple of spelling fixes. | Nick Mathewson | 2023-01-24 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | hscrypto: Associate each type with new name from rend-spec-v3.txt | Nick Mathewson | 2023-01-24 | 2 | -10/+12 | |
| | | | | ||||||
| * | | | exportedapisketc: note that HTTP can be tricky. | Nick Mathewson | 2023-01-26 | 1 | -0/+12 | |
| | | | | ||||||
| * | | | Merge branch 'netdoc-builder' into 'main' | eta | 2023-01-26 | 9 | -189/+504 | |
| |\ \ \ | | | | | | | | | | | | | | | | | tor-netdoc: Provide NetdocEncoder (internal) See merge request tpo/core/arti!984 | |||||
| | * | | | Add missing docsrs attribute | Ian Jackson | 2023-01-24 | 1 | -0/+1 | |
| | | | | | ||||||
| | * | | | netdoc builder: Add two TODOs, prompted by testing experience | Ian Jackson | 2023-01-24 | 1 | -0/+6 | |
| | | | | | ||||||
| | * | | | netdoc builder test: Make a bigger dummy document and test reparsing | Ian Jackson | 2023-01-24 | 1 | -2/+26 | |
| | | | | | ||||||
| | * | | | netdoc builder: Implement object() and add one test case | Ian Jackson | 2023-01-24 | 2 | -2/+50 | |
| | | | | | ||||||
| | * | | | netdoc-builder: Initial test case (no object yet) | Ian Jackson | 2023-01-24 | 1 | -0/+47 | |
| | | | | | ||||||
| | * | | | netdoc-builder: Provide new() method | Ian Jackson | 2023-01-24 | 1 | -0/+7 | |
| | | | | | ||||||
| | * | | | netdoc-builder: Implement ItemArgument for more needed types | Ian Jackson | 2023-01-24 | 2 | -6/+45 | |
| | | | | | ||||||
| | * | | | netdoc-builder: Remove some obsolete comments | Ian Jackson | 2023-01-24 | 1 | -11/+0 | |
| | | | | | ||||||
| | * | | | netdoc-builder: Move example into implementation doc comment | Ian Jackson | 2023-01-24 | 2 | -20/+16 | |
| | | | | | | | | | | | | | | | | | Not actually tested yet | |||||
| | * | | | netdoc-builder: Implement most of the internal general doc builder | Ian Jackson | 2023-01-24 | 1 | -23/+83 | |
| | | | | | ||||||
| | * | | | netdoc-builder api: Clarify docs for object() | Ian Jackson | 2023-01-24 | 1 | -3/+8 | |
| | | | | | ||||||
| | * | | | netdoc-builder api: Introduce ItemArgument trait | Ian Jackson | 2023-01-24 | 1 | -2/+32 | |
| | | | | | ||||||
| | * | | | netdoc-builder api: Have .item() return ItemBuilder | Ian Jackson | 2023-01-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | This was a slip in the design doc. | |||||
| | * | | | netdoc-builder api: Abolish `K` generic on ItemEncoder | Ian Jackson | 2023-01-24 | 1 | -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 value | Ian Jackson | 2023-01-24 | 1 | -3/+0 | |
| | | | | | ||||||
| | * | | | netdoc-builder api: Make ItemEncoder methods consume and return self | Ian Jackson | 2023-01-24 | 1 | -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 Jackson | 2023-01-24 | 1 | -6/+7 | |
| | | | | | ||||||
| | * | | | netdoc-builder api: Move internal API into actual code file | Ian Jackson | 2023-01-24 | 3 | -135/+180 | |
| | | | | | | | | | | | | | | | | | Motion, plus the bare minimum needed to make it compile. | |||||
| | * | | | netdoc-builder api: Remove obsolete proposed `Item` changes | Ian Jackson | 2023-01-24 | 1 | -24/+0 | |
| | | | | | | | | | | | | | | | | | We decided against these in !969 | |||||
| | * | | | tor-netdoc: tokenize: Provide BASE64_PEM_MAX_LINE | Ian Jackson | 2023-01-24 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | We'll use this in the netdoc builder, but it naturally lives here. | |||||
| | * | | | tor-netdoc: tokenize: Rename to tag_keywords_ok, document, expose | Ian Jackson | 2023-01-24 | 1 | -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 Jackson | 2023-01-24 | 1 | -6/+11 | |
| | | | | | | | | | | | | | | | | | The document builder wants these too. | |||||
| | * | | | tor-netdoc: Make AuthCertKwd pub(crate) | Ian Jackson | 2023-01-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | For now, this will be useful in a test. | |||||
| | * | | | tor-bytes: impl Writeable for &impl Writeable | Ian Jackson | 2023-01-24 | 2 | -0/+7 | |
| | | | | | ||||||
| | * | | | tor-bytes: Implement conversion from EncodeError to Bug | Ian Jackson | 2023-01-24 | 2 | -1/+17 | |
| | | | | | ||||||
| * | | | | Merge branch 'env' into 'main' | eta | 2023-01-26 | 40 | -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/env | Emil Engler | 2023-01-25 | 1 | -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 paths | Emil Engler | 2023-01-25 | 40 | -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' | eta | 2023-01-26 | 1 | -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 sensitive | Ian Jackson | 2023-01-24 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | Pursuant to #556 | |||||
| * | | | | New results for heap_and_download_size.md | Nick Mathewson | 2023-01-25 | 1 | -0/+13 | |
| | |/ / |/| | | ||||||
| * | | | Merge branch 'onion-api-highlevel' into 'main' | Nick Mathewson | 2023-01-24 | 18 | -2/+565 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Onion-service APIs: circmgr, hsclient, hsservice See merge request tpo/core/arti!972 | |||||
| | * | | | Note a needed isolation API. | Nick Mathewson | 2023-01-24 | 1 | -0/+6 | |
| | | | | | ||||||
| | * | | | hsservice: Add a note about the contents of circ_info. | Nick Mathewson | 2023-01-24 | 1 | -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 Mathewson | 2023-01-24 | 9 | -0/+253 | |
| | | | | | ||||||
| | * | | | Add a new stub hsclient module to connect to onion services. | Nick Mathewson | 2023-01-24 | 7 | -0/+187 | |
| | | | | | ||||||
| | * | | | CircMgr: Draft API to construct targeted multihop circuits. | Nick Mathewson | 2023-01-24 | 1 | -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 Mathewson | 2023-01-24 | 5 | -1/+89 | |
| | | |/ | |/| | ||||||
| * | | | Merge branch 'onion-proto-apis' into 'main' | Nick Mathewson | 2023-01-24 | 7 | -20/+252 | |
| |\ \ \ | | | | | | | | | | | | | | | | | Draft APIs for onion services in tor-proto See merge request tpo/core/arti!970 | |||||
