Skip to content

Compliance Attestation — how to verify a report

License: pro tier and above. Field-by-field reference: Compliance Attestation.

A report says, for a calendar month, how many queries were answered and how many broke a geo rule ("EU clients answered from outside the EU"). It is signed so you can check it has not been altered since Nexus produced it.

Operator: produce and publish

  1. Generate the report and a verification bundle:
    gslbctl compliance report --period 2026-06 --out ./2026-06
    
  2. Publish the public key through a channel the auditor already trusts (your security page, a signed email, your GRC system) — once, and keep it. The pubkey.pem beside the report is a convenience only: a forger could swap it too.

Auditor: verify

You need report.json (the exact signed bytes), report.sig (raw signature) and the public key you obtained separately. OpenSSL 3.x:

openssl pkeyutl -verify -pubin -inkey published-key.pem -rawin \
  -in report.json -sigfile report.sig
# Signature Verified Successfully

Any changed byte — a count, the period, whitespace — gives Signature Verification Failure.

If you were given the raw API/WebUI download instead of the bundle, extract the bytes with jq, using -j (-r appends a newline, which is not part of what was signed and makes every report fail):

jq -j .payload attestation-2026-06.json > report.json
jq -r .signature attestation-2026-06.json | base64 -d > report.sig

Read the report

  • violations — queries where a geo rule matched but the answer came from outside the target's region. 0 is the claim being attested.
  • daysWithData / daysInPeriod — a shortfall means gaps in collection (a node down, or no traffic). Ask about it; do not assume it was clean.
  • partial: true — the month had not ended; counts are not final.
  • rows — breakdown by service, client country, and where it was answered.