[canary6] - safeStorage encryption fails

Hello,

I’m having issue with the safeStorage encryption on linux x86. When logging in the keyring won’t trigger and result in an error shown below :

app:error Setting access key to SafeStorage failed Error: Error while encrypting the text provided to safeStorage.encryptString. Encryption is not available.

This also happens when trying to launch the Local Server, giving the following error :

Error occurred in handler for 'local-server-config-save': Error: Error while encrypting the text provided to safeStorage.encryptString. Encryption is not available

Since this does not happens with the stable release is any configuration required for the canary version ?

Thank you in advance :slight_smile:

Can you give me more information about your environment?

  • Linux Distro
  • Distro Version
  • Which package format did you use (.deb, .AppImage, etc)
  • any other info

safeStorage is the built-in feature of Electron.

Maybe you have to give a permission to use kwallet or something that your distro uses.

Oh yes, sure, sorry.

Linux : Arch & Fedora with wayland.
Packages: Flatpak and Zip

I’ve read that Wayland isn’t fully supported by Electron. However, since it works well with the stable version, I thought it wouldn’t be an issue here.

Yes, the stable version also uses safeStorage, however, the version of Electron is different.

  • Stable: 31.7.7
  • Canary: 38.4.0

Is this page helpful for you?

https://wiki.archlinux.org/title/Electron#Secret_Service_API

Can you try running Inkdrop with the --enable-logging flag and see if you get any other error logs?

Hello,

Sorry for the long delay …
setting the flag --password-store=gnome-libsecret solved the issue.

Thank you.

1 Like

great, thanks for sharing the solution!