anusii / anusii/solidpod

WSL secure storage keyring issue

Open
#286 3 comments 0 reactions 1 assignee View on GitHub

@cdawei is already working on this.

Since Jun 20, 2025.

Dominant language
Dart
Stars
10
Forks
7
Avg merge
1d 3h
Merged PRs (30d)
6

Description

Description

Reported by @ar4152 (https://github.com/ar4152). See PR #281.

"I have added in-memory auth storage support for solid logins, as a workaround for the secure storage issue on WSL."

Windows Subsystem for Linux

Why

The following issue occurs only on WSL because something to do with the headless component part of WSL. As a result solid logins don't work on WSL.

** (com.example.mlflutter:52445): WARNING **: 23:08:22.064: libsecret_error: Failed to unlock the keyring
Solid Authenticate Failed: PlatformException(Libsecret error, Failed to unlock the keyring, null, null)

Alternatives

Is there some way to get the keyring working on WSL?

Additional Context

"Considered other alternatives for auth storage such as: file, shared_preferences and in-memory. I figured people would be using WSL only for testing or development so went with the in-memory option since no info would stored on disk. File based and shared_preferences would be saving info unencrypted on disk, so perhaps not the best idea. Only downside is users have login each time on WSL - if you would like to switch to file-based or shared_preferences method, please let me know."

WSL may well become a deployment platform given it is the most widely used Linux platform today. So if we can resolve this in general rather than the in-memory work around then it would be better.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.