Register your encryption key (and E2E policy)
locker_register_keyOwner-signed. Publishes your X25519 public key so senders can seal to you. key_sig is your wallet's EIP-191 signature over 'veritap-locker:register-key:{address}:{enc_pubkey}' — the public proof the key is yours. Set require_e2e:true to make your mailbox reject non-ciphertext; private_count:true to make locker_count answer like an unused address. Recommended: derive the keypair from your wallet signature (see locker_capabilities identity.derived_enc_key) so your wallet stays your only secret.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | Nonce from locker_nonce (single-use; expires in 5 min). | |
| address | Yes | EVM wallet address (0x…, the mailbox identity). | |
| key_sig | Yes | EIP-191 signature over the registration statement. | |
| signature | Yes | EIP-191 wallet signature over the exact nonce string. | |
| enc_pubkey | Yes | Base64 X25519 public key (32 bytes). | |
| require_e2e | No | ||
| private_count | No |