Algorithms
The algorithms are the ones the United States National Security Agency names in its Commercial National Security Algorithm Suite 2.0 (CNSA 2.0), for protection that must outlast quantum computers. They are fixed: nothing is negotiated, so nothing can be negotiated down.
What is used where
| Purpose | Algorithm | Standard |
|---|---|---|
| Sending a file key between a device and the installation | ML-KEM-1024, in HPKE with HKDF-SHA-384 and AES-256-GCM | FIPS 203, RFC 9180 |
| Signing file headers and licences | ML-DSA-87 | FIPS 204 |
| Encrypting file content | AES-256-GCM, in chunks | FIPS 197, SP 800-38D |
| Deriving keys | HKDF with SHA-384 | SP 800-56C |
| Sealing file keys at rest | AES-256-GCM, bound to the file ID | |
| Integrity codes | HMAC-SHA-384 | |
| Password storage | PBKDF2-HMAC-SHA-384 | SP 800-132 |
| Random numbers | The operating system's generator |
All of it comes from the Go standard library. No third-party cryptography is included.
Exceptions
Four places use other algorithms because an outside party's protocol requires them. None of them protects a file or a file key.
| Where | Uses | Why |
|---|---|---|
| Google and Microsoft sign-in | RSA, SHA-256 | Those providers sign identity tokens that way. |
| S3 storage | HMAC-SHA-256 | The S3 request-signing scheme. What is stored is already encrypted. |
| Google Drive storage | RSA, SHA-256 | How Google service accounts authenticate. |
The installer's page with -public | ECDSA P-384, SHA-256 fingerprint | Browsers accept only RSA and ECDSA certificates, and show SHA-256 fingerprints. The certificate is made for the occasion, lasts two days, and secures only the installer's own page. |
If you use none of those features, none of those algorithms is exercised. Certificates for the addresses people use are obtained and held by the proxy, or by your own; their algorithms are the issuing authority's.
What this does and does not claim
- The algorithm choices follow CNSA 2.0, and a test suite that ships with the product's source checks that nothing else is used.
- The product is not a validated cryptographic module, and has not been evaluated under NIAP or CMVP. Organisations that are required to use validated modules should take that into account.
- Transport security between browsers and the server is provided by your own proxy. Configure it for TLS 1.3.
Every file says what protects it
A .gvf header names its signature algorithm, key derivation and cipher. If the algorithms ever change, old and new files can be told apart, and each file is opened only with exactly what it declares.