Skip to content

Commit 18d22df

Browse files
committed
Merge branch 'release/1.2.3'
2 parents f240475 + 4d4676c commit 18d22df

File tree

13 files changed

+103
-85
lines changed

13 files changed

+103
-85
lines changed

.github/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "maven"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
time: "06:00"
9+
timezone: "UTC"
10+
groups:
11+
maven-dependencies:
12+
patterns:
13+
- "*"
14+
15+
- package-ecosystem: "github-actions"
16+
directory: "/" # even for `.github/workflows`
17+
schedule:
18+
interval: "monthly"
19+
groups:
20+
github-actions:
21+
patterns:
22+
- "*"

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: windows-latest
1313
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- uses: actions/setup-java@v3
1717
with:
1818
distribution: 'temurin'
@@ -25,7 +25,8 @@ jobs:
2525
- name: Build and Test
2626
id: buildAndTest
2727
run: mvn -B clean test -Pdependency-check
28-
- name: Codesign DLL
28+
- name: Codesign DLL on release
29+
if: startsWith(github.ref, 'refs/tags/')
2930
uses: skymatic/code-sign-action@v2
3031
with:
3132
certificate: ${{ secrets.WIN_CODESIGN_P12_BASE64 }}

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: windows-2019
2020
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 2
2525
- uses: actions/setup-java@v3

.github/workflows/publish-central.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
publish:
1616
runs-on: windows-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
with:
2020
ref: "refs/tags/${{ github.event.inputs.tag }}"
2121
- uses: actions/setup-java@v3

.github/workflows/publish-github.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: windows-latest
1313
if: startsWith(github.ref, 'refs/tags/') # only allow publishing tagged versions
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- uses: actions/setup-java@v3
1717
with:
1818
distribution: 'temurin'

.idea/misc.xml

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

pom.xml

Lines changed: 28 additions & 23 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-win</artifactId>
8-
<version>1.2.2</version>
8+
<version>1.2.3</version>
99

1010
<name>Cryptomator Integrations for Windows</name>
1111
<description>Provides optional Windows services used by Cryptomator</description>
@@ -37,17 +37,17 @@
3737
<project.jdk.version>17</project.jdk.version>
3838

3939
<!-- runtime dependencies -->
40-
<api.version>1.2.0</api.version>
41-
<slf4j.version>1.7.36</slf4j.version>
42-
<gson.version>2.9.0</gson.version>
40+
<api.version>1.3.0</api.version>
41+
<slf4j.version>2.0.9</slf4j.version>
42+
<jackson.version>2.15.2</jackson.version>
4343

4444
<!-- test dependencies -->
45-
<junit.jupiter.version>5.8.2</junit.jupiter.version>
46-
<mockito.version>4.4.0</mockito.version>
45+
<junit.jupiter.version>5.10.0</junit.jupiter.version>
46+
<mockito.version>5.5.0</mockito.version>
4747

4848
<!-- build plugin dependencies -->
49-
<dependency-check.version>8.1.0</dependency-check.version>
50-
<nexus-staging.version>1.6.8</nexus-staging.version>
49+
<dependency-check.version>8.4.0</dependency-check.version>
50+
<nexus-staging.version>1.6.13</nexus-staging.version>
5151
</properties>
5252

5353
<licenses>
@@ -69,11 +69,16 @@
6969
<artifactId>slf4j-api</artifactId>
7070
<version>${slf4j.version}</version>
7171
</dependency>
72-
<dependency>
73-
<groupId>com.google.code.gson</groupId>
74-
<artifactId>gson</artifactId>
75-
<version>${gson.version}</version>
76-
</dependency>
72+
<dependency>
73+
<groupId>com.fasterxml.jackson.core</groupId>
74+
<artifactId>jackson-databind</artifactId>
75+
<version>${jackson.version}</version>
76+
</dependency>
77+
<dependency>
78+
<groupId>com.fasterxml.jackson.core</groupId>
79+
<artifactId>jackson-annotations</artifactId>
80+
<version>${jackson.version}</version>
81+
</dependency>
7782

7883
<!-- JUnit / Mockito / Hamcrest -->
7984
<dependency>
@@ -101,7 +106,7 @@
101106
<plugin>
102107
<groupId>org.apache.maven.plugins</groupId>
103108
<artifactId>maven-clean-plugin</artifactId>
104-
<version>3.1.0</version>
109+
<version>3.3.1</version>
105110
<configuration>
106111
<filesets>
107112
<fileset>
@@ -117,7 +122,7 @@
117122
<plugin>
118123
<groupId>org.apache.maven.plugins</groupId>
119124
<artifactId>maven-compiler-plugin</artifactId>
120-
<version>3.10.1</version>
125+
<version>3.11.0</version>
121126
<configuration>
122127
<compilerArgs>
123128
<arg>-h</arg>
@@ -129,7 +134,7 @@
129134
<plugin>
130135
<groupId>org.apache.maven.plugins</groupId>
131136
<artifactId>maven-enforcer-plugin</artifactId>
132-
<version>3.0.0</version>
137+
<version>3.4.1</version>
133138
<executions>
134139
<execution>
135140
<id>check-preconditions</id>
@@ -149,7 +154,7 @@
149154
</plugin>
150155
<plugin>
151156
<artifactId>maven-resources-plugin</artifactId>
152-
<version>3.2.0</version>
157+
<version>3.3.1</version>
153158
<executions>
154159
<execution>
155160
<id>copy-dlls</id>
@@ -175,11 +180,11 @@
175180
<plugin>
176181
<groupId>org.apache.maven.plugins</groupId>
177182
<artifactId>maven-surefire-plugin</artifactId>
178-
<version>3.0.0-M5</version>
183+
<version>3.1.2</version>
179184
</plugin>
180185
<plugin>
181186
<artifactId>maven-source-plugin</artifactId>
182-
<version>3.2.1</version>
187+
<version>3.3.0</version>
183188
<executions>
184189
<execution>
185190
<id>attach-sources</id>
@@ -191,7 +196,7 @@
191196
</plugin>
192197
<plugin>
193198
<artifactId>maven-javadoc-plugin</artifactId>
194-
<version>3.3.2</version>
199+
<version>3.6.0</version>
195200
<executions>
196201
<execution>
197202
<id>attach-javadocs</id>
@@ -274,7 +279,7 @@
274279
<plugin>
275280
<groupId>org.codehaus.mojo</groupId>
276281
<artifactId>exec-maven-plugin</artifactId>
277-
<version>3.0.0</version>
282+
<version>3.1.0</version>
278283
<executions>
279284
<execution>
280285
<goals>
@@ -304,7 +309,7 @@
304309
<plugins>
305310
<plugin>
306311
<artifactId>maven-gpg-plugin</artifactId>
307-
<version>3.0.1</version>
312+
<version>3.1.0</version>
308313
<executions>
309314
<execution>
310315
<id>sign-artifacts</id>
@@ -365,7 +370,7 @@
365370
<plugin>
366371
<groupId>org.apache.maven.plugins</groupId>
367372
<artifactId>maven-deploy-plugin</artifactId>
368-
<version>3.1.0</version>
373+
<version>3.1.1</version>
369374
</plugin>
370375
</plugins>
371376
</build>

src/main/java/module-info.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
module org.cryptomator.integrations.win {
1111
requires org.cryptomator.integrations.api;
1212
requires org.slf4j;
13-
requires com.google.gson;
13+
requires com.fasterxml.jackson.annotation;
14+
requires com.fasterxml.jackson.databind;
1415

15-
opens org.cryptomator.windows.keychain to com.google.gson;
16+
opens org.cryptomator.windows.keychain to com.fasterxml.jackson.databind;
1617

1718
provides AutoStartProvider with WindowsAutoStart;
1819
provides KeychainAccessProvider with WindowsProtectedKeychainAccess;

src/main/java/org/cryptomator/windows/keychain/ByteArrayJsonAdapter.java

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
package org.cryptomator.windows.keychain;
22

3-
import com.google.gson.annotations.SerializedName;
43

5-
class KeychainEntry {
4+
import com.fasterxml.jackson.annotation.JsonProperty;
65

7-
@SerializedName("ciphertext")
8-
byte[] ciphertext;
9-
10-
@SerializedName("salt")
11-
byte[] salt;
6+
record KeychainEntry(@JsonProperty("ciphertext") byte[] ciphertext, @JsonProperty("salt") byte[] salt) {
127
}

0 commit comments

Comments
 (0)