rp_context signatures for IDKit requests, and does not
run client-side IDKit request flows.
Install
Generate RP signature
One-shot signing
UseSignRequest with functional options for the simplest integration:
Reusable signer
For high-throughput backends, create aSigner once and reuse it. This parses the key upfront and avoids repeated allocations.
API
Functions
| Function | Description |
|---|---|
SignRequest(signingKeyHex, opts...) | One-shot signing with options |
SignRequestWithTTL(signingKeyHex, ttl) | Convenience wrapper with custom TTL |
NewSigner(signingKeyHex) | Creates a reusable Signer from a hex key |
Options
| Option | Description |
|---|---|
WithAction(action) | Hashes and appends the action to the signed payload (required for uniqueness proofs) |
WithTTL(ttl) | Overrides the default 300-second TTL |
RpSignature
Related pages
- RP Signatures — algorithm details, pseudocode, and test vectors
- Integrate IDKit