The game updates itself from one JSON document, releases.json, and checks every download with a minisign signature. This page is the public contract of both. How releases are produced and published is not part of it.
Where to read it
| URL | Content |
|---|---|
https://prism.am/releases.json |
The feed. This is the default feed of the game |
/download/<channel>/latest |
A stable redirect to the newest zip of a channel (the Windows package). With ?os=linux, to the newest Linux package of the channel |
/download/<channel>/installer |
A stable redirect to the newest Windows installer of a channel that has one |
There are two channels: stable and pbe (the preview channel). Only active releases are listed, newest first within each channel. A withdrawn release disappears from the feed.
The feed
The document has four top-level fields, and a fifth once a release has a Linux package. A reader must ignore unknown fields: the schema is never bumped for additions.
| Field | Type | Meaning |
|---|---|---|
schema |
integer | 1 |
generatedAt |
string | Date-time in UTC, ISO 8601 |
channels |
array | One summary per channel |
releases |
array | Every active release |
linux |
array, optional | The releases that have a Linux package, see one list per system |
A channel summary:
| Field | Type | Meaning |
|---|---|---|
channel |
string | stable or pbe |
latestSeq |
integer or null |
seq of the newest active release; null when the channel has none |
latestUrl |
string | The stable redirect to the newest zip |
latestInstallerUrl |
string, optional | The redirect to the newest installer, absent when none has one |
latestLinuxUrl |
string, optional | The redirect to the newest Linux package, absent when no release has one |
A release:
| Field | Type | Meaning |
|---|---|---|
channel |
string | stable or pbe |
seq |
integer | Order within the channel, strictly increasing. The newest is the largest seq |
build |
string | Free label shown to people, for example PBE 0007. It is never parsed and never orders releases |
commit |
string, optional | Short git hash the build was made from |
semver |
string, optional | A semantic version, on stable builds |
builtFromBuild |
string, optional | The label of the build a stable build was promoted from |
publishedAt |
string | Date-time in UTC |
file |
string | The download file name, only A-Z a-z 0-9 . _ - |
url |
string | The download URL, relative to the site unless the server sets a public base URL |
sha256 |
string | Lowercase hexadecimal SHA-256 of the file |
size |
integer | Size of the file in bytes |
notesMd |
string | Release notes in Markdown (French) |
notesEnMd |
string, optional | English release notes in Markdown |
installer |
object, optional | file, url, sha256, size of the Windows installer, a first-install file that the in-game updater never downloads |
{
"schema": 1,
"generatedAt": "2026-10-31T09:00:00Z",
"channels": [
{
"channel": "pbe",
"latestSeq": 7,
"latestUrl": "/download/pbe/latest"
}
],
"releases": [
{
"channel": "pbe",
"seq": 7,
"build": "PBE 0007",
"commit": "a1b2c3d",
"publishedAt": "2026-10-31T08:30:00Z",
"file": "prism-pbe-0007.zip",
"url": "/files/pbe/prism-pbe-0007.zip",
"sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"size": 17000000,
"notesMd": "Notes."
}
]
}
One list per system
releases holds the Windows packages. A release that also has a Linux package is written a second time in linux: the same channel, seq, build, dates and notes, with the Linux zip as its file, url, sha256 and size, and no installer. Each game reads the list of its own system and nothing else: a Windows game reads releases, a Linux game reads linux. A release with no Linux package is simply not in linux, so the newest Linux release may be older than the newest Windows one. The Linux zip is signed like any release zip, with the trusted comment of its own entry.
How the client reads it
The client reads the feed tolerantly. A release that makes no sense is dropped on its own and the others still count.
| Rule | Value |
|---|---|
| Feed size | At most 4 MiB. A larger feed is refused |
| Required | releases is an array. Each entry needs channel, seq, build, sha256, size and url |
channel |
stable or pbe |
seq |
An integer above 0. For a duplicate (channel, seq), the first is kept |
build |
Control characters removed, cut to 64 characters; must not be empty |
sha256 |
64 hexadecimal characters; lowercased |
size |
From 1 to 1 GiB (1,073,741,824 bytes) |
url |
Not empty, at most 1024 characters |
notesMd, notesEnMd |
Cut to 16 Ki characters |
commit |
Kept only when 7 to 40 hexadecimal characters; lowercased |
| Withdrawn | An entry with withdrawn: true or status: "withdrawn" is never offered, and is not counted as dropped |
The order of a channel is its seq, never its build label. The client also reads the plainer names published_at and date for publishedAt, notes_md and notes for notesMd, and notes_en_md and notesEn for notesEnMd. The signature is not a feed field.
Network rules
- The feed and every package URL must be
https. Plainhttpis only allowed for a loopback host (localhost,127.0.0.1,[::1]), for tests. - Every URL, including each redirect, must have the same scheme, host and port as the feed URL. A feed cannot send the game to another server.
- At most 3 redirects are followed.
- A check sends nothing identifying: a plain
User-Agent, no cookie, no query, no version, no identifier. - The game reads the feed automatically once a day at most, and installs only when you click. The default feed is
https://prism.am/releases.json;PRISM_UPDATE_FEEDoverrides it.
Signature
Each release zip has a detached minisign signature in a sidecar file:
<zip url>.minisig
The file is at most 4 KiB. The signature is made over the zip itself, in minisign's pre-hashed mode (BLAKE2b over the file). Its trusted comment names the release, in this form:
channel=pbe seq=7 build=PBE 0007 sha256=<hexadecimal SHA-256 of the zip>
The keys can come in any order. The build label may hold spaces. The global part of the signature covers the trusted comment, so the comment cannot be swapped.
The game verifies after the download and before anything is unpacked:
- The SHA-256 and size of the file match the feed.
- The signature is valid, under one of the public keys embedded in the game, over the downloaded file.
- The trusted comment says this very release: the channel, the
seq, the SHA-256 of the file and thebuildlabel of the feed entry. A genuine signature of another release (an olderseq, the other channel) cannot be replayed.
The key the game trusts is the author's release key, RWQsLoM1lFYu6qNoyW3uT2vS6gUZyMSqTvUNBjiTwREhRivuky4jwd/B (key id EA2E569435832E2C). Several keys may be embedded: a new key can be added by a release signed with the old one.
A build with at least one embedded key refuses an unsigned release. There is no quiet fallback. A refusal is one of:
| Refusal | Cause |
|---|---|
| Missing | No .minisig next to the zip |
| Invalid | The signature file is unreadable, was made by another key, or does not match the file |
| Identity | A valid signature of another release: channel, seq, hash or build label differ |
A fork built with no embedded key verifies nothing, and the interface says "unsigned".
Pitfalls
- Changing
buildafter signing breaks the signature: the label is in the trusted comment. - A relative
urlis resolved against the feed's own host. An absolute URL on another host is refused. - A
sizeof 0 or above 1 GiB makes the client drop that release from its list. - Do not rely on
buildto order releases. Useseq.