Licence and activation
How the Pro and Enterprise tiers are unlocked: the offline kit, the signed licence file, step-by-step activation, what exactly is checked, licence states and what happens without one.
Updated: 2026-11-10
What is bought and what is unlocked #
There is one delivery. The licence tier — Community, Pro or Enterprise — unlocks capabilities within it; no installation is performed when the tier changes. The composition of the tiers is on the Capabilities and editions page; this page covers how to switch them on.
| Tier | How it is enabled |
|---|---|
| Community | do nothing: this is the default state, free, BUSL-1.1 |
| Pro | a signed licence file of tier pro |
| Enterprise | a signed licence file of tier enterprise |
The activation kit #
| File | What it is | Required |
|---|---|---|
edition.license | the licence file (JSON) with the tier, the licensee and the term | yes |
edition.license.sig | the Ed25519 signature over the licence file | yes, without it the licence is rejected |
edition.pub | the public key the product uses to verify the signature | yes |
Activate-RAGRAF.bat | activation by double click (Windows) | yes |
Activate-RAGRAF.ps1 | the same for PowerShell 7.6+ | optional |
activate_ragraf.py | the work itself: laying out the files and verifying | yes (invoked by the wrapper) |
The kit contains no secrets. A public key is public by definition; the private signing key stays with the rights holder and is never transferred to the user's machine. There is no licence server: verification runs locally, no network is needed.
Activation steps #
- Install the product (see Installation). Check that there is something to
verify the signature with: pip install "PyNaCl>=1.6" — without it the licence reads as unverifiable.
- Put the kit inside the installation directory — next to
srcandtools. - Run the activation:
cd <installation directory>
.\Activate-RAGRAF.bat # or: .\Activate-RAGRAF.ps1
.\Activate-RAGRAF.bat --status # what is in effect right now
.\Activate-RAGRAF.bat --root D:\RAGRAF # point at the directory manuallyYou can also drag the licence file onto Activate-RAGRAF.bat with the mouse — then the kit may sit anywhere.
- Verify:
python tools\ragraf.py edition # the edition, the capabilities, the licence state
python tools\ragraf.py edition --verbose # what is unlocked, what is withheld and whyExpect the enterprise edition (or pro) and a list of unlocked capabilities; missing is empty if everything declared in the build is present.
What exactly is checked #
| What | How | If it does not match |
|---|---|---|
| the signature of the licence file | Ed25519 with the edition.pub public key | forged or untrusted |
| the tier | the edition field in the signed file | broken (a value outside the list) |
| the term | the term field in the signed file | expired |
| the licensee | the licensee field: whose licence this is | shown in ragraf edition |
| the installation fingerprint | under strict binding — the host name and the path (as a hash) | a licence from another host does not fit |
Important: the term, the tier and the licensee are taken only from the signed file. Editing the file breaks the signature — and that shows up as the forged state, not as an "unclear error".
Licence states #
| State | What it means | What to do |
|---|---|---|
valid | the signature matches, the term is fine | nothing |
absent | there is no licence file at the expected path | check that edition.license and .sig are in catalog\ |
untrusted | the signature is intact but there is no trusted key, or it is someone else's | check catalog\edition.pub |
forged | the file was edited after signing or signed with another key | copy both files from the kit again |
expired | the term has expired | request a new licence file |
unverifiable | there is no PyNaCl — nothing to verify the signature with | pip install "PyNaCl>=1.6" |
broken | the signed file does not parse or the tier is outside the list | copy the files from the kit again |
The cause is always printed in the licence line of the ragraf edition answer — no guessing is needed.
Without a licence #
The product runs at the Community tier: search, the graph, the schema, live databases, local audit. Paid capabilities answer with an edition refusal — not an error and not a crash: "this capability is closed by the edition", together with a verification command. There is no degradation of the basic answers without a licence.
Moving a licence #
The offline-license capability (Enterprise) allows work in a perimeter with no network access and moving the licence between machines under the rights holder's procedure. Strict binding to an installation is optional: without it the licence works on any installation with the trusted public key.
What is not here #
- No licence server and no online check: the network takes no part in either activation or
operation.
- No hidden telemetry: there are no calls "home"; local statistics stay local.
- No keys or passwords on this page: only the public key is published on the site, if it is
needed for verification — the private signing key is never published.