Imprint is an open, self-hostable application for writing, checking, signing and exporting security classification guides (SCGs). It reads and writes OpenSCG, an open format for SCGs.
Status: MVP. You can write, check, freeze, import, export, sign and verify guides, on a workstation or as a UDS package. Nothing here is authorized for real classified or controlled information; use synthetic data until your organization authorizes a deployment.
Imprint is not an official government tool, and it does not make classification decisions. It helps people write and communicate guidance. It does not grant classification authority, approve a guide, or replace an agency's own processes. A guide that passes every check is complete and consistent, not approved. A valid signature proves who signed which bytes, not that the signer had authority.
For one person working on their own machine, or a self-hosted server:
- Start a guide, or import an OpenSCG file.
- Write each entry in plain language: what the information is, its level, why, and when it can be declassified.
- See exactly which fields are missing or inconsistent, and which items need a policy expert.
- Preview the guide as JSON, PDF and a spreadsheet, all clearly labeled DRAFT / NOT APPROVED.
- Freeze a revision and have the original classification authority sign it with the credential their organization already gave them.
- Verify the signature and export matching files.
The full requirements are in docs/requirements/requirements.md.
Needs Node.js 22.18 or later.
npm ciStart the demo. It accepts only synthetic guides and keeps nothing after it stops:
IMPRINT_MODE=demo npm startPDF export needs the pinned Typst tool. This downloads it and checks its SHA-256:
./scripts/install-typst.shThen open http://127.0.0.1:8460/. To keep your guides, run npm start instead; they are saved in ./imprint-data, or in the folder named by IMPRINT_DATA. The server listens only on your own machine unless you set IMPRINT_HOST.
To try it with an example, import node_modules/@knitli/openscg/examples/synthetic-lantern.json from the home page.
See docs/signing.md. Imprint never holds a key or asks for a PIN. Sign approval-statement.bin with an approved tool, or with a PKCS#11 token through npm run sign, and upload the signature. Put trust anchors and CRLs in the trust folder (IMPRINT_TRUST_DIR).
Build the image and the Zarf package, then deploy on UDS Core. See docs/deploy-uds.md.
docker build -t ghcr.io/knitli/imprint:0.1.0-dev ../deploy/smoke-test.shnpm run lintnpm run typechecknpm testEnd-to-end tests drive Chromium with the keyboard only and run axe-core on every page:
npm run test:e2e| Path | What it is |
|---|---|
src/core/ |
Storage and the guide service: create, save, freeze, import |
src/web/ |
The local web server, forms and pages |
src/export/, templates/ |
PDF (Typst), workbook (ExcelJS) and release manifest |
bin/imprint-sign.ts |
Signing helper for PKCS#11 tokens |
Dockerfile, deploy/ |
Container image, Zarf/UDS package and its smoke test |
test/ |
Unit tests and end-to-end keyboard and accessibility tests |
docs/requirements/ |
Requirements, the Git/UDS addendum, and a traceability table |
docs/research/ |
The research and spike plan, with results so far |
docs/decisions/ |
Decision records: what we chose and why |
docs/open-questions.md |
Questions that need someone outside the code to answer |
spikes/ |
Throwaway experiments. Not product code. |
OpenSCG is a separate project with its own repository, license (Apache-2.0) and releases. Imprint uses a pinned OpenSCG release, currently 0.1.0, and must pass its conformance suite (decision 0002). You can use OpenSCG without Imprint. Report format or schema problems to the OpenSCG repository.
Never put real, controlled or classified information in this repository, its issues or its pull requests. That includes guide titles, entry text, people's names and certificate details. All examples must be invented and labeled as such. If you are unsure whether something is safe, leave it out and ask.
See CONTRIBUTING.md. Contributions are made under the Contributor License Agreement.
Report security problems privately: see SECURITY.md. Do not open a public issue.
Imprint is currently licensed under the GNU Affero General Public License v3.0. The final licensing approach, including a possible commercial license alongside AGPL, is still under legal review (requirements §9). "Imprint" is a working project name; no trademark clearance has been done.