Closed Hobbe81 closed 3 months ago
I think the problem was introduced by https://github.com/filecoin-station/desktop/pull/1497, where we use the wallet's private key to derive the passphrase for Station Core to encrypt the StationID identity file.
We need to change this part to handle the case when the wallet cannot be initialised because the keyring has not been unlocked yet.
Discussion on Slack: https://space-meridian.slack.com/archives/C03S6LXSRB8/p1719514238961649
@Hobbe81 I am not able to reproduce this problem 😢
When I start the Station and don't grant it access to the keychain (on my MacOS), it shows an error dialog and DOES NOT proceed to start Station Core or derive the passphrase from the private wallet key.
When I restart the Station and grant it access to the keychain, it loads the seed phrase and reconstructs the private wallet key and the passphrase, and everything works correctly.
@Hobbe81 What desktop environment do you use on your Linux Mint installation? Is it Gnome or something else?
@juliangruber Do you have a machine where you can install Linux Mint and try to reproduce this problem?
If I don't enter it and leave the computer it will lock the screen and then when I try to type in my password there it will try to unlock the screen but it can't.
It looks like this is a problem with your window manager - if your screen locks while there's an opened password dialog, you can't log back into the machine. Is that right?
I use Cinnamon on Linux Mint.
Den ons 3 juli 2024 16:40Julian Gruber @.***> skrev:
If I don't enter it and leave the computer it will lock the screen and then when I try to type in my password there it will try to unlock the screen but it can't.
It looks like this is a problem with your window manager - if your screen locks while there's an opened password dialog, you can't log back into the machine. Is that right?
— Reply to this email directly, view it on GitHub https://github.com/filecoin-station/desktop/issues/1659#issuecomment-2206346634, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHYN5KOYC63IHV4UHI4ONDZKQEORAVCNFSM6AAAAABKFOI3RWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGM2DMNRTGQ . You are receiving this because you were mentioned.Message ID: @.***>
Yes, that's right.
Den ons 3 juli 2024 16:40Julian Gruber @.***> skrev:
If I don't enter it and leave the computer it will lock the screen and then when I try to type in my password there it will try to unlock the screen but it can't.
It looks like this is a problem with your window manager - if your screen locks while there's an opened password dialog, you can't log back into the machine. Is that right?
— Reply to this email directly, view it on GitHub https://github.com/filecoin-station/desktop/issues/1659#issuecomment-2206346634, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHYN5KOYC63IHV4UHI4ONDZKQEORAVCNFSM6AAAAABKFOI3RWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGM2DMNRTGQ . You are receiving this because you were mentioned.Message ID: @.***>
This is out of scope for us then. Your desktop should either be set up so that it remembers that you will grant access to the secrets store, or not break if it goes to sleep. There's nothing we can do here.
When I start my computer it automatically logs in. Then it asks for the password to unlock the keyring. If I don't enter it and leave the computer it will lock the screen and then when I try to type in my password there it will try to unlock the screen but it can't. So I have to press the logout button to where I can login to my desktop but then Filecoin Station is messed up and won't work even if I reboot.
Only fix is to delete the station_id file but that changes my wallet so funds are lost.
This is on Linux Mint 21.3