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

[BUG] Update 1.7.5 broke auth #2105

Closed
ghost opened this issue Dec 18, 2021 · 3 comments
Closed

[BUG] Update 1.7.5 broke auth #2105

ghost opened this issue Dec 18, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 18, 2021

if i click in client "Download update" and start new client 1.7.5
Session authorization lost, and me need again authorization and add recovery key.

OS: Linux [Arch]
Version: 1.7.5

@SolidFish888
Copy link

Same, but happened recently on 1.7.6 update. It's not the first time.

OS: Linux [Arch]
Version: 1.7.6

@Bilb
Copy link
Collaborator

Bilb commented Dec 20, 2021

So, actually the database was not encrypted on archlinux until this release. For more details you can have a look at signalapp/better-sqlite3#3.

To summarize, the .so of the libsqlite packaged in the app was not used by the app on archlinux but instead the libsqlite from the system was used.
That system library does not support encrypting but actually silently drops every call we make to encrypt it.

Unfortunately, there are no easy fix for that, except dropping the existing database on archLinux and create it again with the right library this time...

I forgot to include a note on the on the release notes. I will include it now.

@Bilb Bilb closed this as completed Dec 20, 2021
@Bilb
Copy link
Collaborator

Bilb commented Dec 20, 2021

#2035

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

2 participants