Skip to content

Commit 67190a6

Browse files
committed
Merge branch 'develop' into release/2.10.0
2 parents f22e632 + 4e2f596 commit 67190a6

16 files changed

Lines changed: 43 additions & 41 deletions

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717
attestations: write # Required for the attestations step
1818
contents: write # Required for the release step
1919
steps:
20-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2121
with:
2222
fetch-depth: 0
2323
show-progress: false
24-
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
24+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
2525
with:
2626
java-version: ${{ env.JAVA_VERSION }}
2727
distribution: 'temurin'
2828
cache: 'maven'
2929
- name: Cache SonarCloud packages
30-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
30+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
3131
with:
3232
path: ~/.sonar/cache
3333
key: ${{ runner.os }}-sonar
@@ -49,12 +49,12 @@ jobs:
4949
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5050
- name: Attest
5151
if: startsWith(github.ref, 'refs/tags/')
52-
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
52+
uses: actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # v3.2.0
5353
with:
5454
subject-path: |
5555
target/*.jar
5656
target/*.pom
57-
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
57+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
5858
with:
5959
name: artifacts
6060
path: target/*.jar

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ jobs:
1616
# dependeabot has on push events only read-only access, but codeql requires write access
1717
if: ${{ !(github.actor == 'dependabot[bot]' && contains(fromJSON('["push"]'), github.event_name)) }}
1818
steps:
19-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020
with:
2121
fetch-depth: 2
2222
show-progress: false
23-
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
23+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
2424
with:
2525
java-version: 25
2626
distribution: 'temurin'
2727
cache: 'maven'
2828
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4.31.7
29+
uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
3030
with:
3131
languages: java
3232
- name: Build
3333
run: mvn -B install -DskipTests
3434
- name: Perform CodeQL Analysis
35-
uses: github/codeql-action/analyze@cf1bb45a277cb3c205638b2cd5c984db1c46a412 # v4.31.7
35+
uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0

.github/workflows/dependency-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
check-dependencies:
14-
uses: skymatic/workflows/.github/workflows/run-dependency-check.yml@1074588008ae3326a2221ea451783280518f0366 # v3.0.1
14+
uses: skymatic/workflows/.github/workflows/run-dependency-check.yml@957d3c2c08c56855fdac41e5afb9a7aca8c30dd9 # v3.0.3
1515
with:
1616
runner-os: 'ubuntu-latest'
1717
java-distribution: 'temurin'
@@ -20,4 +20,4 @@ jobs:
2020
nvd-api-key: ${{ secrets.NVD_API_KEY }}
2121
ossindex-username: ${{ secrets.OSSINDEX_USERNAME }}
2222
ossindex-token: ${{ secrets.OSSINDEX_API_TOKEN }}
23-
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
23+
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_CRYPTOMATOR_DESKTOP }}

.github/workflows/publish-central.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
if: startsWith(github.ref, 'refs/tags/') # only allow publishing tagged versions
99
steps:
10-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
11-
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
10+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
11+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
1212
with:
1313
java-version: 25
1414
distribution: 'temurin'

.github/workflows/publish-github.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ jobs:
77
runs-on: ubuntu-latest
88
if: startsWith(github.ref, 'refs/tags/') # only allow publishing tagged versions
99
steps:
10-
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
11-
- uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
10+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
11+
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
1212
with:
1313
java-version: 25
1414
distribution: 'temurin'

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ Changes to prior versions can be found on the [Github release page](https://gith
1616
### Changed
1717
* Use JDK 25 for build (bf26d6c9cd15a2489126ee0409a8ec9eca59da0c)
1818
* Pin external ci actions ([#320](https://github.com/cryptomator/cryptofs/pull/320))
19-
* Updated com.github.ben-manes.caffeine:caffeine from 3.2.0 to 3.2.3 ([#323](https://github.com/cryptomator/cryptofs/pull/323))
19+
* Updated dependencies:
20+
* `com.github.ben-manes.caffeine:caffeine` from 3.2.0 to 3.2.3 ([#323](https://github.com/cryptomator/cryptofs/pull/323))
21+
* `org.cryptomator:cryptolib` from 2.2.1 to 2.2.2
2022

2123
### Fixed
2224
* Replacing internal path class `CryptoPath` with strings in `FilesystemEvent`s ([#319](https://github.com/cryptomator/cryptofs/pull/319))

pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,33 @@
1818
<maven.compiler.release>25</maven.compiler.release>
1919

2020
<!-- dependencies -->
21-
<cryptolib.version>2.2.1</cryptolib.version>
21+
<cryptolib.version>2.2.2</cryptolib.version>
2222
<jwt.version>4.5.0</jwt.version>
2323
<dagger.version>2.55</dagger.version>
2424
<caffeine.version>3.2.3</caffeine.version>
2525
<slf4j.version>2.0.17</slf4j.version>
2626

2727
<!-- test dependencies -->
2828
<awaitility.version>4.3.0</awaitility.version>
29-
<junit.jupiter.version>6.0.0</junit.jupiter.version>
29+
<junit.jupiter.version>6.0.3</junit.jupiter.version>
3030
<jmh.version>1.37</jmh.version>
31-
<mockito.version>5.20.0</mockito.version>
31+
<mockito.version>5.21.0</mockito.version>
3232
<hamcrest.version>3.0</hamcrest.version>
3333
<jimfs.version>1.3.1</jimfs.version>
3434

3535
<!-- build plugin dependencies -->
36-
<mvn-compiler.version>3.14.1</mvn-compiler.version>
37-
<mvn-dependency.version>3.9.0</mvn-dependency.version>
36+
<mvn-compiler.version>3.15.0</mvn-compiler.version>
37+
<mvn-dependency.version>3.10.0</mvn-dependency.version>
3838
<mvn-surefire.version>3.5.4</mvn-surefire.version>
39-
<mvn-jar.version>3.4.2</mvn-jar.version>
40-
<mvn-source.version>3.3.1</mvn-source.version>
39+
<mvn-jar.version>3.5.0</mvn-jar.version>
40+
<mvn-source.version>3.4.0</mvn-source.version>
4141
<mvn-javadoc.version>3.12.0</mvn-javadoc.version>
4242
<mvn-gpg.version>3.2.8</mvn-gpg.version>
4343

44-
<dependency-check.version>12.1.8</dependency-check.version>
44+
<dependency-check.version>12.2.0</dependency-check.version>
4545
<junit-tree-reporter.version>1.5.1</junit-tree-reporter.version>
4646
<jacoco.version>0.8.14</jacoco.version>
47-
<central-publishing.version>0.9.0</central-publishing.version>
47+
<central-publishing.version>0.10.0</central-publishing.version>
4848

4949
<!-- Property used by surefire to determine jacoco engine -->
5050
<surefire.jacoco.args></surefire.jacoco.args>

src/main/java/org/cryptomator/cryptofs/CryptoFileSystemModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public Optional<FileStore> provideNativeFileStore(@PathToVault Path pathToVault)
3939
try {
4040
return Optional.of(Files.getFileStore(pathToVault));
4141
} catch (IOException e) {
42-
LOG.warn("Failed to get file store for " + pathToVault, e);
42+
LOG.warn("Failed to get file store for {}", pathToVault, e);
4343
return Optional.empty();
4444
}
4545
}
@@ -52,7 +52,7 @@ public Consumer<FilesystemEvent> provideFilesystemEventConsumer(CryptoFileSystem
5252
try {
5353
eventConsumer.accept(event);
5454
} catch (RuntimeException e) {
55-
LOG.warn("Filesystem event consumer failed with exception when processing event {}", event, e);
55+
LOG.warn("Filesystem event consumer failed with exception when processing event {}", event.getClass().getSimpleName(), e);
5656
}
5757
};
5858
}

src/main/java/org/cryptomator/cryptofs/CryptoFileSystems.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private String readVaultConfigFile(Path pathToVault, CryptoFileSystemProperties
9797
// TODO: remove this check and tell downstream users to check the vault dir structure before creating a CryptoFileSystemImpl
9898
@SuppressWarnings("deprecation") var masterkeyFilename = properties.masterkeyFilename();
9999
if (masterkeyFilename != null && Files.exists(pathToVault.resolve(masterkeyFilename))) {
100-
LOG.warn("Failed to read {}, but found {}}", vaultConfigFile, masterkeyFilename);
100+
LOG.warn("Failed to read {}, but found {}", vaultConfigFile, masterkeyFilename);
101101
throw new FileSystemNeedsMigrationException(pathToVault);
102102
} else {
103103
throw e;

src/main/java/org/cryptomator/cryptofs/CryptoPathMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public CiphertextFileType getCiphertextFileType(CryptoPath cleartextPath) throws
105105
return CiphertextFileType.FILE;
106106
} else {
107107
eventConsumer.accept(new BrokenFileNodeEvent(cleartextPath, ciphertextPath.getRawPath()));
108-
LOG.warn("Did not find valid content inside of {}", ciphertextPath.getRawPath());
108+
LOG.warn("Ciphertext directory {} has no clear type. Missing id files for dir, symlink or shortened file.", ciphertextPath.getRawPath());
109109
throw new InvalidFileNodeException(cleartextPath.toString(), ciphertextPath.getRawPath().toString());
110110
}
111111
} else {

0 commit comments

Comments
 (0)