Golden Codex 1.2.0
Soulmark
The fingerprint of a record, and the fingerprint of an image. Two values, one form, one rule for each.
Defined by the Golden Codex standard, published by the Aeternum Foundation. Read the standard
The record’s Soulmark
SHA-256 of the record’s canonical bytes, written as sha256- and 43 base64url characters. It is computed from the record and never stored inside it.
The image’s Soulmark
SHA-256 over everything in the file that draws the picture and nothing that is descriptive metadata. Adding or removing a record, caption or credential does not change it; changing the picture does.
One word from a reader
Refused, Matches or referenced. A reader never says more than it can show, and never says "verified".
What a Soulmark is
A Soulmark is a SHA-256 fingerprint written as sha256- followed by the 32 bytes in base64url, 43 characters, no padding. The same form is used for both of the things a Golden Codex record is about.
- The record. Its canonical bytes are its JSON with keys sorted at every level, no insignificant whitespace, and every number a whole number. The Soulmark is the SHA-256 of those bytes. It is never written inside the record it fingerprints; a label or pointer carries it as
record. - The image. The SHA-256 over the parts of a JPEG or PNG that determine how the picture is drawn, leaving out the places where descriptive metadata lives. Embedding a record, a caption or a content credential does not change it. Changing the picture, or how it renders, does.
What it shows, and what it does not
- It shows identity. A matching Soulmark shows these are the same bytes: the same record, or the same picture.
- It does not prove authorship or ownership. Who made the work and who holds which right are statements in the record, each with its source. A record is an indication, not a proof.
- It does not change when the words change. The image Soulmark lives apart from the record, so a record can be superseded by a new one and the picture keeps its fingerprint.
- Not every file has one. In 1.2.0 the image Soulmark is defined for JPEG and PNG. A record for another format carries the Soulmark of a JPEG or PNG rendition, or waits for the rule.
One record, three tiers
- Full record. The canon. The only tier written directly.
- Label. What a reader can take from a file without a second request: the record's Soulmark, the title, a maker credit, the image's Soulmark.
- Pointer. For thumbnails and anything small. It carries the record's Soulmark and the title, and for an AI-made work its disclosure, and nothing else.
- Resolving. A small tier is never taken on its own word. A reader fetches the record, refuses it if it does not hash to the Soulmark it names, fingerprints the image in hand, and shows one word: Refused, Matches or referenced.
Records issued before 1.2.0
Earlier Golden Codex records carried a fingerprint under an earlier rule, and the version they name. They stay readable in the Meta Reader and in the Studio, and they are never rewritten in place: a change to a record is a new record that says which one it supersedes.
A separate tool finds a registered image by how it looks: the image fingerprint.
Read a record, or make one
The Meta Reader shows a file's record and its Soulmarks and says one word about them. The Studio writes the record with you.