API reference
Retrieve the signing key
Returns the public key that currently signs receipts, with its SHA-256 fingerprint; no API key is required.
GET/.well-known/attest-signing-key
Overview #
Returns the public key that currently signs receipts, with its SHA-256 fingerprint; no API key is required.
No API key is required.
curl https://attestinfra.com/.well-known/attest-signing-keyconst response = await fetch("https://attestinfra.com/.well-known/attest-signing-key");
console.log(response.status, await response.json());import json, urllib.request
request = urllib.request.Request(
"https://attestinfra.com/.well-known/attest-signing-key",
)
with urllib.request.urlopen(request) as response:
print(response.status, json.loads(response.read()))Parameters #
This endpoint takes no parameters.
Response #
200 The current signer.
Response fields #
| Field | Type | Description |
|---|---|---|
public_key | string | PEM-encoded SPKI public key. |
fingerprint | string | sha256: followed by the SHA-256 of the DER-encoded key. |
fingerprint_algorithm | sha256-spki-der | How the fingerprint is computed. |
signature_scheme | RSA-SHA256 | Signature algorithm. |
trust | string | Instruction for establishing trust in the key. |
status | current_key | This is the key signing new receipts. |
historical_keys | string | How to obtain earlier keys. |
{
"public_key": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAunPmbxD3V6ArXURVlF+6\n...\n-----END PUBLIC KEY-----\n",
"fingerprint": "sha256:552054128c0ca6f3fe6b6ef38e062f22593705e2e10a648a20418434f53b5e12",
"fingerprint_algorithm": "sha256-spki-der",
"signature_scheme": "RSA-SHA256",
"trust": "Confirm this fingerprint through a separately authenticated channel before trusting signer provenance.",
"status": "current_key",
"historical_keys": "Request historical signer keys through support when a receipt does not verify under this key."
}Errors #
This endpoint returns no documented error responses.