Skip to content

Commit a1ea3bc

Browse files
committed
Merge branch 'release/2.7.0'
2 parents cbabe19 + 183dfab commit a1ea3bc

18 files changed

+136
-98
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ updates:
1919
- "org.apache.maven.plugins:*"
2020
- "org.jacoco:jacoco-maven-plugin"
2121
- "org.owasp:dependency-check-maven"
22+
- "me.fabriciorby:maven-surefire-junit5-tree-reporter"
2223
java-production-dependencies:
2324
patterns:
2425
- "*"
@@ -30,6 +31,7 @@ updates:
3031
- "org.mockito:*"
3132
- "org.hamcrest:*"
3233
- "com.google.jimfs:jimfs"
34+
- "me.fabriciorby:maven-surefire-junit5-tree-reporter"
3335

3436

3537
- package-ecosystem: "github-actions"

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Build
22
on:
3-
[push]
3+
push:
4+
pull_request_target:
5+
types: [labeled]
46
jobs:
57
build:
68
name: Build and Test
@@ -12,7 +14,7 @@ jobs:
1214
show-progress: false
1315
- uses: actions/setup-java@v4
1416
with:
15-
java-version: 17
17+
java-version: 21
1618
distribution: 'temurin'
1719
cache: 'maven'
1820
- name: Cache SonarCloud packages
@@ -42,8 +44,8 @@ jobs:
4244
path: target/*.jar
4345
- name: Create release
4446
if: startsWith(github.ref, 'refs/tags/')
45-
uses: softprops/action-gh-release@v1
47+
uses: softprops/action-gh-release@v2
4648
with:
4749
token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
4850
generate_release_notes: true
49-
prerelease: true
51+
prerelease: true

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
show-progress: false
2323
- uses: actions/setup-java@v4
2424
with:
25-
java-version: 17
25+
java-version: 21
2626
distribution: 'temurin'
2727
cache: 'maven'
2828
- name: Initialize CodeQL

.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: 17
17+
java-version: 21
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: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@ jobs:
1616
show-progress: false
1717
- uses: actions/setup-java@v4
1818
with:
19-
java-version: 17
19+
java-version: 21
2020
distribution: 'temurin'
2121
cache: 'maven'
2222
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
2323
server-username: MAVEN_USERNAME # env variable for username in deploy
2424
server-password: MAVEN_PASSWORD # env variable for token in deploy
25-
gpg-private-key: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
26-
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2725
- name: Enforce project version ${{ github.event.inputs.tag }}
2826
run: mvn versions:set -B -DnewVersion=${{ github.event.inputs.tag }}
2927
- name: Deploy
@@ -36,4 +34,5 @@ jobs:
3634
--add-opens=java.desktop/java.awt.font=ALL-UNNAMED
3735
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3836
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
39-
MAVEN_GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
37+
MAVEN_GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
38+
MAVEN_GPG_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import

.github/workflows/publish-github.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,17 @@ jobs:
1212
show-progress: false
1313
- uses: actions/setup-java@v4
1414
with:
15-
java-version: 17
15+
java-version: 21
1616
distribution: 'temurin'
1717
cache: 'maven'
18-
gpg-private-key: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
19-
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
2018
- name: Enforce project version ${{ github.event.release.tag_name }}
2119
run: mvn versions:set -B -DnewVersion=${{ github.event.release.tag_name }}
2220
- name: Deploy
2321
run: mvn deploy -B -DskipTests -Psign,deploy-github --no-transfer-progress
2422
env:
2523
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2624
MAVEN_GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
25+
MAVEN_GPG_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
2726
- name: Slack Notification
2827
uses: rtCamp/action-slack-notify@v2
2928
env:

.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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[![Known Vulnerabilities](https://snyk.io/test/github/cryptomator/cryptofs/badge.svg)](https://snyk.io/test/github/cryptomator/cryptofs)
77

88
**CryptoFS:** Implementation of the [Cryptomator](https://github.com/cryptomator/cryptomator) encryption scheme.
9+
For more info about the encryption scheme, read the [docs](https://docs.cryptomator.org/en/latest/security/vault/).
910

1011
## Features
1112

@@ -98,7 +99,7 @@ For more details on how to use the constructed `FileSystem`, you may consult the
9899

99100
### Dependencies
100101

101-
* Java 17
102+
* Java 21
102103
* Maven 3
103104

104105
### Run Maven

pom.xml

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>org.cryptomator</groupId>
44
<artifactId>cryptofs</artifactId>
5-
<version>2.6.9</version>
5+
<version>2.7.0</version>
66
<name>Cryptomator Crypto Filesystem</name>
77
<description>This library provides the Java filesystem provider used by Cryptomator.</description>
88
<url>https://github.com/cryptomator/cryptofs</url>
@@ -15,27 +15,27 @@
1515

1616
<properties>
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18-
<maven.compiler.release>17</maven.compiler.release>
18+
<maven.compiler.release>21</maven.compiler.release>
1919

2020
<!-- dependencies -->
21-
<cryptolib.version>2.1.2</cryptolib.version>
21+
<cryptolib.version>2.2.0</cryptolib.version>
2222
<jwt.version>4.4.0</jwt.version>
23-
<dagger.version>2.49</dagger.version>
24-
<guava.version>32.1.3-jre</guava.version>
23+
<dagger.version>2.51.1</dagger.version>
24+
<guava.version>33.2.1-jre</guava.version>
2525
<caffeine.version>3.1.8</caffeine.version>
26-
<slf4j.version>2.0.12</slf4j.version>
26+
<slf4j.version>2.0.13</slf4j.version>
2727

2828
<!-- test dependencies -->
29-
<junit.jupiter.version>5.10.2</junit.jupiter.version>
30-
<mockito.version>5.2.0</mockito.version>
31-
<hamcrest.version>2.2</hamcrest.version>
29+
<junit.jupiter.version>5.10.3</junit.jupiter.version>
30+
<mockito.version>5.12.0</mockito.version>
31+
<hamcrest.version>3.0</hamcrest.version>
3232
<jimfs.version>1.3.0</jimfs.version>
3333

3434
<!-- build plugin dependencies -->
35-
<dependency-check.version>9.0.9</dependency-check.version>
36-
<junit-tree-reporter.version>1.2.1</junit-tree-reporter.version>
37-
<jacoco.version>0.8.11</jacoco.version>
38-
<nexus-staging.version>1.6.13</nexus-staging.version>
35+
<dependency-check.version>10.0.3</dependency-check.version>
36+
<junit-tree-reporter.version>1.3.0</junit-tree-reporter.version>
37+
<jacoco.version>0.8.12</jacoco.version>
38+
<nexus-staging.version>1.7.0</nexus-staging.version>
3939
</properties>
4040

4141
<licenses>
@@ -114,7 +114,7 @@
114114
</dependency>
115115
<dependency>
116116
<groupId>org.mockito</groupId>
117-
<artifactId>mockito-inline</artifactId>
117+
<artifactId>mockito-core</artifactId>
118118
<version>${mockito.version}</version>
119119
<scope>test</scope>
120120
</dependency>
@@ -143,7 +143,7 @@
143143
<plugin>
144144
<groupId>org.apache.maven.plugins</groupId>
145145
<artifactId>maven-compiler-plugin</artifactId>
146-
<version>3.12.1</version>
146+
<version>3.13.0</version>
147147
<configuration>
148148
<showWarnings>true</showWarnings>
149149
<annotationProcessorPaths>
@@ -158,7 +158,7 @@
158158
<plugin>
159159
<groupId>org.apache.maven.plugins</groupId>
160160
<artifactId>maven-surefire-plugin</artifactId>
161-
<version>3.2.5</version>
161+
<version>3.3.1</version>
162162
<dependencies>
163163
<dependency>
164164
<groupId>me.fabriciorby</groupId>
@@ -181,11 +181,11 @@
181181
<plugin>
182182
<groupId>org.apache.maven.plugins</groupId>
183183
<artifactId>maven-jar-plugin</artifactId>
184-
<version>3.3.0</version>
184+
<version>3.4.2</version>
185185
</plugin>
186186
<plugin>
187187
<artifactId>maven-source-plugin</artifactId>
188-
<version>3.3.0</version>
188+
<version>3.3.1</version>
189189
<executions>
190190
<execution>
191191
<id>attach-sources</id>
@@ -197,7 +197,7 @@
197197
</plugin>
198198
<plugin>
199199
<artifactId>maven-javadoc-plugin</artifactId>
200-
<version>3.6.3</version>
200+
<version>3.8.0</version>
201201
<executions>
202202
<execution>
203203
<id>attach-javadocs</id>
@@ -252,7 +252,7 @@
252252
<skipTestScope>true</skipTestScope>
253253
<detail>true</detail>
254254
<suppressionFile>suppression.xml</suppressionFile>
255-
<nvdApiKey>${env.NVD_API_KEY}</nvdApiKey>
255+
<nvdApiKeyEnvironmentVariable>NVD_API_KEY</nvdApiKeyEnvironmentVariable>
256256
</configuration>
257257
<executions>
258258
<execution>
@@ -300,7 +300,7 @@
300300
<plugins>
301301
<plugin>
302302
<artifactId>maven-gpg-plugin</artifactId>
303-
<version>3.1.0</version>
303+
<version>3.2.4</version>
304304
<executions>
305305
<execution>
306306
<id>sign-artifacts</id>
@@ -309,10 +309,7 @@
309309
<goal>sign</goal>
310310
</goals>
311311
<configuration>
312-
<gpgArguments>
313-
<arg>--pinentry-mode</arg>
314-
<arg>loopback</arg>
315-
</gpgArguments>
312+
<signer>bc</signer>
316313
</configuration>
317314
</execution>
318315
</executions>

src/main/java/module-info.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// https://github.com/javax-inject/javax-inject/issues/33
2020
// May be provided by another lib during runtime
2121
requires static javax.inject;
22+
requires java.compiler;
2223

2324
exports org.cryptomator.cryptofs;
2425
exports org.cryptomator.cryptofs.common;

0 commit comments

Comments
 (0)