Changelog#
0.2.0 (2026-11-26)#
Trust without trusting the registry:
- Owner claims. The client signs every registration, upload, policy change, listing change and withdrawal with the owner's key. The registry verifies, stores and publishes the claims at
GET /v1/stamps/{id}/proof, so it cannot create or alter a stamp on its own.grantstamp attest <stamp>adds a claim to a stamp registered with 0.1. - Registration receipts.
POST /v1/stampsreturns a receipt signed by the registry that names the log entry. The CLI saves it in~/.grantstamp/receipts/. grantstamp audit. Verifies the log chain and its signed head, compares the log with the public witness, and checks each stamp's claims, logged owner key and DNS record. Exits 1 on any problem.- Witness timestamps. The daily witness job also timestamps each saved log head with OpenTimestamps.
Hardening:
- Rate limits can no longer be dodged with a forged
X-Forwarded-Forheader. The registry reads the caller's address from the header its edge sets (GRANTSTAMP_IP_HEADER,CF-Connecting-IPon Render) or from the right-hand end ofX-Forwarded-For(GRANTSTAMP_PROXY_HOPS). In 0.1 it trusted the left-hand entry, which the caller controls. - Fair-use ceilings on stamps and stored fingerprint features (
GRANTSTAMP_QUOTA_*): per owner (far lower before a domain is verified), for all unverified owners together, and for the registry as a whole.grantstamp admin purge-stampfrees the space a junk stamp took. - Anonymous callers on IPv6 are rate-limited per /64, not per address.
- Withdrawing a stamp deletes its fingerprints. The stamp's record and log entries remain.
GET /v1/status(version, build commit, database health and size, log head),GET /v1/whoami, and aratelimit-remainingresponse header. Statistics are cached for 30 seconds.- Registry: answer
HEADwhereverGETis served, so uptime monitors and link checkers no longer get 405. - The database upgrades itself: new columns are added on start.
Stamps:
- Search:
GET /v1/stamps?q=,grantstamp search, and a search page on the website. - Unlisted stamps:
grantstamp register --unlisted,grantstamp listandunlist. Unlisted stamps still match checks and keep their page. - QR codes and badges:
/s/{id}/qr.svg,/s/{id}/qr.png,/s/{id}/badge.svg,grantstamp qr. The stamp page is redesigned and shows the owner's signature and log entries.
Website and documentation:
- New home page, and new pages for stamp search, security, pricing and status.
- Versioned documentation at
/docs/<version>/, built byscripts/build_site.py, with new guides for owners, agents and verification. bench/load_bench.pyandbench/LOAD.md: speed and storage measured with 3,000 registered files.
Changed:
- The registry's OpenAPI page moved from
/docsto/v1/docs;/docs/now serves the documentation. grantstamp-servernow depends onsegno(QR codes).
0.1.1 (2026-11-26)#
- Registry server: reconnects to Postgres after hosted databases (such as Neon) pause and close idle connections, and recovers after a failed statement instead of failing every later request. A new Postgres test kills the server's connection mid-run.
- Release workflow: a re-run after a partial upload skips files already on PyPI.
- Announce workflow: fixed a YAML error that failed it on every push.
- Archiving: Zenodo and citation metadata (
.zenodo.json,CITATION.cff). Each GitHub release now gets a DOI.
0.1.0 (2026-11-26)#
First public prototype.
-
Two packages from one repository:
grantstamp(client, CLI, MCP server, agent hook, website; Apache-2.0) andgrantstamp-server(registry; AGPL-3.0-only). The client never depends on the server. -
Layered fingerprints: SHA-256, content-defined chunks, strings, symbols, code winnowing, image dHash, embedded markers, and signed
grantstamp.jsonmanifests. - Registry server (FastAPI) on SQLite or Postgres. It supports owner keys and domain verification, stamps with per-use policies, checks graded in confidence bands, licensee tokens, signed receipts, a hash-chained transparency log, alerts and webhooks (JSON, Slack, Discord), disputes, rate limits with proof-of-work relief, and k-anonymity exact lookup.
- RFC 9421 HTTP Message Signatures (Ed25519) for owners and agents, with Web Bot Auth key-directory discovery.
grantstampcommand-line tool, MCP server, and Claude Code PreToolUse hook.- Website with an in-browser file check that matches the Python features bit for bit.
- Benchmark: recompiled, stripped, patched, ported and decompiled variants all match high or exact. There were no medium-or-higher cross-matches between different source packages in a 400-binary sample.
Source of this page on GitHub. Documentation for Grantstamp 0.2, licensed CC BY 4.0.