Governate
Sign in Start a trial

SDK and command line

The same code the product is built on, for putting protection into your own tools and pipelines.

EarlyThe SDK and the command-line tool are what the product itself is built on, so they work, but they are not published as a public package yet and their interfaces may still change. Talk to us if you want to build on them now.

What is in it

PartWhat it does
File formatReads and writes protected files: signed header, chunked AES-256-GCM content. Protect a stream without holding it in memory.
ClientTalks to an installation: sign in, protect, share, set permissions, ask for a key.
PolicyThe permission model: what a recipient may do, and until when.
Key wrapping and signaturesML-KEM-1024 key transport and ML-DSA-87 signatures, from the Go standard library.
Browser buildThe same encryption compiled to WebAssembly, so files are encrypted on the device before anything is sent.

Command line

The governate tool protects and opens files from a terminal or a script, signs in to your installation, and sets who may do what.

governate login https://docs.example.com
governate protect report.pdf
governate share report.pdf.gvf [email protected]
governate open report.pdf.gvf

Opening asks your installation for the file's key each time, so a file that has been unshared or revoked no longer opens.

The API underneath

Everything the website does goes through the installation's HTTP API, and so can your own software, with a person's token and the same checks.

Read further