Changelog#
0.6.4 (2026-12-01)#
The registry logs Bitcoin beacons, and each upload commits to its files. These are the first two pieces of order proofs, from the 0.7 design. Two new log kinds and a new field in upload entries. Clients, witnesses and mirrors from 0.6.3 keep working.
- Beacons. The registry follows Bitcoin from a block pinned in each release, through mempool.space and blockstream.info. It trusts neither: it checks every header against Bitcoin's rules, and follows the chain with the most work. Right before each upload, and once an hour, it logs a beacon: the newest block it knows, with every header since the beacon before. It names no block older than six hours, and a source that fails, sends too much or takes too long is passed over. No one can know a block's hash before the block is found, so every later entry came after that block.
GET /v1/bitcoin/beaconsserves them. Setting:GRANTSTAMP_BITCOIN_SOURCES. This is the first half of order proofs (0.7 design, Section 3). - Each upload commits to its files. Each registration and each later upload logs one root over what it holds: for each file, its SHA-256, its whole image hash and every stored feature, each as a leaf with a salt of its own, and for each layer what grading uses from it. The registry keeps the secret seed that makes the salts, so it can later open any one leaf, and an opening shows nothing about the others, in that file or any other. A file may hold at most 262,144 features in one layer, the most a registration keeps. Files stored before 0.6.4 get their roots in one
stamp.rootsentry for each stamp, a few stamps at a time. This is the second half of order proofs. Openings reach checks in a later step. - The witness and mirror kits run only what their owners pinned. A fork installs the files listed in its
requirements.txt, each checked by hash. A release reaches a fork only when its owner takes it. - The hosted timer can start a workflow with a token of its own. A target with
@NAMEat the end uses the token in the secretNAME. So the project's timer can start a witness in someone else's fork. The template now wakes on the hour and the half hour.
0.6.3 (2026-11-30)#
A budget keeps the registry's database within its free plan. No protocol changes.
- The registry rests instead of running out. Neon's free plan gives the database 100 CU-hours a month, and stops it for the rest of the month when they are used up. Anyone sending one request every few minutes could get there, because each request keeps the database awake for 5 more minutes. Now the registry counts how long its database has been awake, from the start and the end of each use. It spends the month's budget evenly over the days left, and keeps back enough for the project's jobs. When today's share is spent, it rests. Then requests are let in only in the 3 minutes after each half hour, when the jobs run. A request turned away is turned away before its body is read. One let in must send all of its body first, and is asked again once it has. A request let in may begin to use the database for 30 seconds more, and one that has begun may finish, so nothing it writes is cut in two. Every other use is refused at the database itself: a request that waits before its first use, the sweep, and work left running in the background. Other requests are answered
503with the time it opens again: JSON for the API, a page for a stamp link and an image for a badge, with the CORS headers a browser needs to read it. Pages, status and health checks keep working. While it rests, status and stats answer from the last snapshot, however old. - What it holds, tested. A simulated month of a request every 2 minutes, with requests that wait before they use the database and one use that runs for 15 minutes each day, keeps the database awake 279 hours, within the budget of 300. The tests count that from when each use began and ended, apart from the registry's own count. In the simulation the jobs are never turned away.
- The jobs wait for an opening, or leave the work to the next one. In this repository, a backup run of the witness and mirror jobs waits for the next opening, and so does a run started by hand with "wait". A run from the timer that starts too late leaves the work to the next tick. So does a step that finds the registry closed: the command line now exits with code 75 when the registry rests, and the jobs take that as "next time". The daily witness waits too.
- What it cannot do. Someone sending a request every few minutes can still use up a day's share within a few hours of midnight UTC. Then the registry is open only those few minutes each half hour until the next day. That is better than a database stopped for the rest of the month. The count assumes the database never grows past
GRANTSTAMP_DB_CU, so set the Neon compute's autoscaling maximum to it. Neon also wakes the database now and then for its own work, which the registry cannot see, so the budget stays well below the allowance. When the registry first starts with a budget, it cannot know what the month has used, so it assumes an even share so far. - Settings:
GRANTSTAMP_DB_BUDGET_CU_HOURS(75 a month),GRANTSTAMP_DB_CU(0.25),GRANTSTAMP_TICK_MINUTES(30, and it must divide a day) andGRANTSTAMP_OPEN_MINUTES(3). Set the budget to0for a database that is not counted by the hour. SQLite never rests. A value that is not a number, or is out of range, is reported, and the default or the nearest allowed value is used. GET /v1/statusgainsresting, the time the registry opens again while it rests. The status page and the home page show it.- Calls to servers that callers name have a total deadline. An agent's key directory, a domain's verification file and an owner's webhook must answer in full within 10 seconds. After that the call is cancelled and its connection closed, so nothing is left running. A key directory must also be under 64 KB, and only the first 4 KB of a verification file is read. Before, each read had a time limit but the whole call did not, so a server that sent a byte at a time could hold a request for hours. An agent's key directory is also fetched off the main loop, so other requests do not wait for it.
- A body is counted as it arrives, against the 64 MB limit, also when the request did not say how long it is. Before, only a stated length was checked.
- A new generation of the check map is recorded in one step, so it is never left half recorded.
0.6.2 (2026-11-30)#
The website's pages and its status page no longer keep the database awake. No protocol changes.
- Status and stats come from a snapshot when there is no real work. Every page of the website asks the registry for its status, for the build line at the bottom, and the status page asks every minute. Each of those requests used to read the database, so page views and an open status page kept it awake. Now status and stats read the database only within a minute of real work: an API, log or stamp page request, or the registry's start. Otherwise they answer from the newest snapshot that is under 45 minutes old and healthy. The sweep takes one during real work. With SQLite nothing changes, because a database file never sleeps.
- Only real work runs the sweep: API, log and stamp page requests. It runs in a worker thread, one at a time, so other requests do not wait for it. The registry's copy of the website, its files, robots.txt and health checks do not run it. Status and stats run it only when they have to read the database, because no healthy snapshot under 45 minutes old exists. With SQLite, every request but a health check runs it, as before.
- The answers say how old they are.
GET /v1/statusgainsdatabase.checked, when the registry last asked its database, andGET /v1/statsgainscounted. While the database sleeps,okand the log head can be up to 45 minutes old. A monitor can readdatabase.checkedto see how old they are. The status page shows it. - The Stamps page shows the newest stamps from the website's mirror, refreshed every 30 minutes, so a visit does not wake the database. A search asks the registry itself.
- robots.txt asks crawlers to keep out of
/log/, which is for witnesses and mirrors. - The project's witnesses and mirrors now run every 30 minutes, on one timer, so the database wakes once for all of them.
0.6.1 (2026-11-30)#
The registry lets its database sleep, and one erratum. No protocol or API changes.
- Health checks no longer wake the database. Every request ran a sweep of the database at most once a minute, health checks included. The host's health check and the uptime monitors kept the database awake about half the day. Neon's free plan counts compute by the hour and suspends a project that uses up its monthly allowance, and at that pace the registry would have run out near the end of each month. Other requests still run the sweep, so alerts and lapses go out with the next real request.
- Erratum to Section 13 of the protocol. The lower bound it gives for an entry's time does not hold: an anchor proves a checkpoint existed before a block, not that a later entry did not exist yet. No version 0.2 registry orders stamps across registries, so nothing depended on it. Version 0.7 replaces it with beacons.
- The anchor audit says "1 checkpoint" and "is", where it said "1 checkpoints" and "are".
0.6.0 (2026-11-29)#
Owners keep their place in line. Protocol 0.2. The design, and how an independent review changed it, is in docs/design/0.6-place-in-line.md.
- Move a stamp to another registry.
grantstamp owner exportwrites every stamp with its proofs.grantstamp owner move --to URLasks the stamp's registry for a move ticket and moves each stamp to the destination. The ticket is signed by the origin, lasts an hour, and names the destination, the owner's current key, and each stamp's policy and listing as they are now. The origin issues none while a proven recovery of the owner's key waits to take effect, or for 7 days after the current key cancels one. Nor does it issue one for a stamp in a case an arbiter is acting on. A ticket names the cases about a stamp that nobody has reviewed yet, and the destination keeps them with the stamp. The destination accepts only registries its operator lists as peers. It checks the ticket and every log proof with the keys it pinned for that peer, and the owner's claims with the owner's own keys there, never with keys the peer names. It applies the stamp's current policy, and takes each origin stamp once, ever. A stamp signed with a key you have since replaced moves only to a registry that knew that key as yours. Without a conflict the stamp is stored with its origin. With one, the stamp is not moved: a case is opened, so that a person decides with the proof in hand. - An anchor every hour. While the log grows, the cosign job timestamps the newest cosigned checkpoint in Bitcoin with OpenTimestamps, once an hour. Each new anchor must extend the one before, checked from the log's own tiles. The job runs on its own and fails where it can be seen. The anchors are published at grantstamp.io/registry/anchors.
grantstamp audit --anchorschecks them against the current log. - Arbiters sign every notice and decision. An arbiter keeps their own key. The registry holds only public keys, lists them in its descriptor and its log, and refuses a notice or decision that no arbiter signed. Each statement names the registry, the case and its stage, and is used once. A token has one spelling: one whose base64url is not canonical is refused. A statement is recorded as used in the same step that applies it. A decision restores only a stamp that a case suspended, never one its owner withdrew or the operator suspended. Every change of a stamp's status now records why. When a registry first starts on 0.6, a stamp that a case suspended before is marked as held by that case, once, so the case can still restore it. When a decision leaves a stamp suspended, the arbiter is told. The operator's own commands need a signed statement as soon as the log lists an arbiter.
- Appeals. The side that lost can appeal a decision once, within 30 days. The decision stays in effect until the appeal is decided. A stamp a case suspended keeps blocking conflicting registrations until every such case is final. A claimant's appeal is private: the case shows only its digest.
- Identity that travels.
grantstamp owner attestationgets what the registry checked about who stands behind you, signed, for 90 days. A peer registry shows it as checked by the other registry, not by itself, and never counts it as proof of being a publisher. - A declared purpose unlocks only reading and decompiling, plus changes for accessibility. Until now, a purpose the owner accepted unlocked any use. Under the
standardpolicy, a caller who declared interoperability could port a build, and one who declared security research could patch it. No purpose now unlocks extracting, porting, redistributing or training. The registry lists the scopes in its descriptor underpurpose_usesand announces the featurepurpose-scopes. A decision says when a declared purpose does not cover the use, and an owner's alert names the purpose a caller declared. - What changes for existing policies: under
open, a purpose no longer turnstrain: askinto allow. Undermodding-friendly, extracting stays ask whatever the purpose. Custom policies that relied on a purpose for porting, extracting or changing now need licence tokens. -
Receipts issued before this change can show
via: purposefor uses that are now out of scope. A client older than 0.6 that checks through mirrors still applies the old rule on its own machine. -
A refusal is signed. When a registration conflicts with an earlier stamp, the answer carries a refusal signed with the registry's key. It names the refused owner, the earlier stamps it cites and why, and a digest of the files sent. The client saves it in
~/.grantstamp/refusals/. - Owners' claims sign each upload. The register and files claims now include
sent, the digest of the upload exactly as sent, and the registry logs it. The client keeps every upload in~/.grantstamp/bundles/. - What first means is defined in the protocol (Section 13): order in one log, and Bitcoin anchors across logs. In 0.6 a conflict across registries goes to a case. Ordering by the anchors comes in 0.7.
- The client keeps one owner account per registry, so one key can hold accounts at several.
- Audit moved stamps with 0.6. A client older than 0.6 reports problems when it audits a moved stamp, because the claims made at its first registry name the stamp's id there.
- Jobs that hold a key, a token or a publishing credential install only tools pinned by hash (
.github/*-requirements.txt) and run grantstamp from the checkout, withpython -m grantstamp. This covers both witness jobs, the anchor job, the website job, the release and the posting jobs. The release builds the packages in a job that holds no credential, and publishes them from another. The MCP publisher it downloads is checked against its published hash, andserver.jsonuses the registry's current schema. Only the steps that push get the token. Still to do: the registry's container image installs its dependencies unpinned. - The registry's stamp pages use plain ASCII.
0.5.0 (2026-11-29)#
The story, told plainly, and the rules for running the project. No protocol or API changes.
- A home page that tells the story: why it matters, what others have done, the principles, how a check works, who has to be trusted for what, and where the project came from and goes next.
- A new look, the register office. Paper and ink. Violet marks only the owner. Each role keeps one colour in every drawing.
- Docs grouped by what the reader came to do, with two new pages: How a check works, and How trust works.
- One place for status. The status page says who runs each part today and what is not done yet. Other pages link to it.
- How the project is run (GOVERNANCE.md) and a roadmap (ROADMAP.md).
- The GTA VI account is checked against its sources, starting from Take-Two's notice in GitHub's public DMCA archive.
- Claims match the code. Two independent reviews removed claims that went further than the software. The limits they found are now on the status page.
- No prices. The pricing page is gone. The service runs on free plans.
- The README tells the same story. The current docs are plain ASCII. GitHub workflows that do not push use the Node 24 versions of their actions.
0.4.6 (2026-11-29)#
Clients know the second witness, and the pages say what runs today. No code changes.
- The pinned witness policy lists a second witness,
second, run fromgrantstamp/grantstamp-witness. The quorum is unchanged. Both witnesses are the project's own, so the second adds redundancy, not independence. - The pages say what runs today: two witnesses that cosign every 5 minutes, two mirrors refreshed every 10 minutes, a Cloudflare Worker as the timer, and the check map published. They also say why two witnesses of the same operator prove no more than one.
0.4.5 (2026-11-29)#
Mirrors and witnesses no longer depend on GitHub's scheduler. No protocol or API changes.
- GitHub's scheduler is no longer the timer. It skipped runs for hours at a time. The mirror and witness workflows now run when something starts them, and the operator picks what does.
grantstamp triggerstarts a mirror or witness workflow on GitHub: once, in a loop, or from the machine's cron with--install. It needs a token that can start that workflow and nothing else. The token is kept in a private file and never written into cron.grantstamp witness runkeeps a witness going on one's own machine, with no GitHub at all.grantstamp mirror --every --servekeeps a mirror folder up to date and serves it.- A hosted timer for Cloudflare Workers is in
integrations/join/timer/. - Run a mirror or a witness was rewritten. It says what each role does and needs, then gives two ways: fork
grantstamp-mirrororgrantstamp-witnesson GitHub, or run everything on one's own machine.
0.4.4 (2026-11-29)#
The check map survives a restart, and a kit for running a mirror or a witness. No protocol or API changes.
- The same check map comes back after a restart. A registry without a disk of its own lost its map files on every restart. It then built a new generation and added a
map.generationentry to the log each time. It now writes the same generation again and logs nothing, when nothing changed. A registry started under 0.4.3 or earlier adds one or two last entries after the upgrade. - Run a mirror or a witness. A new page walks through both, with two ready workflow files in
integrations/join/. It also says what a registry's operator does when someone sends one. - The witness and mirror jobs run more often, because GitHub skips many scheduled runs.
0.4.3 (2026-11-29)#
One fix, and documentation that shows how 0.4 holds together. No protocol or API changes.
- A mirror that cannot be reached is skipped.
grantstamp check --via-hostsstopped with an error when the first mirror was down or lacked a file. It now tries the next one, as it already did for a mirror that fails a check. - A forced check-map build waits.
grantstamp admin build-mapnow waits for a build that is running, where it used to do nothing. - Documentation. A new page, "Mirrors and witnesses", publishes the 0.4 design. The architecture page is rewritten around who holds what, and says what runs on grantstamp.io today. There are five diagrams. Long paragraphs are split. Lists that showed as one block of text now show as lists.
- Website. The home page has a section on witnesses and mirrors. The security page is revised for 0.4.
0.4.2 (2026-11-28)#
A log that anyone can serve and nobody can quietly change. See docs/design/0.4-untrusted-nodes.md.
- Tiled transparency log. The registry also publishes its log as an RFC 6962 Merkle tree in the C2SP formats: signed checkpoints at
/log/checkpoint, tiles and entry bundles at/log/tile/, the log key and witness policy at/v1/log/policy. The 0.3 hash chain and/v1/log/headstay. - Witnesses. The registry pushes checkpoints to C2SP witnesses (
GRANTSTAMP_WITNESS_POLICY) and accepts cosignatures from scheduled witnesses at/v1/log/cosign. With a quorum set,/log/checkpointserves only cosigned checkpoints.grantstamp witness serve,witness cosignandwitness submitrun a witness. A witness saves its state before any cosignature leaves it. An hourly GitHub witness is included (.github/workflows/cosign.yml). - Mirrors.
grantstamp mirrorcopies the log and the records of listed stamps into a folder any web host can serve, checking everything and fetching only what is new.grantstamp audit --fromandgrantstamp log show --fromcheck a mirror without asking the registry. The website keeps an hourly mirror at/registry/and falls back to it while the registry sleeps. - Pinned log keys.
grantstamp log pinremembers a registry's log key and witnesses. A policy file insrc/grantstamp/logs/pins it for every user of a release. - Unlisted stamps are no longer named in the public log. From now on, a log entry about an unlisted stamp names it by the SHA-256 of its id. Entries made before 0.4 still name it.
- Checks answered by untrusted hosts (experimental, off by default). With
GRANTSTAMP_MAP=1the registry publishes a check map: keyed tokens of every registered feature (exact hashes included), sorted in a Merkle tree, with small JSON files, all committed to bymap.generationentries in the log.POST /v1/tokensmakes tokens and counts every feature against the rate limit. Mirrors copy the current map, so every mirror can answer checks.grantstamp check --via-hostsverifies everything against the witnessed log and grades the evidence with the registry's own matching code. Image hashes, owners' procedures, publisher signatures and licence tokens still need the registry.grantstamp admin build-mapandrotate-map-keymanage it. A host's map counts only if it is the registry's current one, or was made in the last 2 hours. A client never accepts a log older than one it saw. Each host is tried on its own, and the registry is last. - Mirrored records are tied to the log. A record must list exactly the log's entries for its stamp and its owner, and say what the latest entries say. Every key that signed a claim must be one the log recorded for the owner. The registry now keeps the payload behind each stamp entry and serves it with the proof, along with keys replaced by a recovery. An operator's edit to an owner is logged one field per entry.
0.3.1 (2026-11-27)#
Accountability before ownership. See docs/design/0.3-accountability.md.
- Owners must be on record, reachable and bound by the Terms before they can stamp.
grantstamp owner sign-in(formerlyowner verify-identity, which still works) is a one-time LinkedIn sign-in. Stamps say what that establishes: "A LinkedIn sign-in stands behind this account. Identity not checked." The name from LinkedIn is held by the operator and not published. Stronger levels: checked by the operator (grantstamp admin verify-identity), or a code-signing certificate (grantstamp owner publisher); their names are published because they were checked.grantstamp owner contactsets the public contact shown on every stamp.grantstamp owner create --accept-termsandgrantstamp owner terms --acceptrecord acceptance of the Terms.GRANTSTAMP_REQUIRE_IDENTITY=0turns this off. - The registry no longer holds conflicting stamps. A registration that conflicts with an earlier stamp is rejected with the earlier stamps, their owners and the files that matched listed. Owners can share content with
grantstamp register --sharedwhen every co-owner uses the same policy (the same action for every use and the same accepted purposes), and change that policy together: the change applies once every co-owner asks for it. An owner whose stamp was suspended after a case cannot register the same content again. Theconflictstatus is no longer assigned. - Cases. Only a notice issued by the operator (
grantstamp admin notice --sent-to ...) starts a response window (14 days by default), and only a notice with a recorded address can lapse. The owner reads the claim withgrantstamp caseand answers withgrantstamp respond. While a notice is open the stamp is "Under review" and agents ask instead of refusing. An unanswered notice, or a case upheld by the operator, suspends the stamp. The claim is shown to the owner only after a notice. Owners are alerted when a case is decided. New operator commands:admin queue,admin export-owner,admin erase-identity,admin owner-edit;admin resolverefuses to uphold a case before the owner was heard (--without-notice) and to change a decided case (--reopen, logged as a reopening). - Domain age. The registry records when a proven domain was registered and shows it on the stamp page. A domain younger than 90 days (
GRANTSTAMP_DOMAIN_MIN_AGE_DAYS) does not yet count. Free subdomains (github.io, eu.org and similar) are refused. New dependency for the server:tldextract. - Attestation protocol (
spec/attestation.md): exact, generic and procedural evidence. Owners can fingerprint with a procedure of their own:grantstamp register --recipe NAME|FILE,grantstamp recipe list|show|test. A recipe is a short, declarative list of steps that anyone can run safely.GET /v1/recipeslists the ones in use; the client, the MCP server and the hook run them before a check, within a time budget. Four standard recipes ship with the protocol. - Publisher signatures. The registry verifies the Authenticode signature of each signed executable in a stamp and shows who published it. Publishers are compared exactly with names the owner has proven, never with the name the account chose. When a file's signer is not proven to be the stamp's owner, the stamp page says so and agents are told to ask; such files never block other owners, and a publisher who proves the signature can register over that stamp.
grantstamp owner publisherlets an owner prove they hold a code-signing certificate (SHA-256 signatures), which records the identity levelpublisher. Revocation is checked against the issuer's signed revocation list, outside the request loop, with a time budget. New client dependencies:asn1crypto,mscerts. New settings:GRANTSTAMP_CODESIGN_ROOTS,GRANTSTAMP_MAX_SIGNATURES,GRANTSTAMP_REVOCATION_BUDGET. - What agents receive. Guidance is in the registry's own wording and never contains owner-written text; titles, names, contacts and messages come in separate fields marked as data. Each match carries the owner's identity level and label, public contact and case status. A folder is judged by its strictest match. Receipts also name the owner, the identity level and the policy digest. The MCP tool returns a summary built on the same rules. Policy text fields are single-line with length limits, and links must be https.
- Privacy. Checks no longer send the folder's name or file names and paths. Saved licence tokens are sent only to the stamps they were issued for. Owners see callers under an id that differs per owner and changes daily. Events and alerts are deleted after 12 months (
GRANTSTAMP_RETENTION_DAYS). Request logs are off. A case's claimant is named to the owner only with a notice and never in the public log. - Compatibility.
GET /v1/statuslists the registry'sfeaturesandterms_version. The client asks a registry for a dry run only when it offers one, so a 0.3 client no longer creates a duplicate stamp on a 0.2 registry. - The Claude Code hook caches answers per registry and set of saved tokens, and never caches a failure. It now follows chained shell commands,
cd, redirections, wildcards and folders, reads the scripts a command runs for file paths, checks files with a Grantstamp notice, and gives other text files a private exact-copy lookup (GRANTSTAMP_HOOK_TEXT). - Lost-key recovery.
grantstamp owner recoverlets a new key take over an owner account once proven through a verified domain, the LinkedIn member on record, or the operator (admin approve-recovery), after a waiting period (GRANTSTAMP_RECOVERY_DAYS, 7) in which the current key is alerted and can cancel (--cancel). - Per-agent rate limits for AI providers:
admin agent-limit. - Salted log entries about people: the salt is published while the data is public and deleted when it is erased, so a digest cannot confirm a guess afterwards.
- Every alert kind now reaches the owner's webhook, including those made by operator commands and by the registry's own sweep, each with its own wording.
- Owner names cannot read like the registry's labels ("Identity checked...", "Domain verified...").
- New settings for registries other than the hosted one:
GRANTSTAMP_TERMS_VERSION(noneturns acceptance off),GRANTSTAMP_TERMS_URL,GRANTSTAMP_PRIVACY_URL,GRANTSTAMP_CASE_POLICY_URL. - Stamp page: "Domain verified" in place of "Verified owner"; "Owner not verified" now reads "No verified domain"; a stamp that is not active says so above its policy. Missing pages get a page, not JSON.
- New settings:
GRANTSTAMP_LINKEDIN_CLIENT_ID,GRANTSTAMP_LINKEDIN_CLIENT_SECRET,GRANTSTAMP_LINKEDIN_PRODUCT,GRANTSTAMP_LINKEDIN_VERSION,GRANTSTAMP_DOMAIN_MIN_AGE_DAYS,GRANTSTAMP_NOTICE_DAYS,GRANTSTAMP_RETENTION_DAYS. - The Terms, privacy notice and case policy are published on the website, versioned 2026-11-27.
- Website. A new design in one typeface (Archivo), built around the Grantstamp seal: a guilloche rosette in the home hero, a full navigation footer, a link-preview card, a home-screen icon and a
security.txt. Stamp pages show the owner's policy as a schedule and a seal that changes with the stamp's state (registered, under review, suspended); README badges show an open case. The hero's live facts wait for a registry that is waking up. Keyboard focus, contrast and phone layouts were checked on every page, and motion stops for visitors who ask for less of it.
0.2.1 (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.2 (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.6, licensed CC BY 4.0.