-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'eichhorl/use-new-contexts' into 'master'
feat(schnorr): CON-1262 Switch signer to new generalized signature requests contexts Currently, ECDSA signature requests still generate a `SignWithEcdsaContext`. Once we deploy a Schnorr key, Schnorr requests weill generate a generalized `SignWithThresholdContext` which will eventually also be used for ECDSA. In order to avoid having to handle both types of contexts separately, we create a function in the replicated state, mapping existing `SignWithEcdsaContext`s to `SignWithThresholdContext`s and returning them together with existing `SignWithThresholdContext`s. This allows us to handle both request types using the same interface. The remaining changes adapt names and types, and prepare for the addition of the tSchnorr implementation which remains unimplemented for now. This includes generation & validation of Schnorr signature shares, and creation & validation of combined Schnorr signatures. See merge request dfinity-lab/public/ic!19576
- Loading branch information
Showing
14 changed files
with
472 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.