Linux version does not "keep me logged in"

Hi! I’m not sure if this belongs here, but I’ll try:
I use Anytype on multiple devices (2 Windows computers, 2 Linux computers & 2 Android devices).
Every time I open the Anytype appimage file on Linux, I need to login.
I don’t know if this behavior is intended.
The last time I didn’t even noticed I was screen sharing and exposed my keychain phrase…

To Reproduce
Steps to reproduce the behavior:

  1. Open Anytype
  2. Login
  3. Close Anytype
  4. Reopen Anytype
  5. You need to login again

Expected behavior
Like on other platforms, I would continue to be logged in (or at least set the keychain as a password field)

System Information:

  • OS: Arch Linux
  • Device Manufacturer/Model: Any Linux laptop
  • Anytype Version: 0.23.5
2 Likes

Kindly install gnome-keyring or use KeepassXC. Anytype uses Secret service to store the passphrase so you need something that implements Secret Service API

2 Likes

use KeepassXC

I already use Bitwarden and it hasn’t been an issue so far.
The complaint mostly came from the fact that the secret is not hidden

Anytype uses Secret service to store the passphrase so you need something that implements Secret Service API

I thought the KDE Wallet would have been just fine :c

install gnome-keyring

And that solved the issue!
Thanks!

I had the same issue on Anytype 0.24.0 on OpenSUSE Tumbleweed 20220304, and was able to fix it by installing gnome-keyring. For future versions of Anytype, I would definitely like to be able to use KDE Wallet instead in the future as that’s my main DE.

Can KeepassXC still be used for this if it’s the flatpak version? @lynxlove

kwallet’s support for libsecrets is yet to be approved and merged. Once it is released, kwallet can be used as a secrets provider instead of gnome-keyring or keepassXC

I’ve never tried it myself, so I’m not entirely sure. But it should work

Sorry for bringing up again this topic but I’m using the AppImage version on Arch and I can’t seem to stay logged in even with gnome-keyring installed. Is there any other requirement or am I missing something else?
(p.s. I gave a quick look at What are Linux keyring, gnome-keyring, Secret Service, D-Bus but I’m not confident in this field yet)

1 Like

install libsecret, keyring does not install libsecret somehow, at least this is what I’ve read

2 Likes

I have installed:

libsecret 0.20.5-2
gnome-keyring 1:42.1-2
archlinux-keyring 20230130-1

but closing and reopening the app asks for the credentials again, could it be something related to the fact that I’m not using a wm?