diff --git a/pom.xml b/pom.xml index 3a80b8e..b4ffdbf 100644 --- a/pom.xml +++ b/pom.xml @@ -37,8 +37,8 @@ 22 - 1.4.0-beta2 - 2.0.14 + 1.4.0 + 2.0.16 2.17.2 diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index e30da94..56cb5a5 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -16,10 +16,12 @@ requires com.fasterxml.jackson.databind; opens org.cryptomator.windows.keychain to com.fasterxml.jackson.databind; + opens org.cryptomator.windows.quickaccess to org.cryptomator.integrations.api; provides AutoStartProvider with WindowsAutoStart; provides KeychainAccessProvider with WindowsProtectedKeychainAccess; provides UiAppearanceProvider with WinUiAppearanceProvider; provides RevealPathService with ExplorerRevealPathService; provides QuickAccessService with ExplorerQuickAccessService; + } \ No newline at end of file diff --git a/src/main/java/org/cryptomator/windows/keychain/WindowsProtectedKeychainAccess.java b/src/main/java/org/cryptomator/windows/keychain/WindowsProtectedKeychainAccess.java index abb71f1..883b81c 100644 --- a/src/main/java/org/cryptomator/windows/keychain/WindowsProtectedKeychainAccess.java +++ b/src/main/java/org/cryptomator/windows/keychain/WindowsProtectedKeychainAccess.java @@ -92,7 +92,7 @@ public String displayName() { } @Override - public void storePassphrase(String key, String displayName, CharSequence passphrase) throws KeychainAccessException { + public void storePassphrase(String key, String displayName, CharSequence passphrase, boolean ignored) throws KeychainAccessException { loadKeychainEntriesIfNeeded(); ByteBuffer buf = UTF_8.encode(CharBuffer.wrap(passphrase)); byte[] cleartext = new byte[buf.remaining()]; diff --git a/src/main/java/org/cryptomator/windows/quickaccess/ExplorerQuickAccessService.java b/src/main/java/org/cryptomator/windows/quickaccess/ExplorerQuickAccessService.java index 875bc6f..49b7fd0 100644 --- a/src/main/java/org/cryptomator/windows/quickaccess/ExplorerQuickAccessService.java +++ b/src/main/java/org/cryptomator/windows/quickaccess/ExplorerQuickAccessService.java @@ -34,7 +34,7 @@ public QuickAccessEntry add(Path target, String displayName) throws QuickAccessS if (target == null) { throw new IllegalArgumentException("Parameter 'target' must not be null."); } - var entryName = "Vault - " + displayName; + var entryName = displayName.length() > 40? displayName.substring(0, 40) : displayName; //truncate name var clsid = "{" + UUID.randomUUID() + "}"; LOG.debug("Creating navigation pane entry with CLSID {}", clsid); //1. Creates the shell extension and names it