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

[Linux] read returns null when keyring is unlocked for the first time after boot #643

Closed
KRTirtho opened this issue Oct 30, 2023 · 2 comments

Comments

@KRTirtho
Copy link

KRTirtho commented Oct 30, 2023

FlutterSecureStorage.read returns null for the first time unlocking the secret-service after system boots.

  • If the keyring is already unlocked beforehand, it works fine.
  • If I manually lock the keyring and then try to read, it works fine also.

This issue is only occuring in Ubuntu-22.04 or above and Debian-12 or above based Linux distributions

Mine is Ubuntu 23.04

Source code:
https://github.com/KRTirtho/spotube/tree/cf7b849cddca3260d9c3a6a064418b0ba2d63270/lib/utils/persisted_state_notifier.dart#L60-L97

@KRTirtho
Copy link
Author

Also, in a KDE based environment where KWallet is installed it still uses gnome-keyring instead of kwallet

@juliansteenbakker
Copy link
Owner

I am closing all older issues. If this issue still exists in the latest version, please let me know.

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