Governate
Sign in Start a trial

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

PurposeAlgorithmStandard
Sending a file key between a device and the installationML-KEM-1024, in HPKE with HKDF-SHA-384 and AES-256-GCMFIPS 203, RFC 9180
Signing file headers and licencesML-DSA-87FIPS 204
Encrypting file contentAES-256-GCM, in chunksFIPS 197, SP 800-38D
Deriving keysHKDF with SHA-384SP 800-56C
Sealing file keys at restAES-256-GCM, bound to the file ID
Integrity codesHMAC-SHA-384
Password storagePBKDF2-HMAC-SHA-384SP 800-132
Random numbersThe 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.

WhereUsesWhy
Google and Microsoft sign-inRSA, SHA-256Those providers sign identity tokens that way.
S3 storageHMAC-SHA-256The S3 request-signing scheme. What is stored is already encrypted.
Google Drive storageRSA, SHA-256How Google service accounts authenticate.
The installer's page with -publicECDSA P-384, SHA-256 fingerprintBrowsers 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

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.