Skip to content
DocsMenu

Get the sealing keys

View as Markdown

Open this page inChatGPTClaudeCursor

In the Esign Comply API, GET /.well-known/jwks.json publishes every public sealing key, current and retired, as a JWKS document served from the site root. Anyone fetches it without a key to verify the signature on a receipt or a log checkpoint locally.

GET /.well-known/jwks.json · API version 2026-11-21

Authentication

No credential. Anyone can make this call.

Request example

cURL

curl https://esigncomply.com/.well-known/jwks.json

This request ran against the API on November 26, 2026, and the response below is what came back. IDs are example values, and long values are shortened with ....

What it does

Public, cacheable for 5 minutes, readable cross-origin. This document is served from the site root (https://esigncomply.com/.well-known/jwks.json), not under /v1.

Returns every public sealing key, current and retired. No key is ever removed, so a receipt signed years ago still verifies. Evidence packages also bundle the keys valid at seal time in keys/jwks.json.

Field Description
kid Key ID. Matches the kid in the header of receipts and checkpoints.
alg, kty, crv, x, y ECDSA P-256 public key for ES256.
esc_env live or test. A receipt signed by a test key is never live evidence.
esc_region us or eu. One key per region and environment.
esc_status active or retired. Retired keys still verify what they signed.
esc_created_at When the key was created.

The same keys verify three kinds of token, told apart by the typ header: esc-receipt+jwt (record receipts), esc-checkpoint+jwt (log checkpoints) and esc-subject-receipt+jwt (receipts for annotations, supplements and certificates).

Parameters

This call takes no parameters.

Response

200 OK with a Jwks object.

{
  "keys": [
    {
      "kty": "EC",
      "x": "WZGo3xCvraXs07Km0nGwA7izHzXF8YJ6fPQpGE0QjuI",
      "y": "kqbawQiZN0aSvw9mqclrVGP55nqyMkHnewAVNeSando",
      "crv": "P-256",
      "kid": "esc-us-live-2026-11",
      "use": "sig",
      "alg": "ES256",
      "esc_env": "live",
      "esc_region": "us",
      "esc_status": "active",
      "esc_created_at": "2026-11-22T04:23:03.388Z"
    },
    {
      "kty": "EC",
      "x": "l4Zy4cwYNhQHNHkJ3u4lBoPcJiW1u6ZvK1Ys1301s5k",
      "y": "5l3YX0jhfLbI0AdDsQc6xFkILLuRegAFEqXlkUyu-1Y",
      "crv": "P-256",
      "kid": "esc-us-test-2026-11",
      "use": "sig",
      "alg": "ES256",
      "esc_env": "test",
      "esc_region": "us",
      "esc_status": "active",
      "esc_created_at": "2026-11-22T04:23:03.388Z"
    }
  ]
}

Response fields

Field Type Description
keys array

Errors

This call has no error of its own. Like every call made without a credential, it can also return internal_error.

Every error has the same body: error.type, error.code, error.message, error.doc_url and error.request_id. See Errors.

Questions about GET /.well-known/jwks.json

Which credential does GET /.well-known/jwks.json need?

None. The call needs no key and no token. Anyone who has the values in the request can make it.

Does GET /.well-known/jwks.json work with a test key?

The call needs no key. It answers for test objects and for live objects alike.

Does GET /.well-known/jwks.json count as a signature event?

No. A signature event is counted when a live record is written, by completing a session or by submitting a deferred acceptance. This call writes no record.

Is GET /.well-known/jwks.json idempotent?

It is a read, so it is safe to repeat. It takes no Idempotency-Key header.

What is the rate limit for GET /.well-known/jwks.json?

The API applies no rate limit of its own to this call. It is a public read of data that is the same for everyone.

Does the Node SDK have a method for GET /.well-known/jwks.json?

No. Call it over HTTP, or with esc.request() in the esigncomply package, which sends the key and returns { data, error }.

Last updated · API version 2026-11-21