reshare Remaining Party
suspend fun reshareRemainingParty(roomUuid: RoomUUID, newThreshold: Int, secretShare: Ed25519SecretShare, keygenIds: Array<KeygenID>): Pair<Ed25519PublicKey, Ed25519SecretShare>
Reshares an Ed25519 key for a remaining party.
WARNING: Key resharing is an advanced feature. Incorrect usage might compromise private key security. Developers must ensure that at least (n - t + 1) parties of the t-of-n signing quorum delete their current shares before using the reshared key.
This method is used by a remaining party (one that already has a key share) to receive a new key share in the new threshold-of-numParties quorum.
Return
A pair containing the public key and secret share for the reshared keypair
Parameters
room Uuid
The UUID of the reshare room
new Threshold
The threshold of the new quorum (value in range 1..65535)
secret Share
The secret share of the party in the existing quorum
keygen Ids
The keygenIds of all parties that will be part of the new quorum