Skip to content

Application freezes after aborting Keyring access #1268

Closed

Description

@infeo

Description

On certain linux distributions where the GNOME keyring is installed, Cryptomator cannot be used without entering the password for it. If the enter-password-dialogue for the keyring is canceld twice, the whole desktop freezes and the system is not responding anymore.

System Setup

  • Operating system and version: Kubuntu or Lubuntu 18.04 LTS
  • Cryptomator version: 1.5.6
  • Volume type: -

Steps to Reproduce

  1. Start Cryptomator
  2. Cancel dialogue to unlock keyring
  3. Select a vault and click the unlock button
  4. Cancel dialogue to unlock keyring a second time

Expected Behavior

Cryptomator contiues and show password prompt.

Actual Behavior

The screen freezes.

Reproducibility

Always

Additional Information

Log:

9:15:55.759 [main] INFO org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.5 on Linux 4.15.0-106-generic (amd64)
09:15:56.209 [JavaFX Application Thread] INFO o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
09:15:56.894 [JavaFX Application Thread] INFO o.f.secret.handlers.SignalHandler - await signal org.freedesktop.secret.interfaces.Prompt$Completed(/org/freedesktop/secrets/prompt/u1) within 300 seconds.
09:17:04.369 [DBus Worker Thread-2] INFO o.f.secret.handlers.SignalHandler - Prompt.Completed (/org/freedesktop/secrets/prompt/u1): {dismissed: true, result: [[]]}
09:17:15.248 [JavaFX Application Thread] WARN o.c.keychain.KeychainManager - LOAD
09:17:15.288 [JavaFX Application Thread] INFO o.f.secret.handlers.SignalHandler - await signal org.freedesktop.secret.interfaces.Prompt$Completed(/org/freedesktop/secrets/prompt/u2) within 300 seconds.

This issue was first reported in our forums, see here (German only) or there.

Activity

  1. added
    state:confirmed
    on Jul 6, 2020
  2. infeo commented on Jul 6, 2020

    @infeo
    MemberAuthor

    @swiesend We are using your library to access the GNOME keyring, can you imagine what went wrong?

  3. swiesend commented on Jul 6, 2020

    @swiesend
    Contributor

    I just tried to reproduce the problem with a fresh kubuntu 18.04 install, but could not succeed to reproduce it. But I'll look into this.

    1. default installation with current updates (without gnome-keyring)
    • no running gnome-keyring-daemon
    22:52:17.034 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.5 on Linux 5.3.0-62-generic (amd64)
    22:52:17.038 [main] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
    22:52:17.043 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Client] Failed to connect.
    22:52:17.043 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Client] Failed to connect.
    22:52:17.142 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Server] Wrote IPC port 38517 to /home/sebastian/.config/Cryptomator/ipcPort.bin
    22:52:17.144 [main] DEBUG o.c.launcher.IpcProtocolImpl - Received launch args: 
    22:52:17.145 [main] DEBUG org.cryptomator.launcher.Cryptomator - Did not find running application instance. Launching GUI...
    22:52:17.460 [main] DEBUG o.c.ui.traymenu.TrayIconController - initialized tray icon
    22:52:17.485 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 001
    22:52:17.505 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 002
    22:52:17.523 [App Background Thread 001] DEBUG o.c.ui.launcher.FxApplicationStarter - Starting JavaFX runtime...
    22:52:17.866 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
    22:52:18.723 [JavaFX Application Thread] ERROR o.f.secret.handlers.MessageHandler - org.freedesktop.dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
    22:52:19.128 [JavaFX Application Thread] TRACE o.cryptomator.ui.fxapp.FxApplication - FxApplication.start()
    22:52:20.263 [JavaFX Application Thread] DEBUG org.cryptomator.ui.common.FontLoader - Loaded family: Font Awesome 5 Free Solid
    22:52:20.421 [JavaFX Application Thread] DEBUG o.c.u.m.MainWindowTitleController - init MainWindowTitleController
    22:52:20.722 [JavaFX Application Thread] DEBUG o.c.u.m.MainWindowController - init MainWindowController
    22:52:21.850 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing MainWindow
    22:52:30.545 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing Preferences
    22:52:38.714 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 003
    22:52:38.715 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    22:52:38.724 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:52:38.728 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    22:52:40.207 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    22:52:40.252 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:52:40.254 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    22:52:41.021 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 004
    22:52:41.023 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    22:52:41.030 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:52:41.034 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    22:52:41.895 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    22:52:41.907 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:52:41.909 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    22:52:42.757 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 005
    22:52:42.762 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    22:52:42.771 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:52:42.774 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    22:52:43.772 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    22:52:43.822 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:52:43.845 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    22:52:44.506 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 006
    22:52:44.516 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    22:52:44.523 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:52:44.527 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    22:52:45.413 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    22:52:45.422 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:52:45.423 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    22:58:24.659 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing MainWindow
    22:58:28.614 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing Preferences
    22:58:50.078 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    22:58:50.079 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:58:50.081 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    22:58:50.992 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    22:58:51.011 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:58:51.015 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    22:58:52.142 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    22:58:52.145 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:58:52.154 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    22:58:52.980 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    22:58:53.010 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    22:58:53.023 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:04:46.002 [main] INFO  org.cryptomator.launcher.Cryptomator - UI shut down
    23:04:46.003 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Server] Shut down
    23:04:46.047 [ShutdownTasks] DEBUG org.cryptomator.common.ShutdownHook - Running graceful shutdown tasks...
    
    1. with gnome-keyring (3.28.0.2-1ubuntu1.18.04.1) installed, no restart
    • starting cryptomator, starts the gnome-keyring-daemon, but no freeze after two aborts
    23:06:13.342 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.5 on Linux 5.3.0-62-generic (amd64)
    23:06:13.345 [main] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
    23:06:13.347 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Client] Failed to connect.
    23:06:13.348 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Client] Failed to connect.
    23:06:13.486 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Server] Wrote IPC port 34123 to /home/sebastian/.config/Cryptomator/ipcPort.bin
    23:06:13.488 [main] DEBUG o.c.launcher.IpcProtocolImpl - Received launch args: 
    23:06:13.489 [main] DEBUG org.cryptomator.launcher.Cryptomator - Did not find running application instance. Launching GUI...
    23:06:13.801 [main] DEBUG o.c.ui.traymenu.TrayIconController - initialized tray icon
    23:06:13.894 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 001
    23:06:13.895 [App Background Thread 001] DEBUG o.c.ui.launcher.FxApplicationStarter - Starting JavaFX runtime...
    23:06:13.913 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 002
    23:06:14.610 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
    23:06:15.928 [JavaFX Application Thread] ERROR o.f.secret.handlers.MessageHandler - org.freedesktop.dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/secrets/collection/login
    23:06:16.898 [JavaFX Application Thread] TRACE o.cryptomator.ui.fxapp.FxApplication - FxApplication.start()
    23:06:19.516 [JavaFX Application Thread] DEBUG org.cryptomator.ui.common.FontLoader - Loaded family: Font Awesome 5 Free Solid
    23:06:19.885 [JavaFX Application Thread] DEBUG o.c.u.m.MainWindowTitleController - init MainWindowTitleController
    23:06:20.758 [JavaFX Application Thread] DEBUG o.c.u.m.MainWindowController - init MainWindowController
    23:06:22.847 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing MainWindow
    23:06:22.849 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing MainWindow
    23:06:28.237 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 003
    23:06:28.238 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:06:28.247 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:06:28.259 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:06:57.384 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:06:57.434 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:06:57.466 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:06:58.390 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 004
    23:06:58.391 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:06:58.402 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:06:58.405 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:06:59.362 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:06:59.421 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:06:59.430 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:01.418 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 005
    23:07:01.419 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:01.419 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:01.420 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:02.277 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:07:02.300 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:02.316 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:03.776 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 006
    23:07:03.777 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:03.781 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:03.785 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:05.563 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:07:05.596 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:05.626 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:06.365 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:06.366 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:06.368 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:07.385 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:07:07.392 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:07.393 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:08.328 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:08.345 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:08.357 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:09.330 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:07:09.343 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:09.345 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:10.447 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:10.449 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:10.451 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:11.583 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:07:11.603 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:11.608 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:12.420 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:12.443 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:12.454 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:14.032 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:07:14.069 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:14.096 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:14.813 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:14.819 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:14.824 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:18.963 [JavaFX Application Thread] TRACE o.c.ui.unlock.UnlockController - UnlockController.unlock()
    23:07:19.059 [App Background Thread 006] DEBUG o.cryptomator.cryptofs.ReadonlyFlag - Vault opened for read and write.
    23:07:19.999 [App Background Thread 006] DEBUG o.c.common.vaults.FuseVolume - Successfully created mount point: /home/sebastian/.local/share/Cryptomator/mnt/7h6GOMINy1Zi_0
    23:07:22.230 [App Background Thread 006] INFO  o.c.ui.unlock.UnlockWorkflow - Unlock of 'test-tresor' succeeded.
    23:07:22.258 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - start recording stats
    23:07:25.904 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:25.933 [App Background Thread 006] DEBUG o.c.frontend.fuse.ReadOnlyAdapter - Marked file system adapter as unmounted.
    23:07:25.934 [App Background Thread 006] DEBUG o.c.common.vaults.FuseVolume - Successfully deleted mount point: /home/sebastian/.local/share/Cryptomator/mnt/7h6GOMINy1Zi_0
    23:07:25.941 [JavaFX Application Thread] INFO  o.cryptomator.ui.common.VaultService - Locked test-tresor
    23:07:25.942 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:25.943 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:30.221 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:30.226 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:30.229 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:31.319 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:07:31.347 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:31.350 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:32.028 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:07:32.033 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:32.036 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:07:33.076 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:07:33.087 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:07:33.089 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:07:34.684 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing Preferences
    23:10:32.065 [main] INFO  org.cryptomator.launcher.Cryptomator - UI shut down
    23:10:32.066 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Server] Shut down
    23:10:32.107 [Thread-16] TRACE o.c.frontend.fuse.ReadOnlyAdapter - File system adapter already unmounted.
    23:10:32.108 [ShutdownTasks] DEBUG org.cryptomator.common.ShutdownHook - Running graceful shutdown tasks...
    
    1. with gnome-keyring (3.28.0.2-1ubuntu1.18.04.1) installed, after restart
    • starting cryptomator, starts the gnome-keyring-daemon, but no freeze after two aborts
    23:20:41.214 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.5 on Linux 5.3.0-62-generic (amd64)
    23:20:41.218 [main] DEBUG org.cryptomator.logging.DebugMode - Debug mode enabled
    23:20:41.220 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Client] Failed to connect.
    23:20:41.220 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Client] Failed to connect.
    23:20:41.317 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Server] Wrote IPC port 44801 to /home/sebastian/.config/Cryptomator/ipcPort.bin
    23:20:41.319 [main] DEBUG o.c.launcher.IpcProtocolImpl - Received launch args: 
    23:20:41.320 [main] DEBUG org.cryptomator.launcher.Cryptomator - Did not find running application instance. Launching GUI...
    23:20:41.591 [main] DEBUG o.c.ui.traymenu.TrayIconController - initialized tray icon
    23:20:41.631 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 001
    23:20:41.634 [App Background Thread 001] DEBUG o.c.ui.launcher.FxApplicationStarter - Starting JavaFX runtime...
    23:20:41.651 [main] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 002
    23:20:42.083 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
    23:20:42.859 [JavaFX Application Thread] ERROR o.f.secret.handlers.MessageHandler - org.freedesktop.dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/secrets/collection/login
    23:20:43.234 [JavaFX Application Thread] TRACE o.cryptomator.ui.fxapp.FxApplication - FxApplication.start()
    23:20:44.919 [JavaFX Application Thread] DEBUG org.cryptomator.ui.common.FontLoader - Loaded family: Font Awesome 5 Free Solid
    23:20:45.421 [JavaFX Application Thread] DEBUG o.c.u.m.MainWindowTitleController - init MainWindowTitleController
    23:20:46.068 [JavaFX Application Thread] DEBUG o.c.u.m.MainWindowController - init MainWindowController
    23:20:48.113 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing MainWindow
    23:22:23.375 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 003
    23:22:23.376 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:22:23.388 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:22:23.391 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:22:28.489 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:22:28.534 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:22:28.535 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:22:29.976 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 004
    23:22:29.977 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:22:29.984 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:22:29.986 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:22:31.370 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:22:31.414 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:22:31.418 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:22:32.981 [JavaFX Application Thread] DEBUG org.cryptomator.common.CommonsModule - Starting App Background Thread 005
    23:22:32.982 [JavaFX Application Thread] DEBUG o.cryptomator.ui.fxapp.FxApplication - Showing UnlockWindow for test-tresor
    23:22:32.983 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:22:32.983 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: false
    23:22:37.096 [JavaFX Application Thread] DEBUG o.c.ui.unlock.UnlockController - Unlock canceled by user.
    23:22:37.120 [JavaFX Application Thread] DEBUG o.c.common.vaults.VaultStats - stop recording stats
    23:22:37.126 [JavaFX Application Thread] DEBUG o.c.ui.launcher.AppLifecycleListener - Allow quitting without prompt: true
    23:22:48.898 [main] INFO  org.cryptomator.launcher.Cryptomator - UI shut down
    23:22:48.899 [main] DEBUG org.cryptomator.launcher.IpcFactory - [Server] Shut down
    23:22:48.983 [ShutdownTasks] DEBUG org.cryptomator.common.ShutdownHook - Running graceful shutdown tasks...
    
    
  4. BeyerMart commented on Aug 5, 2020

    @BeyerMart
    Contributor

    I was trying to reproduce these errors on Lubuntu 19.10 and Kubuntu 18.04.
    I have never experienced a complete freeze of the OS. The worst was, you would have to wait 2 times 300 seconds, without any prompt. 300 seconds (5 min) is quite some time to wait.
    In most (if not all) of the 300 seconds "freezes", the screen is locked onto the "Unlock Keyring" window, but some keyboard input into the textfield is possible, normally the buttons don't work. Sometimes only the Cryptomator application is blocked for 300 (*2) seconds.
    The second freeze, when the application is running and you try to open a vault / the settings of a vault, happens whether the password for this vault is saved in the keychain or not.

    A detailed description of my "research":

    Lubuntu:

    Cancel of unlock keyring before Cryptomator starts works fine.
    After selecting the vault with the saved password, the buttons of the prompt cannot be selected, (no Cancel and no Unlock) but something can be entered as the password. The log says:

    await signal
    org.freedesktop.secret.interfaces.Promt$Completed(/orf/freedesktop/secretes/prompt/u7) within 300 seconds.
    

    Then 300 seconds later
    Error o.f.secret.handerls.SignalHandder - java-util.conncurrent.TimoutException and another await signal.
    The text field of the prompt is still editable, but the buttons cannot be pressed.
    No other window can get focus.
    300 Seconds later, everything is possible and after canceling the prompt, I get another prompt, where the focus is free. The Prompt can get canceled. In Cryptomator, I could select a vault and start unlocking. In the Cryptomator unlocking prompt, I could not use the keyboard, but the mouse.
    The keyboard only worked in the new unlock keychain prompt.
    After waiting another 300seconds, the unlock keychain prompt gets canceled and I can enter a password for a vault (and this unlocks the vault).
    A relock and an attempt to unlock said vault causes the whole Cryptomator app to turn white.
    image
    No prompt to unlock the keychain appears, but the log says, the SignalHandler awaits a signal within 300 seconds.
    After the first 300 seconds, The logfile reports a TimeoutException, and awaits a new signal (for 300sec), but there is still no prompt to enter any keychain password.
    Next TimeoutException: The app shows the unlock vault window, with the option to save the password. The vault can be unlocked, but the saving of the password into the locked keychain causes the prompt of unlocking a vault not to disappear and the loading icon is still turning.
    image

    Kubuntu:

    The process: gnome-keyring-daemon starts with the start of Cryptomator.
    The first prompt to unlock the keychain can get (immediately) canceled.
    Selecting a vault (with or without saved password) starts a new prompt to unlock keyring.
    A Password can be entered, but the focus is locked and no buttons work.
    Waiting 300 seconds for a timeout. Still a "frozen" screen. The log got a TimeoutException and is awaiting a new signal in 300seconds.
    The next TimeoutException also has:
    ERROR o.f.secret.handerls.Message.Hander - org.freedesktop.secret.errros.IsLocked: Cannot get secret of a locked object. And Cryptomator throws a java.lang.NullPointerException
    image
    Any new access to the keychain does not get a prompt, you have to wait 2*5 minutes.

    I think it would be best to only try to open the keychain at the start of the application.
    Would this be a security issue, since the keychain is unlocked the whole time, the application is running?
    We should investigate further why the prompt to unlock the keychain does not open every single time, we try to access it and it isn't opened yet.

    Sorry for the screenshots, my VMs wouldn't allow copy-pasting.
    Edit: Added the log files of my test sessions:
    cryptomator0Lubuntu.log
    cryptomator0Kubuntu.log

  5. added this to the milestone on Aug 6, 2020
  6. purejava commented on Aug 6, 2020

    @purejava
    Contributor

    I think it would be best to only try to open the keychain at the start of the application.
    Would this be a security issue, since the keychain is unlocked the whole time, the application is running?
    We should investigate further why the prompt to unlock the keychain does not open every single time, we try to access it and it isn't opened yet.

    This is a good idea on first sight, but the keyring can be locked at all times. So you need to check wether a keyring is locked when you need to access it respectively unlock it.

  7. purejava commented on Aug 11, 2020

    @purejava
    Contributor

    I find the NPE mentioned above quite interesting.
    Matching @BeyerMart's decription above you can get a repo for that NPE by having a vault with a password saved in the keyring. You end Cryptomator, lock the keyring, start Cryptomator and deny all prompts to unlock the keyring.

    The NPE occurs when you click on the vault. Here is the complete NPE:

    20:01:12.550 [main] INFO  org.cryptomator.launcher.Cryptomator - Starting Cryptomator 1.5.6 on Linux 5.7.12-arch1-1 (amd64)
    20:01:12.779 [JavaFX Application Thread] INFO  o.c.ui.launcher.FxApplicationStarter - JavaFX Runtime started.
    20:01:13.129 [JavaFX Application Thread] INFO  o.f.secret.handlers.SignalHandler - await signal org.freedesktop.secret.interfaces.Prompt$Completed(/org/freedesktop/secrets/prompt/u15) within 300 seconds.
    20:01:14.224 [DBus Worker Thread-2] INFO  o.f.secret.handlers.SignalHandler - Prompt.Completed (/org/freedesktop/secrets/prompt/u15): {dismissed: true, result: [[]]}
    20:01:18.921 [JavaFX Application Thread] WARN  o.c.keychain.KeychainManager - LOAD
    20:01:18.950 [JavaFX Application Thread] INFO  o.f.secret.handlers.SignalHandler - await signal org.freedesktop.secret.interfaces.Prompt$Completed(/org/freedesktop/secrets/prompt/u16) within 300 seconds.
    20:01:18.980 [DBus Worker Thread-3] INFO  o.f.secret.handlers.SignalHandler - Prompt.Completed (/org/freedesktop/secrets/prompt/u16): {dismissed: true, result: [[]]}
    20:01:19.015 [JavaFX Application Thread] INFO  o.f.secret.handlers.SignalHandler - await signal org.freedesktop.secret.interfaces.Prompt$Completed(/org/freedesktop/secrets/prompt/u17) within 300 seconds.
    20:01:19.042 [DBus Worker Thread-4] INFO  o.f.secret.handlers.SignalHandler - Prompt.Completed (/org/freedesktop/secrets/prompt/u17): {dismissed: true, result: [[]]}
    20:01:19.073 [JavaFX Application Thread] INFO  o.f.secret.handlers.SignalHandler - await signal org.freedesktop.secret.interfaces.Prompt$Completed(/org/freedesktop/secrets/prompt/u18) within 300 seconds.
    20:01:19.114 [DBus Worker Thread-1] INFO  o.f.secret.handlers.SignalHandler - Prompt.Completed (/org/freedesktop/secrets/prompt/u18): {dismissed: true, result: [[]]}
    20:01:19.127 [JavaFX Application Thread] ERROR o.f.secret.handlers.MessageHandler - org.freedesktop.secret.errors.IsLocked: Cannot get secret of a locked object
    Exception in thread "JavaFX Application Thread" com.google.common.util.concurrent.UncheckedExecutionException: java.lang.NullPointerException
      at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051)
      at com.google.common.cache.LocalCache.get(LocalCache.java:3951)
      at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3974)
      at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4958)
      at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4964)
      at org.cryptomator.keychain.KeychainManager.getPassphraseStoredProperty(KeychainManager.java:105)
      at org.cryptomator.ui.mainwindow.VaultDetailLockedController.lambda$new$0(VaultDetailLockedController.java:37)
      at org.fxmisc.easybind.select.LeafSelectionElement.connect(LeafSelectionElement.java:26)
      at org.fxmisc.easybind.select.SelectObjectBinding.computeValue(SelectObjectBinding.java:33)
      at javafx.beans.binding.ObjectBinding.get(ObjectBinding.java:151)
      at javafx.beans.binding.ObjectExpression.getValue(ObjectExpression.java:49)
      at javafx.beans.binding.BooleanExpression$2.computeValue(BooleanExpression.java:136)
      at javafx.beans.binding.BooleanBinding.get(BooleanBinding.java:155)
      at javafx.beans.binding.BooleanExpression.getValue(BooleanExpression.java:55)
      at javafx.beans.binding.BooleanBinding.getValue(BooleanBinding.java:59)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:355)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.binding.BooleanBinding.invalidate(BooleanBinding.java:174)
      at com.sun.javafx.binding.BindingHelperObserver.invalidated(BindingHelperObserver.java:52)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:136)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.binding.ObjectBinding.invalidate(ObjectBinding.java:170)
      at org.fxmisc.easybind.select.SelectObjectBinding.lambda$new$16(SelectObjectBinding.java:21)
      at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:348)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:106)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:113)
      at javafx.beans.property.ObjectPropertyBase$Listener.invalidated(ObjectPropertyBase.java:234)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:136)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)
      at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
      at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:113)
      at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:147)
      at javafx.scene.control.SelectionModel.setSelectedItem(SelectionModel.java:105)
      at javafx.scene.control.MultipleSelectionModelBase.lambda$new$0(MultipleSelectionModelBase.java:67)
      at com.sun.javafx.binding.ExpressionHelper$SingleInvalidation.fireValueChangedEvent(ExpressionHelper.java:136)
      at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
      at javafx.beans.property.ReadOnlyIntegerPropertyBase.fireValueChangedEvent(ReadOnlyIntegerPropertyBase.java:72)
      at javafx.beans.property.ReadOnlyIntegerWrapper.fireValueChangedEvent(ReadOnlyIntegerWrapper.java:102)
      at javafx.beans.property.IntegerPropertyBase.markInvalid(IntegerPropertyBase.java:114)
      at javafx.beans.property.IntegerPropertyBase.set(IntegerPropertyBase.java:148)
      at javafx.scene.control.SelectionModel.setSelectedIndex(SelectionModel.java:69)
      at javafx.scene.control.MultipleSelectionModelBase.select(MultipleSelectionModelBase.java:412)
      at javafx.scene.control.MultipleSelectionModelBase.clearAndSelect(MultipleSelectionModelBase.java:360)
      at javafx.scene.control.ListView$ListViewBitSetSelectionModel.clearAndSelect(ListView.java:1454)
      at com.sun.javafx.scene.control.behavior.CellBehaviorBase.simpleSelect(CellBehaviorBase.java:282)
      at com.sun.javafx.scene.control.behavior.CellBehaviorBase.doSelect(CellBehaviorBase.java:246)
      at com.sun.javafx.scene.control.behavior.CellBehaviorBase.mousePressed(CellBehaviorBase.java:176)
      at com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274)
      at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:247)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:198)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3890)
      at javafx.scene.Scene.processMouseEvent(Scene.java:1885)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2618)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299)
      at java.base/java.security.AccessController.doPrivileged(Unknown Source)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447)
      at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:556)
      at com.sun.glass.ui.View.notifyMouse(View.java:942)
      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
      at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
      at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
      at org.freedesktop.secret.Item.getSecret(Item.java:44)
      at org.freedesktop.secret.simple.SimpleCollection.getSecret(SimpleCollection.java:400)
      at org.cryptomator.keychain.LinuxSecretServiceKeychainAccessImpl.loadPassphrase(LinuxSecretServiceKeychainAccessImpl.java:41)
      at org.cryptomator.keychain.LinuxSecretServiceKeychainAccess.loadPassphrase(LinuxSecretServiceKeychainAccess.java:46)
      at org.cryptomator.keychain.KeychainManager.isPassphraseStored(KeychainManager.java:72)
      at org.cryptomator.keychain.KeychainManager.createStoredPassphraseProperty(KeychainManager.java:111)
      at com.google.common.cache.CacheLoader$FunctionToCacheLoader.load(CacheLoader.java:165)
      at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
      at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
      at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
      at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
      ... 85 more
    

    getSecret returns null, as the keyring is still locked and that null gets retrieved from the cache by the KeychainManager.

    As it is always possible that a keyring gets locked, I think it would add more robustness to the application if some checks wether the keyring is there and unlocked were added to the high-level SimpleCollection API.
    These could be used by Cryptomator then.

  8. swiesend commented on Aug 14, 2020

    @swiesend
    Contributor

    I released 1.1.0, which may resolves this issue as I improved the signal handling. But I still have to reproduce the issue and verify that this version may be able to solve the issue.

  9. purejava commented on Aug 16, 2020

    @purejava
    Contributor

    secret-service 1.1.0 solves the repo I described above:

    You end Cryptomator, lock the keyring, start Cryptomator and deny all prompts to unlock the keyring.

    A NPE is not thrown any more.

  10. modified the milestones: , 1.5.8 on Aug 17, 2020
  11. BeyerMart commented on Aug 19, 2020

    @BeyerMart
    Contributor

    Perfect this works super smoothly. Thanks for your fix @purejava 👍

    I noticed two more problems in Cryptomator:
    1st: It is (and properly should be) fine and ok to change the password of a vault with a locked keychain. Then this password can not be stored in the keychain.
    After unlocking the keychain and trying to unlock a vault the loaded password is (and should be) incorrect, as it was just changed.
    image

    But when entering the new, changed passphrase, it does not update the one in the keychain:
    image

    After locking the vault and trying to unlock it again, it still tries to do it with the old one:
    image

    Edit: Ok, I got the difference between SimpleCollection.updateItem and SimpleCollection.createItem

    2nd: When unlocking a keychain after the start of Cryptomator via a keychain software (So you cancel the first unlock prompt) the app doesn't try to access the keychain.
    image

    I will work on the first one as this seems to be more relevant.

  12. purejava commented on Aug 19, 2020

    @purejava
    Contributor

    Thanks for the flowers @BeyerMart, but the fix is from @swiesend. I just tested his change too 🙂.

    Thank you for giving the change a try and testing it!
    I‘ll also look into the points you raised above. 🙂

  13. modified the milestones: 1.5.8, 1.5.9 on Aug 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    os:linuxstate:confirmed

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions