Home › Documentation › Configuration › Encryption keys
Encryption keys
All backup data is encrypted on the device with AES-256-GCM before upload. What differs is who holds the key.
Managed keys (default)
A key is generated for the tenant when it is created and held in a hardware security module in the control plane. Agents obtain a wrapped copy when they register.
- You have nothing to remember or store.
- Support can perform an assisted restore for you, with authorisation from an account administrator.
- Operations staff access to keys is restricted, requires a ticket reference and is logged. See the security overview.
Customer-held passphrase
The key is derived from a passphrase you choose, using Argon2id. The passphrase is entered on each device when it registers and is never sent to the service.
- Nobody at Cyphonix can read your data, file names or folder structure.
- Assisted restores are only possible if you enter the passphrase yourself at the time.
- The console's file browser works only after you enter the passphrase in your browser; it is kept in memory for the session and not stored.
If you lose the passphrase, your backups cannot be restored by anyone. There is no recovery mechanism and no exception. See KB-1101.
Choosing
| Managed | Passphrase | |
|---|---|---|
| Recovery if staff leave or forget | Yes | No |
| Assisted restore | Yes | Only with you present |
| File names visible in console | Yes | After entering passphrase |
| Microsoft 365 backup | Yes | Not available |
| Suits | Most organisations | Organisations with a specific confidentiality requirement and a reliable way of storing the passphrase |
Setting a passphrase
The mode is chosen per enrolment key. Devices registered with a passphrase key prompt for it during registration:
cbk enrol --key CBK-ENR-XXXX-XXXX-XXXX --passphrase-prompt
The passphrase must be at least 16 characters. All devices in a tenant that use passphrase mode must use the same passphrase for deduplication between them to work.
Changing mode or passphrase
A device's mode cannot be changed. To move a device from managed to passphrase or the reverse, retire it and register it again; it will perform a new first backup.
The passphrase itself can be changed from any registered device with cbk passphrase change. This re-wraps the data key and does not re-upload data. You need the current passphrase to do it.
Key rotation
Managed tenant keys are rotated annually. Rotation re-wraps data keys and does not re-encrypt stored chunks.