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]: Initiating distributed key generation #413

Closed
1 of 2 tasks
djordon opened this issue Aug 10, 2024 · 1 comment
Closed
1 of 2 tasks

[Feature]: Initiating distributed key generation #413

djordon opened this issue Aug 10, 2024 · 1 comment
Labels
key rotation The functionality to rotate a private key for a signer in sBTC-v1. sbtc signer binary The sBTC Bootstrap Signer.

Comments

@djordon
Copy link
Collaborator

djordon commented Aug 10, 2024

Feature - Initiating distributed key generation

1. Description

The signers cannot do anything without aggregate key, so we need to specify some conditions that will trigger all signer to initiate distributed key generation (DKG) at the same time.

1.1 Context & Purpose

Although we have much of the logic for completing DKG, we do not have any of the logic for initiating it. Right now we just need to support initiating DKG from some hard configured block height (either stacks or bitcoin) and/ via an endpoint that is only available in a testing mode.

2. Technical Details:

2.1 Acceptance Criteria:

  • There is an endpoint in the signer binary that can kick off DGK.
  • There is a config variable that will trigger DKG if the signer notices that the signers as a group don't have an aggregate key and the current block height is greater than the configured minimum block height for DKG.

3. Related Issues and Pull Requests (optional):

@djordon djordon added the sbtc signer binary The sBTC Bootstrap Signer. label Aug 10, 2024
@djordon djordon added this to sBTC Aug 10, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in sBTC Aug 10, 2024
@djordon djordon moved this from Needs Triage to Todo in sBTC Aug 10, 2024
@djordon djordon added this to the sBTC Code Complete milestone Aug 16, 2024
@djordon djordon self-assigned this Dec 2, 2024
@aldur aldur added the key rotation The functionality to rotate a private key for a signer in sBTC-v1. label Dec 9, 2024
@djordon djordon removed their assignment Dec 17, 2024
@djordon
Copy link
Collaborator Author

djordon commented Jan 20, 2025

The first part, triggering DKG from an HTTP request, we shouldn't do. A modified version of the second part, configuring DKG from some config variable, was done in #1200.

@djordon djordon closed this as completed Jan 20, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in sBTC Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
key rotation The functionality to rotate a private key for a signer in sBTC-v1. sbtc signer binary The sBTC Bootstrap Signer.
Projects
Status: Done
Development

No branches or pull requests

3 participants