π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Document Auth offline mode recovery guidance
Neeraj Gupta24d62426108f
diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.tsindex ba485e8040..b9e3086f76 100644--- a/docs/docs/.vitepress/sidebar.ts+++ b/docs/docs/.vitepress/sidebar.ts@@ -328,6 +328,10 @@ export const sidebar = [items: [{ text: "Introduction", link: "/auth/" },{ text: "Features", link: "/auth/features/" },+ {+ text: "Offline mode",+ link: "/auth/features/offline-mode",+ },{text: "FAQ",collapsed: true,diff --git a/docs/docs/auth/features/index.md b/docs/docs/auth/features/index.mdindex a093299fb8..cf8d6556fa 100644--- a/docs/docs/auth/features/index.md+++ b/docs/docs/auth/features/index.md@@ -96,6 +96,13 @@ login screen. In this mode, your codes are stored locally on your device.Unlike when using an account, data is not synced or backed up to the cloud. Youare responsible for manually backing up your codes.+The local vault is encrypted using a key protected by your device's secure+storage. Device transfers and OS backups are not supported recovery methods for+offline-mode codes. Create an encrypted export or local backup and keep the+backup password safe.++Learn more about [using offline mode safely](offline-mode).+### Display optionsCustomize how your codes are displayed for optimal usability.@@ -119,6 +126,9 @@ following lock methods:Additionally, configure **Auto lock** to automatically lock the app after aspecified period of time (options: Immediately, 5s, 15s, 1m, 5m, 30m).+App lock protects access to the app UI. It is not a recovery password for your+codes and does not re-encrypt the stored Auth data.+### Import / ExportEnte Auth offers various import and export options for your codes.diff --git a/docs/docs/auth/features/offline-mode.md b/docs/docs/auth/features/offline-mode.mdnew file mode 100644index 0000000000..27e1cb3927--- /dev/null+++ b/docs/docs/auth/features/offline-mode.md@@ -0,0 +1,40 @@+---+title: Using offline mode safely - Auth+description: Guidelines for backing up and recovering Ente Auth codes when using offline mode+---++# Using offline mode safely++Ente Auth can be used without an account by choosing **Use without backups**. In+offline mode, your codes are stored only on that device. They are not synced to+Ente and cannot be restored from Ente's servers.++## How offline storage works++The local vault is encrypted using a key protected by the device's secure+storage, such as the OS keychain, keyring, credential store, or secure storage+service. If that secure-storage key becomes unavailable, Ente cannot recover the+offline vault from the local database alone.++Device transfers and OS backups are not supported recovery methods for+offline-mode codes. They may not include the secure-storage key, or the restored+key may not be usable on the new system.++## Before device or OS changes++If you use Ente Auth in offline mode, create an encrypted export or local backup+before resetting credentials, reinstalling your OS, transferring devices,+restoring a device backup, or making major system changes. Verify that you know+the backup password, and store the backup or export file in a separate location+you can access after the change.++## App lock is not a recovery password++App lock protects access to the app UI. It is not a recovery password for your+codes and does not re-encrypt the stored Auth data.++## Back up your codes++Open `Settings > Data > Local backup` to enable automatic local backups, or+create an encrypted export from the Data settings. Keep your backup or export+files and password somewhere safe.diff --git a/docs/docs/auth/migration/export.md b/docs/docs/auth/migration/export.mdindex 9d55f0995d..a1c10dc9f2 100644--- a/docs/docs/auth/migration/export.md+++ b/docs/docs/auth/migration/export.md@@ -86,14 +86,20 @@ automatically.- **Automatic daily backups:** When enabled, Ente Auth creates one local backupper day when you open the app.- **Password-protected:** All local backups are encrypted with a password you- set. This password is stored securely on your device.+ set. Keep this password safe, because Ente cannot recover it for you.- **Custom backup location:** Choose where to store your backups on your device.- **Backup retention:** The app keeps up to 5 most recent backups andautomatically removes older ones.+If you use Ente Auth in offline mode, encrypted exports and local backups are+the supported recovery path. Device transfers and OS backups should not be+treated as a backup for offline codes. Store the backup or export file in a+separate location you can access after a reset or device change. Learn more+about [using offline mode safely](/auth/features/offline-mode).+**Setting up local backups:**-1. Go to **Settings β Data β Local backup**.+1. Open `Settings > Data > Local backup`.2. Enable **Automatic backups**.3. Set a backup password (minimum 8 characters).4. Select a folder where backups will be stored.