freedomofpress / securedrop

GitHub repository for the SecureDrop whistleblower platform. Do not submit tips here!
https://securedrop.org/
Other
3.62k stars 685 forks source link

DNM: Power `make dev-tor` with Arti #7207

Open legoktm opened 2 months ago

legoktm commented 2 months ago

Status

Work in progress

Description of Changes

The authenticated onion service stuff is still unmerged (https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2266), so we build Arti from the MR and it works! Generating a config.toml file seems much cleaner than adding to torrc and generating .auth files.

The main upside for this is that using Arti is cool and gets it more real-world testing. But the downside is that it takes a non-trivial amount of time to build Arti locally and maybe it's not worth doing until we have pre-package/downloadable binaries. :thinking:

Testing

How should the reviewer test this PR? Write out any special testing steps here.

Deployment

Any special considerations for deployment? Consider both:

  1. Upgrading existing production instances.
  2. New installs.

Checklist

If you made changes to the server application code:

If you made changes to securedrop-admin:

If you made changes to the system configuration:

If you added or removed a file deployed with the application:

If you made non-trivial code changes:

Choose one of the following:

If you added or updated a reference to a production code dependency:

Production code dependencies are defined in:

If you changed another requirements.in file that applies only to development or testing environments, then no diff review is required, and you can skip (remove) this section.

Choose one of the following: