Repository navigation
Labels
Description
Please agree to the following
- I have searched existing issues for duplicates
- I agree to follow this project's Code of Conduct
Summary
Right after boot Cryptomator shows windows asking to enter vault password, though it should unlock it automatically. I press Cancel, then open menu in system tray, find vault, click Unlock and Cryptomator unlocks it without any prompt. Seems like Cryptomator starts too early and needs some extra time to properly auto-unlock vault.
What software is involved?
- Operating System: Linux 6.1.29-1-MANJARO (amd64) KDE
- Cryptomator: 1.8.0 (Flatpak version)
Volume Type
None
Steps to Reproduce
- Lock all vaults
- Logout
- Login and see a prompt asking for vault password
or
- Reboot
- Login and see a prompt asking for vault password
Expected Behavior
- Lock all vaults
- Logout
- Login and vault mounts without any prompt
or
- Reboot
- Login and vault mounts without any prompt
Actual Behavior
- Lock all vaults
- Logout
- Login and see a prompt asking for vault password
or
- Reboot
- Login and see a prompt asking for vault password
Reproducibility
Always
Relevant Log Output
22:48:26.029 [main] INFO o.c.common.settings.SettingsProvider - Settings loaded from /home/***/.config/Cryptomator/settings.json
22:48:26.063 [main] INFO org.cryptomator.common.Environment - user.home: /home/***
22:48:26.063 [main] INFO org.cryptomator.common.Environment - java.library.path: :/app/Cryptomator/lib/app:/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
22:48:26.063 [main] INFO org.cryptomator.common.Environment - user.language: en
22:48:26.063 [main] INFO org.cryptomator.common.Environment - user.region: null
22:48:26.063 [main] INFO org.cryptomator.common.Environment - logback.configurationFile: null
22:48:26.063 [main] INFO org.cryptomator.common.Environment - cryptomator.settingsPath: ~/.config/Cryptomator/settings.json:~/.Cryptomator/settings.json
22:48:26.063 [main] INFO org.cryptomator.common.Environment - cryptomator.ipcSocketPath: ~/.config/Cryptomator/ipc.socket
22:48:26.063 [main] INFO org.cryptomator.common.Environment - cryptomator.integrationsWin.keychainPaths: null
22:48:26.063 [main] INFO org.cryptomator.common.Environment - cryptomator.logDir: ~/.local/share/Cryptomator/logs
22:48:26.064 [main] INFO org.cryptomator.common.Environment - cryptomator.loopbackAlias: null
22:48:26.064 [main] INFO org.cryptomator.common.Environment - cryptomator.pluginDir: ~/.local/share/Cryptomator/plugins
22:48:26.064 [main] INFO org.cryptomator.common.Environment - cryptomator.mountPointsDir: ~/.local/share/Cryptomator/mnt
22:48:26.064 [main] INFO org.cryptomator.common.Environment - cryptomator.minPwLength: null
22:48:26.064 [main] INFO org.cryptomator.common.Environment - cryptomator.appVersion: 1.8.0
22:48:26.064 [main] INFO org.cryptomator.common.Environment - cryptomator.buildNumber: flatpak-1
22:48:26.064 [main] INFO org.cryptomator.common.Environment - cryptomator.showTrayIcon: false
22:48:26.064 [main] INFO org.cryptomator.common.Environment - cryptomator.p12Path: ~/.config/Cryptomator/key.p12
22:48:26.064 [main] INFO o.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.8.0 on Linux 6.1.29-1-MANJARO (amd64)
22:48:26.064 [main] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
22:48:26.065 [main] DEBUG o.c.launcher.SupportedLanguages - Using system locale
22:48:26.191 [main] INFO org.cryptomator.ipc.Server - Spawning IPC server listening on socket /home/***/.config/Cryptomator/ipc.socket
22:48:26.426 [main] DEBUG o.c.launcher.IpcMessageHandler - Received launch args:
22:48:26.429 [main] DEBUG o.cryptomator.launcher.Cryptomator - Did not find running application instance. Launching GUI...
22:48:26.708 [JavaFX Application Thread] INFO o.cryptomator.launcher.Cryptomator - JavaFX runtime started after 1061ms
22:48:26.713 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir:
22:48:26.876 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir:
22:48:26.878 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.LinuxFuseMountProvider in jar /app/Cryptomator/lib/app/mods/fuse-nio-adapter-2.0.5.jar
22:48:26.884 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.MacFuseMountProvider in jar /app/Cryptomator/lib/app/mods/fuse-nio-adapter-2.0.5.jar
22:48:26.885 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.FuseTMountProvider in jar /app/Cryptomator/lib/app/mods/fuse-nio-adapter-2.0.5.jar
22:48:26.886 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.WinFspMountProvider in jar /app/Cryptomator/lib/app/mods/fuse-nio-adapter-2.0.5.jar
22:48:26.886 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.fuse.mount.WinFspNetworkMountProvider in jar /app/Cryptomator/lib/app/mods/fuse-nio-adapter-2.0.5.jar
22:48:26.887 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.webdav.mount.MacAppleScriptMounter in jar /app/Cryptomator/lib/app/mods/webdav-nio-adapter-2.0.2.jar
22:48:26.887 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.webdav.mount.FallbackMounter in jar /app/Cryptomator/lib/app/mods/webdav-nio-adapter-2.0.2.jar
22:48:26.888 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.webdav.mount.WindowsMounter in jar /app/Cryptomator/lib/app/mods/webdav-nio-adapter-2.0.2.jar
22:48:26.888 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.webdav.mount.LinuxGioMounter in jar /app/Cryptomator/lib/app/mods/webdav-nio-adapter-2.0.2.jar
22:48:26.889 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Found implementation: org.cryptomator.frontend.dokany.mount.DokanyMountProvider in jar /app/Cryptomator/lib/app/mods/dokany-nio-adapter-2.0.0.jar
22:48:26.891 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Implementation is available: org.cryptomator.frontend.fuse.mount.LinuxFuseMountProvider
22:48:26.892 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Implementation is available: org.cryptomator.frontend.webdav.mount.LinuxGioMounter
22:48:26.892 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - MountService: Implementation is available: org.cryptomator.frontend.webdav.mount.FallbackMounter
22:48:26.897 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Scheduled Executor 01
22:48:26.898 [App Scheduled Executor 01] DEBUG o.cryptomator.common.CommonsModule - Starting App Scheduled Executor 02
22:48:26.900 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir:
22:48:26.966 [JavaFX Application Thread] TRACE o.cryptomator.ui.fxapp.FxApplication - FxApplication.start()
22:48:27.064 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir:
22:48:27.066 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - TrayMenuController: Found implementation: org.cryptomator.ui.traymenu.AwtTrayMenuController in jar /app/Cryptomator/lib/app/mods/cryptomator-1.8.0.jar
22:48:27.074 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - TrayMenuController: Implementation is available: org.cryptomator.ui.traymenu.AwtTrayMenuController
22:48:27.122 [JavaFX Application Thread] DEBUG o.c.u.traymenu.AwtTrayMenuController - initialized tray icon
22:48:27.131 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 001
22:48:27.570 [JavaFX Application Thread] DEBUG o.cryptomator.ui.common.FontLoader - Loaded family: Font Awesome 5 Free Solid
22:48:27.594 [JavaFX Application Thread] TRACE o.c.u.m.MainWindowTitleController - init MainWindowTitleController
22:48:27.613 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir:
22:48:27.614 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - KeychainAccessProvider: Found implementation: org.cryptomator.linux.keychain.KDEWalletKeychainAccess in jar /app/Cryptomator/lib/app/mods/integrations-linux-1.2.0.jar
22:48:27.615 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - KeychainAccessProvider: Found implementation: org.cryptomator.linux.keychain.SecretServiceKeychainAccess in jar /app/Cryptomator/lib/app/mods/integrations-linux-1.2.0.jar
22:48:27.637 [JavaFX Application Thread] INFO o.f.d.c.transports.TransportBuilder - Using transport dbus-java-transport-native-unixsocket to connect to unix:path=/run/flatpak/bus
22:48:27.685 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - KeychainAccessProvider: Implementation is available: org.cryptomator.linux.keychain.KDEWalletKeychainAccess
22:48:27.687 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - KeychainAccessProvider: Implementation is available: org.cryptomator.linux.keychain.SecretServiceKeychainAccess
22:48:27.689 [JavaFX Application Thread] INFO o.f.d.c.transports.TransportBuilder - Using transport dbus-java-transport-native-unixsocket to connect to unix:path=/run/flatpak/bus
22:48:27.812 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir:
22:48:27.813 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - RevealPathService: Found implementation: org.cryptomator.linux.revealpath.DBusSendRevealPathService in jar /app/Cryptomator/lib/app/mods/integrations-linux-1.2.0.jar
22:48:27.814 [JavaFX Application Thread] DEBUG o.c.i.common.IntegrationsLoader - RevealPathService: Implementation is available: org.cryptomator.linux.revealpath.DBusSendRevealPathService
22:48:28.104 [JavaFX Application Thread] TRACE o.c.ui.mainwindow.ResizeController - init ResizeController
22:48:28.110 [JavaFX Application Thread] TRACE o.c.u.m.MainWindowController - init MainWindowController
22:48:28.425 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Main window initialized after 2778ms
22:48:28.439 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
22:48:28.441 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - Start unlock workflow for vault-name
22:48:28.448 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 002
22:48:29.308 [DBus-Signal-Receiver-1] INFO o.f.dbus.handlers.SignalHandler - Received signal KWallet.walletOpened: kdewallet
22:48:29.310 [DBus-Signal-Receiver-1] INFO o.f.dbus.handlers.SignalHandler - Received signal KWallet.walletAsyncOpened: {TransactionID: 0, handle: 82954917}
22:48:29.311 [DBus-Signal-Receiver-1] INFO o.f.dbus.handlers.SignalHandler - Received signal KWallet.walletAsyncOpened: {TransactionID: 1, handle: 82954917}
22:48:29.311 [DBus-Signal-Receiver-1] INFO o.f.dbus.handlers.SignalHandler - Received signal KWallet.walletAsyncOpened: {TransactionID: 2, handle: 82954917}
22:48:29.311 [DBus-Signal-Receiver-1] INFO o.f.dbus.handlers.SignalHandler - Received signal KWallet.walletAsyncOpened: {TransactionID: 3, handle: 82954917}
22:48:32.596 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 003
22:48:32.597 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.UpdateChecker - Checking for updates...
22:48:33.204 [JavaFX Application Thread] INFO o.cryptomator.ui.fxapp.UpdateChecker - Current version: 1.8.0, lastest version: 1.8.0
22:48:33.549 [JavaFX Application Thread] DEBUG o.c.u.k.m.PassphraseEntryController - Unlock canceled by user.
22:48:33.550 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockWorkflow - Unlock of 'vault-name' canceled.
22:48:33.550 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
22:48:35.253 [DBus-Signal-Receiver-1] INFO o.f.dbus.handlers.SignalHandler - Received signal KWallet.walletAsyncOpened: {TransactionID: 4, handle: 82954917}
22:48:35.254 [DBus-Signal-Receiver-1] INFO o.f.dbus.handlers.SignalHandler - Received signal KWallet.folderUpdated: {wallet: kdewallet, folder: Nextcloud}
22:48:38.497 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
22:48:38.498 [JavaFX Application Thread] DEBUG o.c.ui.fxapp.FxApplicationWindows - Start unlock workflow for vault-name
22:48:38.500 [DBus-Signal-Receiver-1] INFO o.f.dbus.handlers.SignalHandler - Received signal KWallet.walletAsyncOpened: {TransactionID: 5, handle: 82954917}
22:48:38.500 [JavaFX Application Thread] DEBUG o.c.l.k.KDEWalletKeychainAccess - loadPassphrase: wallet is open.
22:48:38.500 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 004
22:48:38.772 [App Background Thread 004] DEBUG o.c.cryptofs.common.BackupHelper - Verified backup file: /home/***/address-to-vault/vault-name/masterkey.cryptomator.FC1CE0CB.bkup
22:48:38.774 [App Background Thread 004] DEBUG o.c.cryptofs.common.BackupHelper - Verified backup file: /home/***/address-to-vault/vault-name/vault.cryptomator.177A84AE.bkup
22:48:38.785 [App Background Thread 004] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
22:48:38.977 [Thread-16] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /jfuse_mount_probe failed, node not found
22:48:38.980 [App Background Thread 004] DEBUG o.c.l.k.KDEWalletKeychainAccess - Passphrase was not stored.
22:48:38.981 [JavaFX Application Thread] INFO o.c.ui.unlock.UnlockWorkflow - Unlock of 'vault-name' succeeded.
22:48:38.984 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - start recording stats
22:48:38.987 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 005
22:48:39.986 [JavaFX Application Thread] DEBUG o.cryptomator.common.CommonsModule - Starting App Background Thread 006
22:48:42.814 [JavaFX Application Thread] DEBUG o.c.i.common.ClassLoaderFactory - Found jars in cryptomator.pluginDir:
22:48:43.830 [App Scheduled Executor 01] DEBUG o.c.common.settings.SettingsProvider - Attempting to save settings to /home/***/.config/Cryptomator/settings.json
22:48:43.834 [App Scheduled Executor 01] INFO o.c.common.settings.SettingsProvider - Settings saved to /home/***/.config/Cryptomator/settings.json
22:48:44.706 [Thread-15] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2023-04-19T16:23:47.002161144Z, lastAccessTime: 2023-01-24T17:26:12Z, creationTime: 2023-04-19T16:23:47.002161144Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 4096, fileKey: (dev=fe00,ino=531972))
22:48:44.838 [Thread-15] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr /.directory (lastModifiedTime: 2023-03-12T14:38:07.867842939Z, lastAccessTime: 2023-05-22T19:47:30.365432703Z, creationTime: 2023-03-12T14:38:07.867842939Z, isRegularFile: true, isDirectory: false, isSymbolicLink: false, isOther: false, size: 93, fileKey: (dev=fe00,ino=536017))
22:48:44.841 [Thread-15] TRACE o.c.frontend.fuse.ReadOnlyAdapter - open /.directory (0)
22:48:44.845 [Thread-15] TRACE o.c.cryptofs.fh.FileHeaderHolder - Reading file header from /home/***/address-to-vault/vault-name/deleted-seems-sensitive
22:48:44.846 [Thread-15] TRACE o.c.cryptofs.fh.OpenCryptoFile - First channel for this openFile. Initializing file size...
22:48:44.847 [Thread-15] TRACE o.c.frontend.fuse.OpenFileFactory - Opening 1 OpenFile{path=/.directory, channel=org.cryptomator.cryptofs.ch.CleartextFileChannel@5c71cc1e}
22:48:44.848 [Thread-16] TRACE o.c.frontend.fuse.ReadOnlyAdapter - read 4096 bytes from file /.directory starting at 0...
22:48:44.849 [Thread-16] TRACE o.cryptomator.frontend.fuse.OpenFile - Reached EOF
22:48:44.849 [Thread-16] TRACE o.c.frontend.fuse.ReadOnlyAdapter - read 93 bytes from file /.directory
22:48:44.849 [Thread-16] TRACE o.c.frontend.fuse.ReadOnlyAdapter - release /.directory (1)
22:48:44.849 [Thread-16] TRACE o.c.frontend.fuse.OpenFileFactory - Releasing 1 OpenFile{path=/.directory, channel=org.cryptomator.cryptofs.ch.CleartextFileChannel@5c71cc1e}
22:48:44.916 [Thread-15] TRACE o.c.frontend.fuse.ReadOnlyAdapter - statfs / (113422168064 / 244681363456)
22:48:44.926 [Thread-15] TRACE o.c.frontend.fuse.ReadOnlyAdapter - readdir /
22:48:44.929 [Thread-15] TRACE o.c.c.dir.CryptoDirectoryStream - OPEN
22:48:44.948 [Thread-15] TRACE o.c.c.dir.CryptoDirectoryStream - CLOSE
22:48:44.949 [Thread-15] TRACE o.c.frontend.fuse.ReadOnlyAdapter - getattr / (lastModifiedTime: 2023-04-19T16:23:47.002161144Z, lastAccessTime: 2023-01-24T17:26:12Z, creationTime: 2023-04-19T16:23:47.002161144Z, isRegularFile: false, isDirectory: true, isSymbolicLink: false, isOther: false, size: 4096, fileKey: (dev=fe00,ino=531972))
22:48:44.950 [Thread-16] TRACE o.c.frontend.fuse.ReadOnlyAdapter - statfs / (113421762560 / 244681363456)Anything else?
No response
Reacted by cwe1ss and AltantisPegasus
Activity
[-]Cant unlock vault after boot[/-][+]Cant auto-unlock vault after boot[/+][-]Cant auto-unlock vault after boot[/-][+]Cant auto-unlock vault after login/boot[/+]HitchRait commentedon Feb 20, 2024
Recently figured that on Manjaro GNOME bug is reproduced only when autologin is enabled. If I switch to manual login, it works fine.
bcpardo commentedon Dec 30, 2024
Getting the same issue here on CachyOS GNOME.
purejava commentedon Dec 31, 2024
Duplicate of #1950.
This is due to the keychain backends KDE kwallet and GNOME keyring being locked after a reboot / login. GNOME keyring is unlocked from GNOME though, when you manually log in to your GNOME session and therefore Cryptomator can read your password from the GNOME keyring on auto starting Cryptomator.
npkasenides commentedon Feb 17, 2025
This is not true in my case. A Cryptomator vault still requires its password on login, even though my login keyring is passwordless. Interestingly, this applies only to the first vault on the list. (GNOME, 1.15.1 flatpak-1)
Cral0202 commentedon Jun 14, 2025
I have the same issue on Fedora 42. It does not automatically unlock after boot, but if I close down the unlock prompt and simply click "unlock", it automatically unlocks without needing to insert a password. I thought maybe KDE Wallet was slow to start or something, so I set a 1 minute delay for Cryptomator to start after boot. But when it boots up after the delay, the exact same issue occurs.
dazu89 commentedon Oct 4, 2025
Same problem as @Cral0202.
purejava commentedon Oct 5, 2025
I tested this (with a recent version of the flatpaked Cryptomator) and a passwordless GNOME login keyring. It prompts me for the vault password too after a reboot, but due to a still locked keyring. When I set the password of the GNOME login keyring to the same password as of my user account, the GNOME keyring is still locked after a reboot, so this does not help much.
The reason for showing the password login pop-up is that Cryptomator cannot access the stored password in the still locked GNOME keyring. I veryfied this by locking out of my session and manually locking in and Crytomator starts and unlocks the vault without any prompt. This works for the GNOME login keyring password set to "" and to the user password.
purejava commentedon Oct 5, 2025
Do you auto-login to your KDE session or not?
After your KDE session comes up, is the KDE walltet locked then or unlocked?
12 remaining items
purejava commentedon Jul 15, 2026
To what exactly are you referring to?
That's what I said and how Cryptomator works. It can check, whether gnome-keyring is locked and unlocks it, in case it is locked. Other apps do the same. This happens over DBus.
Thanks for this information. Cryptomator has a very good debug log that exactly shows, what is going on. Enable it, check it for potential sensitive data and remove the sensitive dat, then post the log here. It clearly shows what is going on and makes it much easier to analyze this issue.
Eternal9100 commentedon Jul 15, 2026
@purejava Please see attached. It's a test vault so no secrets of note. Using v 1.19.3 (deb-6495).
1, create vault. Fill passpword box Select "remember password"
2, Open and mount, lock.
3, Reopen, blank password box. Close
4, Manually open vault, as 3. Blank password box. Close.
5, Open and close Chrome.
6, Reopen vault, vault now mounts without intervention.
So, it would appear that having another app unlock the keyring first is key. If you need more logs or those these don't give you what you need, please let me know.
cryptomator2.log
cryptomator1.log
cryptomator0.log
purejava commentedon Jul 15, 2026
Thanks for the log. It confirms, that the keychain backend is still locked and thus storing the password for the new vault fails:
I'll try to reproduce the issue on a Linux Mint 22.3. Cinnamon.
Are you sure that
gnome-keyringis the installed keychain backend Linux package, that you are using? Did you install a certain keychain backend or stay with the one that came with Linux Mint?Eternal9100 commentedon Jul 15, 2026
@purejava Definitely not touched since install. Gnome-keyring is 46.1-2ubuntu0.2 from the noble updates repo, Mint 22.3 has a Ubuntu 24.04 Noble base.
purejava commentedon Jul 16, 2026
I managed to reproduce this issue on a newly installed Mint 22.3. Cinnamon. But, this is not a problem with Cryptomator, but with a missing
loginkeyring, which should be the default and available on a newly installed OS, at least with agnome-keyringbackend. A functional keyring is needed to store passwords from apps like Cryptomator.What I did was to install Mint 22.3. Cinnamon from scratch. After logging in as a user, the real problem occurs:
loginkeyring is available on disc - see Screenshot 1 belowsessionkeyring is thereScreenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
For whatever reason, the check issued by Cryptomator whether the keyring is available tells Cryptomator, that the keyring is there and available. The check happens here:
That's why Cryptomator tries to access the keyring. When the check would fail (as it should) Cryptomator would not offer the checkbox under the password entry field to store the password at all.
The same happens with the same check issued on the CLI. When you do the same check on the CLI, it returns with a positive result, but the keyring is not functional. The following screenshot shows the call issuing the check with the result: the
loginkeyring is there:I consider this to be a bug in Linux Mint or gnome-keyring, as the
loginkeyring is there, but not available via DBus and therefore not functional. Unfortunately, I do not have the time or ressources to track this down.Side note: I installed the VM several times. On some first log in attempts, the
loginkeyring is visible in DBus, and not on others.@Eternal9100 You could ask, why other apps on your system can store passwords in a keyring. Well, when the
loginkeyring is available and functional, which means visible on DBus and has the exact namelogin, Cryptomator can use it too. I tested that on the newly installed Mint box.Eternal9100 commentedon Jul 16, 2026
@purejava Thanks for your work. I really appreciate it. It lead me to:
https://forums.linuxmint.com/viewtopic.php?t=425086
which in turn relied on this:
https://en.opensuse.org/GNOME_Keyring
Cinnamon does not use sddm, it uses lightdm so the file is:
/etc/pam.d/lightdmUnlike the Min forum example, my lightdm file was populated with:
From the GNOME resource I removed the comment hyphens (-) from the two lines highlighted in yellow (in the GNOME resource):
For CM, the other lines can be left as they are and the order must not be changed. It works as I expect now. The login vault is opened and the vault password pulled into CM, if you want to verify that. The login keyring is open after desktop build and opening CM and mounting the vault works as expected with no password box. It has survived two reboots. Is this viable for the install routine. I suspect that this bug has been around so long that a lot of the others have just put in a work-around routing, apart from MS, of course.
purejava commentedon Jul 18, 2026
Glad, that it is working for you now @Eternal9100.
I understand, that this was a specific configuration on your system, but not a bug in Cryptomator.
Nontheless I discovered during testing that Cryptomator does not show the unlock prompt on certain situations, e.g. when you try to store a password on a locked keychain. I'll open a separate issue on this problem.
AltantisPegasus commentedon Aug 20, 2026
i do have the same issue with the flatpak version. no autologin, but auto unlocking 2 vaults on user logon. one of them mostly failed, the second some times. but my passwords are likely stored somewhere because i did not choose where to save the passwords:
edit: logs does not show any error.
purejava commentedon Aug 20, 2026
Thanks for your report @AltantisPegasus. Please provide more information about the system you are using, the next time you comment on an issue. Only providing few information makes troubleshooting harder than it needs to be.
What distribution are you on?
What desktop environment are you using?
What keychain backend is installed on your system (gnome-keyring, kwallet)?
Please provide your log in debug mode, cleaned from any personal information it may contain.
AltantisPegasus commentedon Aug 20, 2026
Operating System: Nobara Linux 44 (Fedora)
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.8-201.nobara.fc44.x86_64 (64-bit)
Cryptomator 1.19.3 Flatpak
@purejava: updating my system for nearly 1,5 year now regularly - so I started with older versions of course. logs will follow
purejava commentedon Aug 20, 2026
Thanks for the additional information @AltantisPegasus. I could reproduce what you were describing in your comment above.
As you wrote, having unlocking a vault on starting Crytomator enabled does not work in some cases. It fails, when the keychain still is locked, as Cryptomator is not trying to unlock it. This can be reproduced with the AppImage as well. I'll look into this issue.
AltantisPegasus commentedon Aug 20, 2026
@purejava glad you could reproduce it. maybe also the logs here by me will help you .
purejava commentedon Aug 23, 2026
The reason for Cryptomator not unlocking the keychain is this statement:
cryptomator/src/main/java/org/cryptomator/ui/keyloading/masterkeyfile/MasterkeyFileLoadingModule.java
Line 27 in abcbefd
It was introduced with this change, because users shouldn't be prompted too often with a keychain unlock prompt and that former change breaks a vault configured to unlock on starting Cryptomator. Removing
|| keychain.isLocked()from the statement makes Cryptomator prompt for keychain unlocking on trying to unlock a vault on starting Cryptomator. I think removing the code from the statement is ok, as people nowadays have a setting to turn off all keychain backends, in case the get annoyed by keychain unlock prompts.Being on this issue, I also checked all the other changes made with #1526. There are two more things currently broken. Both happen on a locked keychain.
This
cryptomator/src/main/java/org/cryptomator/ui/changepassword/ChangePasswordController.java
Line 99 in abcbefd
prevents the password from being changed in the keychain as well, once it is changed for the vault. So, the keychain keeps the old password. The statement should be changed accordingly to the change mentioned before.
And this
cryptomator/src/main/java/org/cryptomator/ui/vaultoptions/MasterkeyOptionsController.java
Line 43 in abcbefd
keeps the button to forget the password from the keychain hidden, although the keychain contains the password. The statement should be changed accordingly to the changes mentioned before for a fix.
One might ask, what happens, when "changePassword" is invoked on a locked keychain, as mentioned above:
GnomeKeyringKeychainAccessandSecretServiceKeychainAccesshandle that correctly, as they unlock the keychain, when needed.A final note: removing
&& !keychain.isLocked()from the three statements does not break Windows or Mac, as the keychains there cannot be locked.