vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.51k stars 99 forks source link

Failed to decrypt the settings storage #442

Closed gpags1911 closed 3 years ago

gpags1911 commented 3 years ago

Running Pop!_OS 21.04 with all updates. ElectronMail was working fine (last week?). Running version 4.12.7 of ElectronMail. When I try to login today I get a 'Failed to decrypt the settings storage' message. Tried uninstalling/installing and did not help.

vladimiry commented 3 years ago

The response will be the same as in #290.

gpags1911 commented 3 years ago

log.log file per your request. log.log

gpags1911 commented 3 years ago

Undo close please

vladimiry commented 3 years ago

The most likely cause of the problem is that an incorrect master password is being entered. Unfortunately the sodium's crypto_secretbox_open_easy function doesn't return error details but thetrue / false value only.

If you still want to use the app you could consider wiping the app settings and start from the clean sheet (all the app data, added accounts, local store, etc will be lost). See the data/config files for wiping in the https://github.com/vladimiry/ElectronMail/wiki/FAQ. I'd recommend backup the original files for a while rather than removing/wiping them. Also, consider enabling regular backup of those data/config files to some trusted storage.

gpags1911 commented 3 years ago

This is a new install that I’m setting up and testing so no issues with wiping or having a backup.

You can close the issue. I’ll wipe the app and then see what happens.

Thanks for your quick response. Really like the app.

From: Vladimir Yakovlev @.> Sent: Wednesday, September 22, 2021 8:35 AM To: vladimiry/ElectronMail @.> Cc: George Pagoulatos @.>; State change @.> Subject: [EXTERNAL] Re: [vladimiry/ElectronMail] Failed to decrypt the settings storage (#442)

The most likely cause of the problem is that an incorrect master password is being entered.

If you still want to use the app you could wipe the app settings and start from the clean sheet. See the data/config files for wiping in the https://github.com/vladimiry/ElectronMail/wiki/FAQ. I'd recommend backup the original files for a while rather than removing/wiping them.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/vladimiry/ElectronMail/issues/442#issuecomment-924887618, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABWLZGQQ4TEDVGCYSOAUXZTUDHENVANCNFSM5EQ6KCXA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

gpags1911 commented 3 years ago

Wiped and reinstalled. Problem solved. Thank you.

vladimiry commented 3 years ago

Consider enabling regular backup to some trusted storage for those data/config files.

gpags1911 commented 3 years ago

I have scheduled backup processing running. Thanks for watching over me though. ☺

From: Vladimir Yakovlev @.> Sent: Wednesday, September 22, 2021 11:31 AM To: vladimiry/ElectronMail @.> Cc: George Pagoulatos @.>; State change @.> Subject: [EXTERNAL] Re: [vladimiry/ElectronMail] Failed to decrypt the settings storage (#442)

Consider enabling regular backup to some trusted storage for those data/config files.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/vladimiry/ElectronMail/issues/442#issuecomment-925041090, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABWLZGX4Y5FW67RSB5B4RWDUDHZCDANCNFSM5EQ6KCXA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.