-
Notifications
You must be signed in to change notification settings - Fork 168
Prepare for Internal Presign & Sign Sessions #1623
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
base: dev
Are you sure you want to change the base?
Conversation
| output: Vec<u8>, | ||
| curve: DWalletCurve, | ||
| signature_algorithm: DWalletSignatureAlgorithm, | ||
| }, // todo: needs hash, hash_scheme: HashScheme }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do todo
| (SessionType::InternalSign, SessionType::InternalSign) => self | ||
| .session_sequence_number | ||
| .cmp(&other.session_sequence_number), | ||
| // Internal sessions have lowest priority (come last) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't internal sign be highest priority? @omersadika
| .decryption_key_shares(dwallet_network_encryption_key_id)?; | ||
|
|
||
| ProtocolCryptographicData::Sign { | ||
| // TODO: maybe better also create for internal differently |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do this
| } | ||
|
|
||
| impl DWalletMPCOutput { | ||
| // TODO: delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in next pr
| pub struct InternalSessionsStatusUpdate { | ||
| /// The authority that sent this status update. | ||
| pub authority: AuthorityName, | ||
| // TODO: delete |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@omersadika you wanted me to delete it, but there's an issue, it will then mean the keys wouldn't be unique, and can't send multiple updates
No description provided.