Open-source components
Governate is proprietary software. It includes the open-source components listed here, each under its own licence. The full licence texts ship with every release, in THIRD_PARTY_NOTICES.txt, and inside the server image under /licenses.
Nothing here is loaded from the internet when the product runs. Everything is compiled into the programs you receive.
Cryptography
All cryptography comes from the Go standard library. No third-party cryptographic code is included.
In the server
| Component | What it is used for | Licence |
|---|---|---|
| Go standard library | Everything, including all cryptography, the web server and the browser encryption code | BSD 3-Clause |
modernc.org/sqlite | The built-in SQLite database | BSD 3-Clause; SQLite itself is in the public domain |
modernc.org/libc, modernc.org/mathutil, modernc.org/memory | Support code for the built-in database | BSD 3-Clause |
github.com/jackc/pgx/v5 | Connecting to PostgreSQL | MIT |
github.com/jackc/pgpassfile, github.com/jackc/pgservicefile, github.com/jackc/puddle/v2 | Support code for the PostgreSQL connection | MIT |
golang.org/x/sync, golang.org/x/sys, golang.org/x/text | Go's own extension libraries, used by the database code | BSD 3-Clause |
github.com/google/uuid | Used by the built-in database | BSD 3-Clause |
github.com/dustin/go-humanize | Used by the built-in database | MIT |
github.com/mattn/go-isatty | Used by the built-in database | MIT |
github.com/ncruces/go-strftime | Used by the built-in database | MIT |
github.com/remyoudompheng/bigfft | Used by the built-in database | BSD 3-Clause |
In the web pages
| Component | What it is used for | Licence |
|---|---|---|
| JetBrains Mono | The typeface, served by your installation itself | SIL Open Font License 1.1 |
The pages use no JavaScript libraries or frameworks.
In the command-line tool
Only the Go standard library.
The document viewer
The viewer is a separate program in its own container. It is built from the source of Collabora Online and LibreOffice, without their branding.
| Component | Licence |
|---|---|
| Collabora Online | Mozilla Public License 2.0 |
| LibreOffice | Mozilla Public License 2.0 |
| Fonts and libraries inside the image | Their own licences, listed in the image at /NOTICE |
That licence requires changes to the source to be published. Ours are small and are inside every viewer image, at /usr/share/viewer-patches.
Not included, but used if you configure them
These are separate products that you run and license yourself. Governate only talks to them.
| Product | Used for |
|---|---|
| PostgreSQL | An alternative to the built-in database |
| OpenBao or HashiCorp Vault | Keeping the root key |
| An S3-compatible store, Google Drive or OneDrive | Keeping the protected files |
| Google or Microsoft Entra | Signing in |