The old version 1 is moved to the [v1 branch](https://github.com/PhiTux/DailyTxT/tree/v1).
+### Newest Testing Versions:
+```
+2.0.0-testing.2 (2025-10-13)
+- Trying to fix a bug in the migration process by removing unnecessary code (that should validate some data, but was probably harmful instead).
+```
+
## Start developing
You need [Go](https://golang.org/) (at least version 1.24) and [Node.js](https://nodejs.org/) (at least version 24) installed.
// Derive key from password and salt
oldDerivedKey := DeriveKeyFromOldPassword(password, oldSalt)
- _, err = base64.StdEncoding.DecodeString(base64.URLEncoding.EncodeToString(oldDerivedKey))
- if err != nil {
- return handleError("Error decoding old derived key", err)
- }
-
- // Decode the old encrypted key (just for validation)
- _, err = base64.URLEncoding.DecodeString(oldEncEncKey)
- if err != nil {
- return handleError("Error decoding old encrypted key", err)
- }
// Decrypt the old encryption key
oldEncKey, err := FernetDecrypt(oldEncEncKey, oldDerivedKey)