mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-08 07:18:47 +00:00
docs: explain automatic legacy vault migration
This commit is contained in:
@@ -209,6 +209,13 @@ The encrypted index file `seedpass_entries_db.json.enc` begins with `schema_vers
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Note**
|
||||||
|
>
|
||||||
|
> Opening a vault created by older versions automatically converts the legacy
|
||||||
|
> `seedpass_passwords_db.json.enc` (Fernet) to AES-GCM as
|
||||||
|
> `seedpass_entries_db.json.enc`. The original file is kept with a `.fernet`
|
||||||
|
> extension.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
After successfully installing the dependencies, install the package with:
|
After successfully installing the dependencies, install the package with:
|
||||||
|
@@ -23,3 +23,16 @@ raise an error.
|
|||||||
|
|
||||||
This process happens automatically; users only need to open their vault to
|
This process happens automatically; users only need to open their vault to
|
||||||
upgrade older indices.
|
upgrade older indices.
|
||||||
|
|
||||||
|
### Legacy Fernet migration
|
||||||
|
|
||||||
|
Older versions stored the vault index in a file named
|
||||||
|
`seedpass_passwords_db.json.enc` encrypted with Fernet. When opening such a
|
||||||
|
vault, SeedPass now automatically decrypts the legacy file, re‑encrypts it using
|
||||||
|
AES‑GCM, and saves it under the new name `seedpass_entries_db.json.enc`.
|
||||||
|
The original Fernet file is preserved as
|
||||||
|
`seedpass_entries_db.json.enc.fernet` and the legacy checksum file, if present,
|
||||||
|
is renamed to `seedpass_entries_db_checksum.txt.fernet`.
|
||||||
|
|
||||||
|
No additional command is required – simply open your existing vault and the
|
||||||
|
conversion happens transparently.
|
||||||
|
Reference in New Issue
Block a user