From 1020ab328c9bd3894f6f1524315572ab4c1af842 Mon Sep 17 00:00:00 2001 From: Ralph Plawetzki Date: Tue, 3 Oct 2023 18:37:17 +0200 Subject: [PATCH] Update to secret service 2.0.0-alpha --- pom.xml | 2 +- src/main/java/module-info.java | 2 +- .../linux/keychain/SecretServiceKeychainAccess.java | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index a8c1b13..e89be47 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ 1.3.0 - 1.8.1-jdk17 + 2.0.0-alpha 1.3.2 1.3.6 32.1.2-jre diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index a649eb4..6116212 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -14,7 +14,7 @@ requires org.freedesktop.dbus; requires org.purejava.appindicator; requires org.purejava.kwallet; - requires secret.service; + requires de.swiesend.secretservice; provides KeychainAccessProvider with SecretServiceKeychainAccess, KDEWalletKeychainAccess; provides RevealPathService with DBusSendRevealPathService; diff --git a/src/main/java/org/cryptomator/linux/keychain/SecretServiceKeychainAccess.java b/src/main/java/org/cryptomator/linux/keychain/SecretServiceKeychainAccess.java index d499b52..d52df08 100644 --- a/src/main/java/org/cryptomator/linux/keychain/SecretServiceKeychainAccess.java +++ b/src/main/java/org/cryptomator/linux/keychain/SecretServiceKeychainAccess.java @@ -1,12 +1,11 @@ package org.cryptomator.linux.keychain; +import de.swiesend.secretservice.simple.SimpleCollection; import org.cryptomator.integrations.common.OperatingSystem; import org.cryptomator.integrations.common.Priority; import org.cryptomator.integrations.keychain.KeychainAccessException; import org.cryptomator.integrations.keychain.KeychainAccessProvider; -import org.freedesktop.dbus.exceptions.DBusConnectionException; import org.freedesktop.dbus.exceptions.DBusExecutionException; -import org.freedesktop.secret.simple.SimpleCollection; import java.io.IOException; import java.util.List;