Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROJECT: Backup Tor Server #179

Open
2 tasks
shannona opened this issue Jan 4, 2023 · 1 comment
Open
2 tasks

PROJECT: Backup Tor Server #179

shannona opened this issue Jan 4, 2023 · 1 comment
Assignees
Labels
deliverable: services code for online services hosted by Blockchain Commons

Comments

@shannona
Copy link
Collaborator

shannona commented Jan 4, 2023

  • Learn how to backup Tor server keys
  • Make it easy to restore them

Lead: @nochiel

@shannona shannona added the deliverable: services code for online services hosted by Blockchain Commons label Jan 4, 2023
@nochiel
Copy link
Contributor

nochiel commented Mar 29, 2023

Tor services/servers make use of ephemeral and persistent keys. For BlockckainCommons TorGap architecture, we are interested in keys used for identity/authentication.

Client authorization is a feature added with Tor v3. It uses public-key cryptography: a public key is stored on the server offering the hidden service, then a client connects with the corresponding private key. In order for the client to access the service, the keys must match.*

BlockckainCommons runs Tor infrastructure that require key management:

  • Hidden services.
  • Tor exit nodes.

There are 2 options for managing and backing up secrets/keys:

In both cases, we would:

  • Add secrets to the vault.
  • Add access controls for each key.
  • Create client access keys for each application that will programmatically use the vault.

Restoring keys when standing-up a hidden service or exit node is then a matter of securely accessing the vault using the Vault's API or cli-tool.

Key rotation and backup can also be similarly automated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deliverable: services code for online services hosted by Blockchain Commons
Projects
Status: 2023 Q4 Priority
Development

No branches or pull requests

2 participants