summaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
...
| * maint/tag-arti-releaes: New scriptIan Jackson2024-06-271-0/+36
| |
| * maint/changelog-syntax-fiddle: New scriptIan Jackson2024-06-271-0/+36
| |
* | maint/check-cli-help: Don't attempt to parse wrapped help lines.Gabriela Moldovan2024-06-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Skip parsing the next line unless it starts with two spaces followed by a non-whitespace character. This ensures we don't accidentally try to parse a wrapped help line as a command. This enables it to parse commands with wrapping descriptions, such as ``` Usage: arti hsc [OPTIONS] <COMMAND> Commands: prepare-service-discovery-key Prepare a service discovery key for connecting to a service running in restricted discovery mode help Print this message or the help of the given subcommand(s) ```
* | arti: Add an arti hsc subcommand.Gabriela Moldovan2024-06-271-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds an experimental `arti hsc` subcommand for managing client state and keys. Currently, it only supports the `prepare-service-discovery-keys` operation described in #1281 and `doc/dev/notes/client-auth.md`. A note on terminology: I am referring to services that encrypt the second layer of their descriptor as running in "restricted discovery" mode (because they can only be discovered, i.e. have their IPT points found out, by a set of authorized clients). The corresponding client "auth" keys, being the keys that enable the client to find out the list of intro points, pow-params etc. of the service, are referred to as service "discovery keys". Alternative names I considered: * extra descriptor encryption: accurate, but overly technical. IMO, the CLI should be accessible to users who aren't familiar with the nitty-gritty of the protocol * shielded mode: good, but slightly misleading. Calling it "shielded mode" makes it sound like a universally desirable "extra protection" that should almost always be enabled (which is not the case). Seeing `shielded_mode = off` in the config might be worry operators that don't fully understand what "extra descriptor encryption" or "shielded mode" means * restricted mode: slightly inaccurate. It implies this mechanism is a good substitute for conventional service-side authentication, which it isn't (because client authorization isn't instantaneous) Closes #1281
* Explain in a comment why x32 is disabledIan Jackson2024-06-271-0/+1
|
* Disable x86_64-unknown-linux-gnux32 test caseIan Jackson2024-06-271-1/+1
| | | | | | | This only runs in scheduled jobs. And it doesn't work right now. It hasn't passed for at least a month, but it's not clear how much of that time it was being run because the osx failure would mask it.
* Remove arti-hyperIan Jackson2024-06-251-1/+0
| | | | | | This has been obsolete for a very long time. We have already published a version with a "won't be updated" warning.
* Update to base32 0.5Ian Jackson2024-06-251-1/+1
| | | | | | | No code changes needed. Precisely nailing-cargo -Eu upgrade --incompatible -p base32
* Update to itertools 0.13.0Ian Jackson2024-06-251-1/+1
| | | | | | | No code changes needed. Precisely nailing-cargo -Eu upgrade --incompatible -p itertools
* maint/crates-io-utils.sh: Try to deconfuse shellcheckIan Jackson2024-06-241-0/+6
|
* Remove check-crate-owners scriptIan Jackson2024-06-241-35/+0
| | | | | | | | This is superseded now. (I wish I had noticed it; perhaps I could have souped it up rather than writing a whole new thing, but I think the result would have been much the same.)
* maint/cargo-crate-owners: More sophisticated ownership check scriptIan Jackson2024-06-241-0/+90
| | | | | | | | | | | | | | | | | Compared to check-crate-owners: 1. Checks for uniformity, rather than having an embedded list of intended maintainers. 2. Uses curl | jq, rather than `cargo owner`. This is necessary for: 3. Ignores crates which have never been published. This is necessary to be able to run this in CI, since there may be new crates in the workspace. 4. Prints the ownership information rather differently - just the usernames. This is a consequence of using curl | jq.
* maint/crates-io-utils.sh: Add preserving tmp featureIan Jackson2024-06-241-2/+8
| | | | This is useful for debugging.
* maint/crates-io-utils.sh: Add exit status control featureIan Jackson2024-06-241-1/+5
|
* maint/crates-io-utils.sh: Break out from cargo-publishIan Jackson2024-06-242-30/+62
|
* shellcheck: check *.sh files tooIan Jackson2024-06-241-1/+4
| | | | | We (will) use `*.sh` for shell include files. We're about to make one of these.
* maint: Fix check-cli-help to pass shellcheckDavid Goulet2024-06-111-4/+3
| | | | Signed-off-by: David Goulet <[email protected]>
* relay: Add relay cargo feature flag and subcommandDavid Goulet2024-06-111-1/+2
| | | | | | | | | | Add the optional non default feature flag "relay" that will be used to enable relay support of arti. This commit also adds the "relay" subcommand to arti binary conditionnal on the feature flag in order to have a place holder starting point. Signed-off-by: David Goulet <[email protected]>
* Merge branch 'check-crate-owners' into 'main'Nick Mathewson2024-06-101-0/+35
|\ | | | | | | | | | | | | Script to check crate ownership Closes #1462 See merge request tpo/core/arti!2196
| * check-crate-owners: prefer /usr/bin/env bashgabi-2502024-06-101-1/+1
| |
| * New script to check the crates.io owners of our cratesNick Mathewson2024-06-101-0/+35
| |
* | maint/extract-md-links: Use /usr/bin/env for more flexibility.Gabriela Moldovan2024-06-051-1/+1
|/ | | | | | | | I needed to use a virtual env to run this script (it doesn't work with the mistune version packaged by arch), but found myself unable to without changing the interpreter directive in `maint/extract-md-links`. Closes #1460
* Run fixup-features in preparation for release.Gabriela Moldovan2024-06-051-0/+3
|
* Merge branch 'upgrades-20240531' into 'main'David Goulet2024-06-031-2/+2
|\ | | | | | | | | Upgrade and update packages for upcoming release See merge request tpo/core/arti!2177
| * Update check_licenses for priority-queue and tinystrNick Mathewson2024-05-311-2/+2
| |
* | Merge branch 'keymgr-key-scripts' into 'main'gabi-2502024-06-036-0/+378
|\ \ | |/ |/| | | | | tor-keymgr: Add script for generating test key files. See merge request tpo/core/arti!2121
| * maint/keygen-openssh-test: Make keygen deterministic.Gabriela Moldovan2024-05-164-48/+90
| |
| * keygen-openssh-test: Update docs.Gabriela Moldovan2024-05-161-1/+1
| |
| * maint/keygen-openssh-test: Remove suffix from generate.sh script.Gabriela Moldovan2024-05-152-2/+2
| |
| * maint/keygen-openssh-test: Sort dependencies.Gabriela Moldovan2024-05-151-2/+2
| |
| * maint/keygen-openssh-test: Add crate license and description.Gabriela Moldovan2024-05-151-0/+6
| |
| * maint/keygen-openssh-test: Update README.Gabriela Moldovan2024-05-151-3/+16
| | | | | | | | | | The README now applies to the generate.sh script too, so it had to be updated.
| * tor-keymgr: Move keygen script to maint.Gabriela Moldovan2024-05-156-0/+317
| |
* | maint/update-md-links: avoid * import from typingIan Jackson2024-05-291-1/+1
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2169#note_3033481
* | maint/update-md-links: Add type handling for regexp edge casesIan Jackson2024-05-281-3/+6
| |
* | maint/update-md-links: Add easy type annotationsIan Jackson2024-05-281-8/+12
| |
* | Merge branch 'links' into 'main'Nick Mathewson2024-05-163-14/+512
|\ \ | | | | | | | | | | | | | | | | | | Provide and run script for making/checking link blocks in CHANGELOG.md Closes #1388 See merge request tpo/core/arti!2126
| * | update-md-links: Actually bomb out if subprocess failsIan Jackson2024-05-161-0/+1
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2126#note_3030954
| * | update-md-links: Use enumerate()Ian Jackson2024-05-071-4/+2
| | | | | | | | | | | | | | | Suggested here https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2126#note_3026423
| * | update-md-links: (Always) print something confirmatory to stdoutIan Jackson2024-05-071-1/+6
| | |
| * | update-md-links: Host code into functions and add typesIan Jackson2024-05-071-167/+214
| | |
| * | update-md-links: Add many comments / helpstringsIan Jackson2024-05-071-2/+49
| | |
| * | update-md-links: Minor code motion for tidying upIan Jackson2024-05-071-2/+3
| | |
| * | update-md-links: Avoid literally stating the blocking todoIan Jackson2024-05-071-2/+2
| | |
| * | update-md-links: With --check, remove the .tmp file if all is OKIan Jackson2024-05-071-0/+1
| | |
| * | update-md-links: Replace use of assert with bespoke functionIan Jackson2024-05-071-2/+7
| | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2126#note_3026420
| * | maint/update-md-links: Add --check modeIan Jackson2024-05-021-1/+10
| | |
| * | maint/update-md-links: New script for fully sorting out CHANGELOGIan Jackson2024-05-021-0/+260
| | |
| * | maint/gen_md_links: Use the proper parser scriptIan Jackson2024-05-021-13/+13
| | |
| * | maint/extract-md-links: New scriptIan Jackson2024-05-021-0/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be used by gen_md_links, instead of the regexp-based ad-hoc parser there. The existing parser gets wrong things like " `#[must_use]` ", thinking that's a link. Use a proper Markdown parser. But, we must commit some abuse, sadly.