Skip to main content
Version: 1.1.7

BIP340 - Refresh a key share

POST 

/bip340/refresh

Used for refreshing the secret material of all parties without altering the public key at all. Returns a new key_id for the new share but does not delete the old key_id. It is highly recommended to delete the old key_id after the refresh operation is successful.

The motivation for using refresh is to enhance security by switching the secret key material frequently, this means that an adversary will need to compromise multiple devices at the same time in order to compromise the private key.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Body

required

    key_id KeyIdrequired
    room_uuid stringrequired

Responses

Schema

    key_id KeyIdrequired
Loading...