diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml
index 6beb117..f3c0614 100644
--- a/.github/workflows/build-linux.yml
+++ b/.github/workflows/build-linux.yml
@@ -52,7 +52,7 @@ permissions:
env:
JAVA_DIST: 'temurin'
- JAVA_VERSION: '25.0.4+7'
+ JAVA_VERSION: '27.0.1.1+4'
VERSION_NUM: ${{ inputs.semVerNum || '99.99.99' }}
VERSION_SUFFIX: ${{ inputs.semVerSuffix || '' }}
@@ -77,10 +77,10 @@ jobs:
env:
ARTIFACT_NAME: cryptomator-cli-${{ inputs.semVerNum || '99.99.99' }}${{ inputs.semVerSuffix || '' }}-linux-${{ matrix.architecture }}.zip
steps:
- - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4.3.1
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 #v4.8.0
+ - uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DIST }}
@@ -121,7 +121,7 @@ jobs:
env:
GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
- - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: cryptomator-cli-linux-${{ matrix.architecture }}
path: |
@@ -130,7 +130,7 @@ jobs:
if-no-files-found: error
- name: Publish zip on GitHub Releases
if: inputs.upload-to-draft
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5
with:
draft: true
fail_on_unmatched_files: true
@@ -149,7 +149,7 @@ jobs:
aarch64-sha256sum: ${{ steps.sha256sum.outputs.aarch64-sha256sum }}
steps:
- name: Download zip artifact
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: cryptomator-cli-linux-*
path: clis
diff --git a/.github/workflows/build-mac.yml b/.github/workflows/build-mac.yml
index 5759d51..15aad78 100644
--- a/.github/workflows/build-mac.yml
+++ b/.github/workflows/build-mac.yml
@@ -77,8 +77,7 @@ permissions:
contents: read # Releases are published with CRYPTOBOT_RELEASE_TOKEN, not GITHUB_TOKEN
env:
- JAVA_DIST: 'temurin'
- JAVA_VERSION: '25.0.4+7'
+ JAVA_VERSION: '27.0.1.1+4'
VERSION_NUM: ${{ inputs.semVerNum || '99.99.99' }}
REVISION_NUM: ${{ inputs.revisionNum || '0' }}
VERSION_SUFFIX: ${{ inputs.semVerSuffix || '' }}
@@ -97,20 +96,22 @@ jobs:
- os: macos-latest
architecture: arm64
xcode-path: /Applications/Xcode_26.6.app
+ java-dist: 'temurin'
- os: macos-15-intel
architecture: x64
xcode-path: /Applications/Xcode_16.app
+ java-dist: 'zulu' # Temurin ships no macOS x64 builds since JDK 27
runs-on: ${{ matrix.os }}
env:
ARTIFACT_NAME: cryptomator-cli-${{ inputs.semVerNum || '99.99.99' }}${{ inputs.semVerSuffix || '' }}-mac-${{ matrix.architecture }}.zip
steps:
- - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4.3.1
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 #v4.8.0
+ - uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
java-version: ${{ env.JAVA_VERSION }}
- distribution: ${{ env.JAVA_DIST }}
+ distribution: ${{ matrix.java-dist }}
- name: Set version
run: ./mvnw versions:set -DnewVersion="${VERSION_NUM}${VERSION_SUFFIX}"
- name: Run maven
@@ -244,7 +245,7 @@ jobs:
env:
GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
- - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: cryptomator-cli-mac-${{ matrix.architecture }}
path: |
@@ -253,7 +254,7 @@ jobs:
if-no-files-found: error
- name: Publish zip on GitHub Releases
if: inputs.upload-to-draft
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5
with:
draft: true
fail_on_unmatched_files: true
@@ -272,7 +273,7 @@ jobs:
x64-sha256sum: ${{ steps.sha256sum.outputs.x64-sha256sum }}
steps:
- name: Download zip artifact
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: cryptomator-cli-mac-*
path: clis
diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml
index 3999f7a..99c8dac 100644
--- a/.github/workflows/build-win.yml
+++ b/.github/workflows/build-win.yml
@@ -63,7 +63,7 @@ permissions:
env:
JAVA_DIST: 'temurin'
- JAVA_VERSION: '25.0.4+7'
+ JAVA_VERSION: '27.0.1.1+4'
VERSION_NUM: ${{ inputs.semVerNum || '99.99.99' }}
VERSION_SUFFIX: ${{ inputs.semVerSuffix || '' }}
@@ -80,10 +80,10 @@ jobs:
env:
ARTIFACT_NAME: cryptomator-cli-${{ inputs.semVerNum || '99.99.99' }}${{ inputs.semVerSuffix || '' }}-win-x64.zip
steps:
- - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4.3.1
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 #v4.8.0
+ - uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DIST }}
@@ -192,7 +192,7 @@ jobs:
env:
GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
- - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: cryptomator-cli-win-x64
path: |
@@ -201,7 +201,7 @@ jobs:
if-no-files-found: error
- name: Publish zip on GitHub Releases
if: inputs.upload-to-draft
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5
with:
draft: true
fail_on_unmatched_files: true
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a24dcae..e17589a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,12 +14,12 @@ jobs:
name: Build and Test
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4.3.1
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 #v4.8.0
+ - uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
- java-version: '25'
+ java-version: '27'
distribution: 'temurin'
- name: Build and Test
run: ./mvnw -B verify
\ No newline at end of file
diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml
index aa327c3..d181eb1 100644
--- a/.github/workflows/draft-release.yml
+++ b/.github/workflows/draft-release.yml
@@ -10,7 +10,7 @@ permissions:
env:
JAVA_DIST: 'temurin'
- JAVA_VERSION: '25.0.4+7'
+ JAVA_VERSION: '27.0.1.1+4'
defaults:
run:
@@ -30,7 +30,7 @@ jobs:
outputs:
TAR_SHA256: ${{ steps.tar-sha256.outputs.value }}
steps:
- - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4.3.1
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
@@ -38,7 +38,7 @@ jobs:
run: git cat-file -p "${GITHUB_REF_NAME}" | grep "BEGIN SSH SIGNATURE"
- name: Check the git tag is on release or main branch
run: git branch -r --contains "${GITHUB_REF_NAME}" | grep -E '^\s*origin/(main|release/.*)\s*$'
- - uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 #v4.8.0
+ - uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
distribution: ${{ env.JAVA_DIST }}
java-version: ${{ env.JAVA_VERSION }}
@@ -46,7 +46,7 @@ jobs:
- name: Build and Test
run: ./mvnw -B verify
- name: Draft a release
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5
with:
draft: true
token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
@@ -68,7 +68,7 @@ jobs:
GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
- name: Publish asc on GitHub Releases
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5
with:
draft: true
fail_on_unmatched_files: true
@@ -131,7 +131,7 @@ jobs:
SEMVER: ${{ needs.get-version.outputs.semVerStr }}
GH_TOKEN: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
steps:
- - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4.3.1
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Update release body with checksums
diff --git a/.github/workflows/get-version.yml b/.github/workflows/get-version.yml
index c448f8e..a09d053 100644
--- a/.github/workflows/get-version.yml
+++ b/.github/workflows/get-version.yml
@@ -26,7 +26,7 @@ on:
env:
JAVA_DIST: 'temurin'
- JAVA_VERSION: '25.0.4+7'
+ JAVA_VERSION: '27.0.1.1+4'
permissions:
contents: read
@@ -42,12 +42,12 @@ jobs:
revNum: ${{ steps.versions.outputs.revNum }}
type: ${{ steps.versions.outputs.type}}
steps:
- - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4.3.1
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Java
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 #v4.8.0
+ uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
distribution: ${{ env.JAVA_DIST }}
java-version: ${{ env.JAVA_VERSION }}
diff --git a/.github/workflows/post-publish.yml b/.github/workflows/post-publish.yml
index fb2d021..6830c76 100644
--- a/.github/workflows/post-publish.yml
+++ b/.github/workflows/post-publish.yml
@@ -30,7 +30,7 @@ jobs:
GPG_PRIVATE_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
- name: Publish asc on GitHub Releases
- uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
+ uses: softprops/action-gh-release@88b783939ccdbabad21b9a37510aed7fad5f2e60 # v3.0.5
with:
fail_on_unmatched_files: true
token: ${{ secrets.CRYPTOBOT_RELEASE_TOKEN }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cb6b412..0e33562 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
The changelog starts with version 0.6.2.
Changes to prior versions can be found on the [Github release page](https://github.com/cryptomator/cli/releases).
+## [Unreleased]
+
+### Changed
+
+* Update org.cryptomator:cryptofs from 2.8.0 to 2.12.1
+* Update org.cryptomator:webdav-nio-adapter from 2.0.10 to 3.0.3
+* Update org.cryptomator:fuse-nio-adapter from 5.0.5 to 7.0.1
+* Update org.slf4j:slf4j-api from 2.0.17 to 2.0.20
+* Update ch.qos.logback:logback-* from 1.5.18 to 1.6.8
+* Update org.fusesource.jansi:jansi from 2.4.1 to 2.4.3
+* Update build JDK from 24.0.0+36 to 27.0.1.1+4 (Zulu instead of Temurin on macOS x64)
+
+### Security
+
+* Fix deserialization vulnerabilities CVE-2026-9828 and CVE-2026-10532 in logback
+
## [0.6.2] - 2025-04-10
### Changed
diff --git a/dist/jlink.args b/dist/jlink.args
index c42f03f..ea55d14 100644
--- a/dist/jlink.args
+++ b/dist/jlink.args
@@ -1,7 +1,7 @@
--verbose
--module-path "${JAVA_HOME}/jmods"
--output target/runtime
---add-modules java.base,java.compiler,java.naming,java.xml
+--add-modules java.base,java.compiler,java.naming,java.net.http,java.xml
--strip-native-commands
--no-header-files
--no-man-pages
diff --git a/dist/jpackage.args b/dist/jpackage.args
index 4ebefef..e696c95 100644
--- a/dist/jpackage.args
+++ b/dist/jpackage.args
@@ -14,7 +14,7 @@
--copyright "(C) 2016 - 2025 Skymatic GmbH"
--app-version "${JP_APP_VERSION}"
--java-options "-Dorg.cryptomator.cli.version=${APP_VERSION}"
---java-options "--enable-native-access=${NATIVE_ACCESS_PACKAGE},org.fusesource.jansi"
+--java-options "--enable-native-access=${NATIVE_ACCESS_PACKAGE},org.cryptomator.frontend.fuse,org.fusesource.jansi"
--java-options "-Xss5m"
--java-options "-Xmx256m"
--java-options "-Dfile.encoding=\"utf-8\""
diff --git a/pom.xml b/pom.xml
index b0379a0..432a508 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
UTF-8
UTF-8
- 25
+ 27
- 2.8.0
- 2.0.10
- 5.0.5
- 1.5.25
- 2.0.17
+ 2.12.1
+ 3.0.3
+ 7.0.1
+ 1.10.1
+ 2.4.3
+ 1.6.8
+ 2.0.20
+
4.7.6
- 6.1.2
+ 6.1.3
true
- 3.14.0
- 3.4.2
- 3.8.1
- 3.6.0
- 3.5.0
- 3.5.6
- 3.5.6
+ 3.16.0
+ 3.5.1
+ 3.11.0
+ 3.8.0
+ 3.6.1
+ 3.6.1
@@ -85,6 +87,11 @@
fuse-nio-adapter
${fuse-nio.version}
+
+ org.cryptomator
+ integrations-api
+ ${integrations-api.version}
+
info.picocli
@@ -111,7 +118,7 @@
org.fusesource.jansi
jansi
- 2.4.1
+ ${jansi.version}
@@ -149,8 +156,7 @@
-Aproject=${project.groupId}/${project.artifactId}
-
- --add-modules=java.net.http
+
--add-reads=org.cryptomator.cli=java.net.http
diff --git a/src/main/java/org/cryptomator/cli/LogbackConfigurator.java b/src/main/java/org/cryptomator/cli/LogbackConfigurator.java
index 410e0c9..b03191b 100644
--- a/src/main/java/org/cryptomator/cli/LogbackConfigurator.java
+++ b/src/main/java/org/cryptomator/cli/LogbackConfigurator.java
@@ -9,6 +9,7 @@
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.ConsoleAppender;
import ch.qos.logback.core.spi.ContextAwareBase;
+import org.fusesource.jansi.AnsiConsole;
import java.util.Map;
import java.util.concurrent.atomic.AtomicReference;
@@ -37,8 +38,10 @@ public ExecutionStatus configure(LoggerContext context) {
encoder.setPattern("[%thread] %highlight(%-5level) %cyan(%logger{15}) - %msg %n");
encoder.start();
+ // installed directly, because logback's ConsoleAppender.setWithJansi is deprecated and its replacement, JansiConsoleAppender, only supports org.jline's jansi-core
+ AnsiConsole.systemInstall();
+
var stdout = new ConsoleAppender();
- stdout.setWithJansi(true);
stdout.setContext(context);
stdout.setName("STDOUT");
stdout.setEncoder(encoder);