Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onDatabaseError: Removing malformed key #694

Open
akvadrako opened this issue Jul 25, 2024 · 1 comment
Open

onDatabaseError: Removing malformed key #694

akvadrako opened this issue Jul 25, 2024 · 1 comment

Comments

@akvadrako
Copy link

Every time I start Signal 7.16.0 I get this message:

Database startup error:

Error: Error while decrypting the ciphertext provided to safeStorage.decryptString.
at getSQLKey ([REDACTED]/app/main.js:1244:39)
at initializeSQL ([REDACTED]/app/main.js:1277:11)
at App. ([REDACTED]/app/main.js:1485:20)

And in the logs it says:

{"level":30,"time":"2024-07-25T17:20:51.656Z","msg":"getSQLKey: decrypting key"}
{"level":50,"time":"2024-07-25T17:20:53.210Z","msg":"onDatabaseError: Removing malformed key"}
{"level":30,"time":"2024-07-25T17:20:53.212Z","msg":"config/set: Saving user config to disk"}
{"level":30,"time":"2024-07-25T17:20:53.218Z","msg":"config/set: Saved user config to disk"}
{"level":30,"time":"2024-07-25T17:20:53.218Z","msg":"getSQLKey: migrating key"}
{"level":30,"time":"2024-07-25T17:20:53.218Z","msg":"getSQLKey: updating encrypted key in the config"}
{"level":30,"time":"2024-07-25T17:20:53.218Z","msg":"config/set: Saving user config to disk"}
{"level":30,"time":"2024-07-25T17:20:53.220Z","msg":"config/set: Saved user config to disk"}
{"level":30,"time":"2024-07-25T17:20:53.221Z","msg":"config/set: Saving user config to disk"}
{"level":30,"time":"2024-07-25T17:20:53.222Z","msg":"config/set: Saved user config to disk"}

I have tried deleting my flatpak data directory del ~/.var/app/org.signal.Signal/ but it doesn't help.

@akvadrako
Copy link
Author

Perhaps this is related to using the new safeStorage API:

signalapp/Signal-Desktop#6849 (comment)

Seems related: flathub/com.vscodium.codium#239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant