Skip to content

sd-proxy: set up onion service authentication (Restricted Onion Service) #1382

@deeplow

Description

@deeplow

In order to access the journalist interface's onion service, we need to setup authenticated onion services with arti. This requires two things:

  1. Choose key format
  2. Configure chosen format on-boot via qubesdb (similar to whonix-config)

From the docs:

From C Tor to Arti

Partially works:

  • Arti can use existing C Tor keys.
  • Arti uses the SSH format.
  • Migrating keys from C Tor to Arti's format is still not available, but
    needs to be implemented at some point, so Onion Service Operators can fully
    migrate their services to Arti.

Issue tracking progress on the conversion tooling is available at https://gitlab.torproject.org/tpo/core/arti/-/issues/860

Background on Key Format Options

  1. Arti key store- stores keys in OpenSSH format. There is probably a way to convert it but it's not yet implemented (worked tracked here)
  2. ctor format - is supported in arti, but as of writing this is marked as __is_experimental in cargo.toml.

Options

  1. ctor format + conversion to arti format:
  • (-) official conversion tool not yet available (can we do it via CLI tools somewhat like this)
  1. ctor format:
  • (+) Should already be working
  • (-) is experimental, but does this compromise affect security or just stability
  1. arti format + ask admins to regenerate keys
  • (+) More future prone - eventually we'll want admins to generate keys with arti and this way we never have to support two configuration formats
  • (-) Requires admins' time and attention
  • (-) Arti key generation seems is not in by default (arti hsc), it's probably experimental.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready to go

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions