| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | doc dev: Add a TODO about --pub-format=arti | Gabriela Moldovan | 2024-01-08 | 1 | -0/+3 | |
| | | | | | ||||||
| | * | | | Revert "dev doc: Add import-key/export-key hsc subcommands." | Gabriela Moldovan | 2024-01-08 | 1 | -96/+0 | |
| | | | | | | | | | | | | | | | | | This reverts commit 2c4e3773baf18b0f40e0d96c56d72c5515691a63. | |||||
| | * | | | dev doc: Add TODO about converting C Tor state to Arti state. | Gabriela Moldovan | 2024-01-08 | 1 | -0/+4 | |
| | | | | | ||||||
| | * | | | dev doc: Clarify how new-service is supposed to work. | Gabriela Moldovan | 2024-01-08 | 1 | -0/+11 | |
| | | | | | ||||||
| | * | | | dev doc: Auth public keys should be printed to stdout (fmt). | Gabriela Moldovan | 2024-01-08 | 1 | -6/+5 | |
| | | | | | ||||||
| | * | | | dev doc: Auth public keys should be printed to stdout. | Gabriela Moldovan | 2024-01-08 | 1 | -14/+14 | |
| | | | | | ||||||
| | * | | | Add a note about destroy-and-recreate. | Gabriela Moldovan | 2024-01-08 | 1 | -0/+27 | |
| | | | | | ||||||
| | * | | | dev doc: Clarify how generate-online-keys is supposed to work. | Gabriela Moldovan | 2024-01-08 | 1 | -16/+25 | |
| | | | | | ||||||
| | * | | | dev doc: Make --up-to specify a timestamp/duration. | Gabriela Moldovan | 2024-01-08 | 1 | -7/+13 | |
| | | | | | ||||||
| | * | | | dev doc: Generalize the keys-verify description. | Gabriela Moldovan | 2024-01-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | This command is not specific to services. | |||||
| | * | | | doc dev: Rename destroy-service to destroy. | Gabriela Moldovan | 2024-01-08 | 1 | -6/+6 | |
| | | | | | ||||||
| | * | | | dev doc: Add import-key/export-key hsc subcommands. | Gabriela Moldovan | 2024-01-08 | 1 | -0/+96 | |
| | | | | | ||||||
| | * | | | dev doc: Add TODO about managing the authorized clients. | Gabriela Moldovan | 2024-01-08 | 1 | -0/+22 | |
| | | | | | ||||||
| | * | | | dev doc: s/new-identity/new-service and clarify its meaning. | Gabriela Moldovan | 2024-01-08 | 1 | -14/+22 | |
| | | | | | ||||||
| | * | | | dev doc: Explain what generate-online-keys is used for. | Gabriela Moldovan | 2024-01-08 | 1 | -8/+13 | |
| | | | | | ||||||
| | * | | | dev doc: s/generate-all/generate-online-keys | Gabriela Moldovan | 2024-01-08 | 1 | -11/+11 | |
| | | | | | ||||||
| | * | | | dev doc: Move the plumbing subcommands under the keys-raw subcommand. | Gabriela Moldovan | 2024-01-08 | 1 | -39/+77 | |
| | | | | | ||||||
| | * | | | dev doc: Rename the subcommand for erasing service state. | Gabriela Moldovan | 2024-01-08 | 1 | -6/+6 | |
| | | | | | ||||||
| | * | | | dev doc: Add keymgr CLI doc sketch. | Gabriela Moldovan | 2024-01-08 | 1 | -0/+856 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the second draft of the keymgr CLI design. I've omitted a lot of details which I think ought to be included in the final CLI docs. This document lists the most important functionality we're going to need from this CLI. | |||||
| * | | | Merge branch 'keyspec' into 'main' | Ian Jackson | 2024-01-08 | 8 | -363/+774 | |
| |\ \ \ | |_|/ |/| | | | | | | | | | | | | | | KeySpecifier improvements Closes #1126, #1147, and #1151 See merge request tpo/core/arti!1851 | |||||
| | * | | tor-keymgr: KeySpecifierPattern: fix grammar | Ian Jackson | 2024-01-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1851#note_2981473 | |||||
| | * | | tor-keymgr: KeySpecifierPattern: fix docs | Ian Jackson | 2024-01-08 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | Swap the docs for new_any and arti_pattern to the right methods! As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1851#note_2981475 | |||||
| | * | | tor-keymgr: Fix typos | gabi-250 | 2024-01-08 | 2 | -4/+4 | |
| | | | | ||||||
| | * | | KeySpecifier etc: apply deferred rustfmt import churn | Ian Jackson | 2024-01-04 | 2 | -2/+2 | |
| | | | | ||||||
| | * | | KeyPathInfo: Add role field | Ian Jackson | 2024-01-04 | 2 | -2/+27 | |
| | | | | | | | | | | | | | This *is* the spec name. | |||||
| | * | | KeySpecifier d-a macro: Populate extra_info | Ian Jackson | 2024-01-04 | 2 | -2/+20 | |
| | | | | | | | | | | | | | Finishes arti#1151 item 10. | |||||
| | * | | KeySpecifier d-a macro: Use dyn for describing | Ian Jackson | 2024-01-04 | 2 | -24/+75 | |
| | | | | | | | | | | | | | This also passes the information we'll need to populate extra_info. | |||||
| | * | | KeySpecifier d-a macro: Add a test for describing | Ian Jackson | 2024-01-04 | 1 | -0/+16 | |
| | | | | ||||||
| | * | | KeySpecifier d-a macro: Mnaully wrap two long lines | Ian Jackson | 2024-01-04 | 1 | -2/+6 | |
| | | | | ||||||
| | * | | KeySpecifier d-a macro: Use doc-hidden re-exports | Ian Jackson | 2024-01-04 | 2 | -9/+7 | |
| | | | | ||||||
| | * | | KeySpecifier d-a macro: Name result by whole path | Ian Jackson | 2024-01-04 | 1 | -2/+2 | |
| | | | | | | | | | | | | | This will make the macro work if call sites rebind Result. | |||||
| | * | | KeySpecifier d-a macro: Use derive-adhoc's pasting feature | Ian Jackson | 2024-01-04 | 1 | -6/+4 | |
| | | | | | | | | | | | | | | | | The KeyInfoExtractor impl is still misindented but we'll change that when we replace it. | |||||
| | * | | KeySpecifier d-a macro: Use dyn for parsing | Ian Jackson | 2024-01-04 | 1 | -91/+181 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now the only place that knows how to do all this is the one place in the macro. The indentation is -4 compared to previously, because we're going to remove the wrapping with paste::paste! later. It's convenient to do this reindent now, while we're rewriting it. arti#1151 item 5. | |||||
| | * | | KeyPathError::PatternNotMatched: Remove pattern from error | Ian Jackson | 2024-01-04 | 2 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can only happen if we tried to parse an ArtiPath as the wrong kind of KeySpecifier, which shouldn't happen very often. If it does, the pattern isn't that interesting. Which is just as well, since we're about to make it a bit harder to obtain it in the place where this error is going to be constructed. | |||||
| | * | | KeySpecifier d-a macro: Do not produce fn new() | Ian Jackson | 2024-01-04 | 2 | -20/+7 | |
| | | | | | | | | | | | | | | | | | | | Where we wanted this, use derive_more::Constructor isntead. arti#1151 item 6. | |||||
| | * | | KeySpecifier d-a macro: Say what we produce, in the docs | Ian Jackson | 2024-01-04 | 1 | -1/+17 | |
| | | | | ||||||
| | * | | KeySpecifier: Make KeySpecifierPattern a trait | Ian Jackson | 2024-01-04 | 5 | -11/+23 | |
| | | | | | | | | | | | | | | | | | | | So now .arti_pattern() is a trait method. arti#1151 item 3. | |||||
| | * | | KeySpecifier d-a macro: Abolish prefix fns | Ian Jackson | 2024-01-04 | 2 | -55/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | arti_prefix is no longer used. Abolish prefix too. arti#1151 item 7. Closes #1147. | |||||
| | * | | KeySpecifier d-a macro: Introduce SomeSpecifierPattern and use dyn | Ian Jackson | 2024-01-04 | 4 | -43/+79 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a better API. The implementation has less monomorphisation. arti#1151 item 2 and the patterns part of 4. Closes #1126. | |||||
| | * | | KeySpecifier d-a macro: Use dyn for arti_path | Ian Jackson | 2024-01-04 | 1 | -11/+153 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces monomorphisation. arti#1151 item 4. The commentary reflects a decision not to do arti#1151 item 9 (using fmt signature for to_component) at this time. | |||||
| | * | | KeySpecifier tests: add a TimePeriod test | Ian Jackson | 2024-01-04 | 3 | -2/+38 | |
| | | | | ||||||
| | * | | KeySpecifierComponent: Add .fmt_pretty() method | Ian Jackson | 2024-01-04 | 1 | -1/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | Part of arti#1151 item 10. Discussion in https://gitlab.torproject.org/tpo/core/arti/-/issues/1151#note_2977278 | |||||
| | * | | tor-hsservice: Drop an unused import | Ian Jackson | 2024-01-04 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | I'm not sure why the compiler doesn't complain about this already, but it becomes "more" unused later. | |||||
| | * | | KeySpecifier d-a macro: Move to its own module | Ian Jackson | 2024-01-04 | 3 | -318/+336 | |
| | | | | | | | | | | | | | This is going to expand and gain private helper methods. | |||||
| | * | | KeySpecifier d-a macro: insist on structs | Ian Jackson | 2024-01-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | We don't handle enums and we don't want to try. Put this here as documentation of this intent. | |||||
| | * | | KeySpecifier d-a macro: rename from KeySpecifierDefault | Ian Jackson | 2024-01-03 | 3 | -18/+18 | |
| | |/ | | | | | | | arti#1151 item 1. | |||||
| * | | Merge branch 'fix-ambitious-certtype' into 'main' | Ian Jackson | 2024-01-08 | 1 | -1/+2 | |
| |\ \ | | | | | | | | | | | | | tor-cell: Fix ambitious certtype See merge request tpo/core/arti!1846 | |||||
| | * | | tor-cell: Fix ambitious certtype | Emil Engler | 2023-12-28 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | When using the `arti-client` crate in other contexes, the Rust compiler sometimes has difficulties with determining the current type in this particular case, due to a collision with the popular serde json crate, which also provides an implementation for converting u8. | |||||
| * | | | Merge branch 'da-allow' into 'main' | gabi-250 | 2024-01-08 | 7 | -14/+39 | |
| |\ \ \ | |_|/ |/| | | | | | | | | Update to derive-adhoc 0.8 and remove an allow See merge request tpo/core/arti!1850 | |||||
| | * | | Remove an unneeded allow | Ian Jackson | 2024-01-02 | 1 | -2/+0 | |
| | | | | | | | | | | | | | Now d-a #27 is fixed, we don't need this. | |||||
