Skip to main content
Relying Party (RP) signatures prove a proof request comes from your app, preventing impersonation attacks. Your backend signs every request with the signing_key from the Developer Portal, and World ID verifies the signature before generating a proof. World ID enforces RP signatures for World ID 4.0 requests.
Never expose your signing key to client-side code. If the key leaks, rotate it immediately in the Developer Portal.

Algorithm

Test vectors

Verify your implementation against these. All vectors use deterministic inputs.

hash_to_field

compute_rp_signature_message

sign_request