Skip to content

Commit b1d52d4

Browse files
committed
Merge branch 'release/1.6.0'
2 parents 832d4f9 + 98fe772 commit b1d52d4

15 files changed

+123
-90
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-java@v4
1414
with:
15-
distribution: 'zulu'
16-
java-version: 22
15+
distribution: 'temurin'
16+
java-version: 24
1717
cache: 'maven'
1818
- name: Ensure to use tagged version
1919
if: startsWith(github.ref, 'refs/tags/')

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ jobs:
2121
fetch-depth: 2
2222
- uses: actions/setup-java@v4
2323
with:
24-
distribution: 'zulu'
25-
java-version: 22
24+
distribution: 'temurin'
25+
java-version: 24
2626
cache: 'maven'
2727
- name: Initialize CodeQL
2828
uses: github/codeql-action/init@v3

.github/workflows/dependency-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
runner-os: 'ubuntu-latest'
1616
java-distribution: 'temurin'
17-
java-version: 22
17+
java-version: 24
1818
secrets:
1919
nvd-api-key: ${{ secrets.NVD_API_KEY }}
2020
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}

.github/workflows/publish-central.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-java@v4
1212
with:
13-
distribution: 'zulu'
14-
java-version: 22
13+
distribution: 'temurin'
14+
java-version: 24
1515
cache: 'maven'
1616
server-id: central
1717
server-username: MAVEN_CENTRAL_USERNAME

.github/workflows/publish-github.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-java@v4
1212
with:
13-
distribution: 'zulu'
14-
java-version: 22
13+
distribution: 'temurin'
14+
java-version: 24
1515
cache: 'maven'
1616
- name: Enforce project version ${{ github.event.release.tag_name }}
1717
run: mvn versions:set -B -DnewVersion=${{ github.event.release.tag_name }}

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ This library uses the following JVM properties:
99

1010
## Building Requirements
1111

12-
* JDK 22
12+
* JDK 24
1313
* Maven 3.9.6

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>org.cryptomator</groupId>
77
<artifactId>integrations-linux</artifactId>
8-
<version>1.5.3</version>
8+
<version>1.6.0</version>
99

1010
<name>integrations-linux</name>
1111
<description>Provides optional Linux services used by Cryptomator</description>
@@ -36,28 +36,28 @@
3636

3737
<properties>
3838
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39-
<project.jdk.version>22</project.jdk.version>
39+
<project.jdk.version>24</project.jdk.version>
4040

4141
<!-- runtime dependencies -->
4242

43-
<api.version>1.5.1</api.version>
43+
<api.version>1.6.0</api.version>
4444
<secret-service.version>2.0.1-alpha</secret-service.version>
4545
<kdewallet.version>1.4.0</kdewallet.version>
4646
<slf4j.version>2.0.17</slf4j.version>
4747
<appindicator.version>1.4.2</appindicator.version>
4848

4949
<!-- test dependencies -->
50-
<junit.version>5.12.0</junit.version>
50+
<junit.version>5.12.2</junit.version>
5151

5252
<!-- build plugin dependencies -->
5353
<mvn-compiler.version>3.14.0</mvn-compiler.version>
54-
<mvn-surefire.version>3.5.2</mvn-surefire.version>
54+
<mvn-surefire.version>3.5.3</mvn-surefire.version>
5555
<mvn-enforcer.version>3.5.0</mvn-enforcer.version>
5656
<mvn-source.version>3.3.1</mvn-source.version>
5757
<mvn-javadoc.version>3.11.2</mvn-javadoc.version>
5858
<mvn-gpg.version>3.2.7</mvn-gpg.version>
5959
<mvn-deploy.version>3.1.4</mvn-deploy.version>
60-
<dependency-check.version>12.1.0</dependency-check.version>
60+
<dependency-check.version>12.1.1</dependency-check.version>
6161
<central-publishing.version>0.7.0</central-publishing.version>
6262
</properties>
6363

src/main/java/module-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.cryptomator.integrations.tray.TrayMenuController;
66
import org.cryptomator.linux.autostart.FreedesktopAutoStartService;
77
import org.cryptomator.linux.keychain.KDEWalletKeychainAccess;
8-
import org.cryptomator.linux.keychain.SecretServiceKeychainAccess;
8+
import org.cryptomator.linux.keychain.GnomeKeyringKeychainAccess;
99
import org.cryptomator.linux.quickaccess.DolphinPlaces;
1010
import org.cryptomator.linux.quickaccess.NautilusBookmarks;
1111
import org.cryptomator.linux.revealpath.DBusSendRevealPathService;
@@ -20,7 +20,7 @@
2020
requires de.swiesend.secretservice;
2121

2222
provides AutoStartProvider with FreedesktopAutoStartService;
23-
provides KeychainAccessProvider with SecretServiceKeychainAccess, KDEWalletKeychainAccess;
23+
provides KeychainAccessProvider with GnomeKeyringKeychainAccess, KDEWalletKeychainAccess;
2424
provides RevealPathService with DBusSendRevealPathService;
2525
provides TrayMenuController with AppindicatorTrayMenuController;
2626
provides QuickAccessService with NautilusBookmarks, DolphinPlaces;

src/main/java/org/cryptomator/linux/keychain/SecretServiceKeychainAccess.java renamed to src/main/java/org/cryptomator/linux/keychain/GnomeKeyringKeychainAccess.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.cryptomator.linux.keychain;
22

33
import de.swiesend.secretservice.simple.SimpleCollection;
4+
import org.cryptomator.integrations.common.DisplayName;
45
import org.cryptomator.integrations.common.OperatingSystem;
56
import org.cryptomator.integrations.common.Priority;
67
import org.cryptomator.integrations.keychain.KeychainAccessException;
@@ -14,21 +15,17 @@
1415

1516
@Priority(900)
1617
@OperatingSystem(OperatingSystem.Value.LINUX)
17-
public class SecretServiceKeychainAccess implements KeychainAccessProvider {
18+
@DisplayName("GNOME Keyring")
19+
public class GnomeKeyringKeychainAccess implements KeychainAccessProvider {
1820

19-
private static final Logger LOG = LoggerFactory.getLogger(SecretServiceKeychainAccess.class);
21+
private static final Logger LOG = LoggerFactory.getLogger(GnomeKeyringKeychainAccess.class);
2022

2123
private final String LABEL_FOR_SECRET_IN_KEYRING = "Cryptomator";
2224

23-
@Override
24-
public String displayName() {
25-
return "Gnome Keyring";
26-
}
27-
2825
@Override
2926
public boolean isSupported() {
3027
try {
31-
return SimpleCollection.isAvailable();
28+
return SimpleCollection.isGnomeKeyringAvailable();
3229
} catch (RuntimeException e) {
3330
LOG.warn("Initializing secret service keychain access failed", e);
3431
return false;
@@ -48,7 +45,7 @@ public boolean isLocked() {
4845
}
4946

5047
@Override
51-
public void storePassphrase(String key, String displayName, CharSequence passphrase, boolean ignored) throws KeychainAccessException {
48+
public void storePassphrase(String key, String displayName, CharSequence passphrase) throws KeychainAccessException {
5249
try (SimpleCollection keyring = new SimpleCollection()) {
5350
List<String> list = keyring.getItems(createAttributes(key));
5451
if (list == null || list.isEmpty()) {

0 commit comments

Comments
 (0)