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

[Feature]: Add supporting for backing-up and restoring encrypted DKG shares #1319

Open
aldur opened this issue Feb 7, 2025 · 0 comments
Open

Comments

@aldur
Copy link
Collaborator

aldur commented Feb 7, 2025

Feature - Add supporting for backing-up and restoring encrypted DKG shares

1. Description

DKG shares do not currently depend on the private key specified in the config, but are generated through a PRNG.

They are stored, encrypted, in the DB.

A signer that loses the DB would mean losing a share of the corresponding aggregate key.

1.1 Context & Purpose

Long-term, we should consider deterministically deriving DKG shares based on some recoverable seed. See #1303.

Short-term, we should make it easy for sBTC signers to:

  1. Export their encrypted DKG shares.
  2. Restore their encrypted DKG shares.

This would make backup operations easier.

2. Technical Details:

2.1 Acceptance Criteria:

  • As an sBTC signer, I can run the sBTC binary with a CLI flag that allows me to export the encrypted DKG shares.
  • As an sBTC signer, I can run the sBTC binary with a CLI flag that allows me to restore the encrypted DKG shares (adding to existing ones or failing if the DB is already populated).
@aldur aldur added this to sBTC Feb 7, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in sBTC Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant