Encrypted folders
Hearth can encrypt a folder in two ways:
- Encrypted at rest: the files are stored encrypted on the server, each with its own key, and Hearth holds the keys. This protects against stolen disks, leaked backups and storage providers. Previews, search, sharing, Office and the sync apps all keep working.
- End to end: files and their names are encrypted in your browser before they are uploaded. Only you and the people you share the folder with hold the keys. Hearth stores only scrambled data and cannot open it, and neither can your administrator.
End-to-end encryption has not been independently reviewed yet.
Encrypting a folder at rest
- Open the folder's details (Folder details, or Details from its menu).
- Open the Encryption section.
- Select Encrypt at rest.
The files already in the folder are encrypted in the background; the section shows how many are done. To undo it, select Turn off. The files are then decrypted on the server in the background.
To encrypt all your files at rest, go to Settings, then Encryption, and use All my files, at rest.
Setting up your keys
End-to-end folders need your own keys. You set them up once.
- Go to Settings, then Encryption.
- Under End-to-end encryption keys, type a passphrase of at least ten characters twice, then select Set up keys.
- Hearth shows your recovery key once. Write it down or store it in a password manager, tick I have kept my recovery key, and select Done.
Your passphrase unlocks your keys on this device. Hearth never receives it and cannot reset it. If you forget the passphrase, only the recovery key opens your encrypted files. If you lose both, nobody can open them.
The settings also show your key's Fingerprint. People you share with can compare it with what their screen shows for you.
Unlocking
Your keys are unlocked for one browser tab at a time. When you open an end-to-end folder in a new tab, Hearth asks for your Encryption passphrase; select Unlock. If you forgot it, select Use the recovery key and type that instead.
Changing the passphrase
In Settings, Encryption, select Change passphrase. Type the current passphrase (or select Forgot it: use the recovery key) and the new one, then select Save passphrase.
Make new keys replaces your keys entirely. New keys cannot open what the old ones encrypted: folders shared with you must be shared again, and your own end-to-end folders become unreadable. Use it only if your keys were exposed.
Making an end-to-end folder
A folder can only be made end to end while it is empty.
- Make a new folder (New, then New folder).
- Open its details and the Encryption section.
- Select Encrypt end to end, unlock your keys if asked, then select Turn on end-to-end encryption.
If your organisation's policy suggests or requires encryption, the New folder dialog has an End-to-end encrypted switch instead, and the folder is encrypted from the start.
Inside the folder, use Upload to add files and New folder for folders within it. Each file is encrypted on your device as it goes up. Rename, Delete and Download are in each row's menu.
What does not work in end-to-end folders
Because the server cannot read the files, these are not available there:
- server previews and thumbnails;
- search and the Copilot;
- editing in Office;
- compressing and extracting archives;
- the Nextcloud desktop and phone apps.
Sharing an end-to-end folder
End-to-end folders are shared with people only, not with groups, teams or plain links. The person must have set up their own keys.
- Open the folder's Sharing section and pick the person in Share with.
- Hearth shows their key fingerprint and asks whether to share. If you can, check the fingerprint with them by another channel, such as a call, then select Share.
When you remove someone, the folder gets a new key for everything added after that. They may still have copies of what they could open before.
Links to end-to-end files
You can make a public link to a file or folder in an end-to-end folder.
The key is in the part of the link after the #, which browsers never
send to the server, so the server still cannot read anything.
- Choose Share link from a row's menu, or select the link button at the top of the folder to share the folder itself.
- Set a Password if you want one (the person then needs both the link and the password), an end date in Ends, and whether to Allow download.
- Select Create link and copy the Link address.
To copy the address of an older link again, open the links and select Copy on it; Hearth rebuilds the address from the folder's keys. Revoke link ends a link at once. Removing someone from the folder ends the links into it.
People who open the link see pictures, PDFs, text and video in their browser and the names in a folder, and can download when you allowed it. Your organisation's link rules (required password, end dates, links off) apply here too.