Skip to content

Cant auto-unlock vault after login/boot #2920

Closed

Description

@HitchRait

Please agree to the following

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

  1. Lock all vaults
  2. Logout
  3. Login and see a prompt asking for vault password

or

  1. Reboot
  2. Login and see a prompt asking for vault password

Expected Behavior

  1. Lock all vaults
  2. Logout
  3. Login and vault mounts without any prompt

or

  1. Reboot
  2. Login and vault mounts without any prompt

Actual Behavior

  1. Lock all vaults
  2. Logout
  3. Login and see a prompt asking for vault password

or

  1. Reboot
  2. 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

Activity

  1. changed the title [-]Cant unlock vault after boot[/-] [+]Cant auto-unlock vault after boot[/+] on May 22, 2023
  2. changed the title [-]Cant auto-unlock vault after boot[/-] [+]Cant auto-unlock vault after login/boot[/+] on May 22, 2023
  3. HitchRait commented on Feb 20, 2024

    @HitchRait
    Author

    Recently figured that on Manjaro GNOME bug is reproduced only when autologin is enabled. If I switch to manual login, it works fine.

  4. bcpardo commented on Dec 30, 2024

    @bcpardo

    Getting the same issue here on CachyOS GNOME.

  5. purejava commented on Dec 31, 2024

    @purejava
    Contributor

    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.

  6. npkasenides commented on Feb 17, 2025

    @npkasenides

    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.

    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)

  7. Cral0202 commented on Jun 14, 2025

    @Cral0202

    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.

  8. dazu89 commented on Oct 4, 2025

    @dazu89

    Same problem as @Cral0202.

  9. purejava commented on Oct 5, 2025

    @purejava
    Contributor

    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)

    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.

  10. purejava commented on Oct 5, 2025

    @purejava
    Contributor

    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.

    Do you auto-login to your KDE session or not?
    After your KDE session comes up, is the KDE walltet locked then or unlocked?

  11. 12 remaining items

  12. purejava commented on Jul 15, 2026

    @purejava
    Contributor

    @purejava This is not my experience.

    To what exactly are you referring to?

    If you invoke an app which is able to unlock the seahorse keyring before starting Crypt., the volume opens and mounts without the pw dialog. Any chromium based browser will do or anything else which uses gnome-keyring If the browser is not invoked then you either unlock the keyring beforehand or easier still, start a chromium browser and then fill it.

    So if the browser, bitwarden, draw.io, vorta/borg and any number of apps can open the keyring without intervention and Cryptomator cannot then I think the problem is not gnome-keyring.

    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.

    I do not use autologin and the login keyring uses the user password in Cinnamon in Mint 22.3.

    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.

  13. Eternal9100 commented on Jul 15, 2026

    @Eternal9100

    @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

  14. purejava commented on Jul 15, 2026

    @purejava
    Contributor

    Thanks for the log. It confirms, that the keychain backend is still locked and thus storing the password for the new vault fails:

    09:16:57.095 [App Background Thread 004] WARN  org.purejava.secret.api.Collection - DBus error on calling CreateItem for /org/freedesktop/secrets/aliases/default: Cannot create an item in a locked collection
    09:16:57.096 [App Background Thread 004] ERROR o.c.ui.keyloading.KeyLoadingStrategy - Failed to store passphrase in system keychain.
    org.cryptomator.integrations.keychain.KeychainAccessException: Storing password failed.

    I'll try to reproduce the issue on a Linux Mint 22.3. Cinnamon.

    Are you sure that gnome-keyring is 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?

  15. Eternal9100 commented on Jul 15, 2026

    @Eternal9100

    @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.

  16. purejava commented on Jul 16, 2026

    @purejava
    Contributor

    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 login keyring, which should be the default and available on a newly installed OS, at least with a gnome-keyring backend. 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:

    • a login keyring is available on disc - see Screenshot 1 below
    • but it is not available via DBus - see Screenshot 2 below, only the session keyring is there
    • so it can't be seen or accessed by Seahorse (see Screenshot 3 below) or KeepSecret (see Screenshot 4 below) or any other app that needs to store passwords, including Cryptomator

    Screenshot 1

    Image

    Screenshot 2

    Image

    Screenshot 3

    Image

    Screenshot 4

    Image

    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:

        public boolean hasDefaultCollection() {
            return !new Collection(new DBusPath(Static.DBusPath.DEFAULT_COLLECTION)).getDBusPath().equals("/");
        }

    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 login keyring is there:

    Image

    I consider this to be a bug in Linux Mint or gnome-keyring, as the login keyring 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 login keyring 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 login keyring is available and functional, which means visible on DBus and has the exact name login, Cryptomator can use it too. I tested that on the newly installed Mint box.

  17. Eternal9100 commented on Jul 16, 2026

    @Eternal9100

    @purejava Thanks for your work. I really appreciate it. It lead me to:

    1. Not a bug in CM but the other apps don't seem to need the login keyring to be pre-unlocked so is there a change or enhancement to be had? CM is not alone, apparently some version of VS Code (when run in a Windows WSL VM) has this problem too. See below.
    2. If you look at the screenshot, there is a keyring called login already. The directory listing of keys is, and was before the fix:
    total 16
    -rw------- 1 user user 7732 Jul 16 17:10 Default_keyring.keyring
    -rw------- 1 user user 1020 Jul 16 20:28 login.keyring
    -rw------- 1 user user  207 Sep 11  2025 user.keystore
    1. When the password is entered for the first time after setting up the vault and remember password is checked, the password does create an entry in the default keyring. Its subsequent reads which are the problem. If you open the login and default keyrings manually the vault will open without re-entering the password.
    2. The D-Bus thing I cant speak to because I know nothing about it but it lead me to this:

    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/lightdm

    Unlike the Min forum example, my lightdm file was populated with:

    auth    requisite       pam_nologin.so
    auth    sufficient      pam_succeed_if.so user ingroup nopasswdlogin
    @include common-auth
    -auth    optional        pam_gnome_keyring.so
    -auth    optional        pam_kwallet.so
    -auth    optional        pam_kwallet5.so
    @include common-account
    session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close
    #session required        pam_loginuid.so
    session required        pam_limits.so
    @include common-session
    session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
    -session optional        pam_gnome_keyring.so auto_start
    -session optional        pam_kwallet.so auto_start
    -session optional        pam_kwallet5.so auto_start
    session required        pam_env.so readenv=1
    session required        pam_env.so readenv=1 user_readenv=1 envfile=/etc/default/locale
    

    From the GNOME resource I removed the comment hyphens (-) from the two lines highlighted in yellow (in the GNOME resource):

    auth    optional        pam_gnome_keyring.so
    session optional        pam_gnome_keyring.so auto_start
    

    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.

    Image
  18. purejava commented on Jul 18, 2026

    @purejava
    Contributor

    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.

  19. AltantisPegasus commented on Aug 20, 2026

    @AltantisPegasus

    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:

    Image

    edit: logs does not show any error.

  20. purejava commented on Aug 20, 2026

    @purejava
    Contributor

    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.

  21. AltantisPegasus commented on Aug 20, 2026

    @AltantisPegasus

    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

  22. purejava commented on Aug 20, 2026

    @purejava
    Contributor

    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.

    Image
  23. AltantisPegasus commented on Aug 20, 2026

    @AltantisPegasus

    @purejava glad you could reproduce it. maybe also the logs here by me will help you .

  24. purejava commented on Aug 23, 2026

    @purejava
    Contributor

    It fails, when the keychain still is locked, as Cryptomator is not trying to unlock it.

    The reason for Cryptomator not unlocking the keychain is this statement:

    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

    if (keychain.isSupported() && !keychain.isLocked()) {

    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

    if (keychain.isSupported() && !keychain.isLocked()) {

    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:
    GnomeKeyringKeychainAccess and SecretServiceKeychainAccess handle 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.

  25. deleted a comment from on Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions