File tree Expand file tree Collapse file tree
src/main/java/org/cryptomator/linux/keychain Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 <project .jdk.version>19</project .jdk.version>
4040
4141 <!-- runtime dependencies -->
42+
4243 <api .version>1.2.0-beta4</api .version>
43- <secret-service .version>1.7.0 </secret-service .version>
44- <kdewallet .version>1.2.6 </kdewallet .version>
44+ <secret-service .version>1.8.1-jdk17 </secret-service .version>
45+ <kdewallet .version>1.2.8 </kdewallet .version>
4546 <guava .version>31.1-jre</guava .version>
4647 <slf4j .version>1.7.36</slf4j .version>
4748
9495 <artifactId >maven-compiler-plugin</artifactId >
9596 <version >3.9.0</version >
9697 <configuration >
97- <release >17 </release >
98+ <release >19 </release >
9899 </configuration >
99100 </plugin >
100101 <plugin >
Original file line number Diff line number Diff line change 66import org .cryptomator .integrations .keychain .KeychainAccessException ;
77import org .cryptomator .integrations .keychain .KeychainAccessProvider ;
88import org .freedesktop .dbus .connections .impl .DBusConnection ;
9+ import org .freedesktop .dbus .connections .impl .DBusConnectionBuilder ;
910import org .freedesktop .dbus .exceptions .DBusConnectionException ;
1011import org .freedesktop .dbus .exceptions .DBusException ;
1112import org .kde .KWallet ;
@@ -89,11 +90,11 @@ static Optional<ConnectedWallet> connect() {
8990
9091 private static DBusConnection getNewConnection () throws DBusException {
9192 try {
92- return DBusConnection . newConnection ( DBusConnection . DBusBusType . SESSION );
93+ return DBusConnectionBuilder . forSessionBus (). withShared ( false ). build ( );
9394 } catch (DBusConnectionException ce ) {
9495 LOG .warn ("SESSION DBus not found, falling back to SYSTEM DBus" );
9596 try {
96- return DBusConnection . newConnection ( DBusConnection . DBusBusType . SYSTEM );
97+ return DBusConnectionBuilder . forSystemBus (). build ( );
9798 } catch (DBusException e ) {
9899 throw e ;
99100 }
You can’t perform that action at this time.
0 commit comments