Convex

Convex

FieldValue
NamesigningChangePassphrase
TitleChange Passphrase (Signing Service)
DescriptionChange the passphrase for a stored signing key. Elevated: first call returns confirmUrl, retry with confirmToken.
Input Schema
{
  "type": "object",
  "required": ["publicKey",
               "passphrase",
               "newPassphrase"],
  "properties": {
                  "passphrase": {
                                  "type": "string",
                                  "description": "Current passphrase for key decryption"
                                },
                  "confirmToken": {
                                    "type": "string",
                                    "description": "Confirmation token from browser approval (omit on first call)"
                                  },
                  "newPassphrase": {
                                     "type": "string",
                                     "description": "New passphrase for re-encryption"
                                   },
                  "publicKey": {
                                 "type": "string",
                                 "description": "Public key identifying which key to re-encrypt (hex string)"
                               }
                }
}
Output Schema
{
  "type": "object",
  "properties": {
                  "confirmUrl": {
                                  "type": "string",
                                  "description": "URL for user to visit and approve the operation"
                                },
                  "updated": {
                               "type": "boolean",
                               "description": "true if the passphrase was successfully changed"
                             },
                  "status": {
                              "type": "string",
                              "description": "confirmation_required when user approval is needed"
                            },
                  "confirmToken": {
                                    "type": "string",
                                    "description": "Token to include when retrying after approval"
                                  }
                }
}