refresh

Refreshes the BIP340 secret share.

Used for refreshing the secret material of all parties without altering the public key. Takes a secret share as input and returns a new one with the same public key but with fresh key material.

Be careful to delete the original secret share before it is certain that all devices have properly stored the fresh secret share. Note that the new secret shares may only be used with each other; attempting to use older shares with newer ones for signing will result in failure.

Return

KeyGen object with the same public key as the input but with fresh secret key material

Parameters

roomUuid

The UUID of the refresh room

secretShare

The secret share that will be refreshed