Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 || '' }}

Expand All @@ -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 }}
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 || '' }}
Expand All @@ -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
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 || '' }}

Expand All @@ -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 }}
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

env:
JAVA_DIST: 'temurin'
JAVA_VERSION: '25.0.4+7'
JAVA_VERSION: '27.0.1.1+4'

defaults:
run:
Expand All @@ -30,23 +30,23 @@ 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
- name: Check the git tag is signed
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 }}
cache: 'maven'
- 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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/get-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dist/jlink.args
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion dist/jpackage.args
Original file line number Diff line number Diff line change
Expand Up @@ -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\""
40 changes: 23 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<jdk.version>25</jdk.version>
<jdk.version>27</jdk.version>
Comment thread
tobihagemann marked this conversation as resolved.
Resolved

<!--jpackage stuff -->
<!-- Group IDs of jars that need to stay on the class path for now
Expand All @@ -20,28 +20,30 @@
<mainClass>org.cryptomator.cli.CryptomatorCli</mainClass>

<!-- runtime dependencies -->
<cryptofs.version>2.8.0</cryptofs.version>
<webdav-nio.version>2.0.10</webdav-nio.version>
<fuse-nio.version>5.0.5</fuse-nio.version>
<logback.version>1.5.25</logback.version>
<slf4j.version>2.0.17</slf4j.version>
<cryptofs.version>2.12.1</cryptofs.version>
<webdav-nio.version>3.0.3</webdav-nio.version>
<fuse-nio.version>7.0.1</fuse-nio.version>
<integrations-api.version>1.10.1</integrations-api.version>
<jansi.version>2.4.3</jansi.version>
<logback.version>1.6.8</logback.version>
<slf4j.version>2.0.20</slf4j.version>

<!-- build dependencies -->
<!-- 4.7.7 breaks picocli-codegen for ArgGroups shared across commands (PasswordSource), see https://github.com/remkop/picocli/issues/2407 -->
<picocli.version>4.7.6</picocli.version>

<!-- test dependencies -->
<junit.version>6.1.2</junit.version>
<junit.version>6.1.3</junit.version>
<!-- integration tests run against the packaged app image, hence they are skipped unless explicitly enabled with -DskipITs=false -->
<skipITs>true</skipITs>

<!-- maven plugins -->
<maven-compiler.version>3.14.0</maven-compiler.version>
<maven-jar.version>3.4.2</maven-jar.version>
<maven-dependency.version>3.8.1</maven-dependency.version>
<maven-shade.version>3.6.0</maven-shade.version>
<maven-exec.version>3.5.0</maven-exec.version>
<maven-surefire.version>3.5.6</maven-surefire.version>
<maven-failsafe.version>3.5.6</maven-failsafe.version>
<maven-compiler.version>3.16.0</maven-compiler.version>
<maven-jar.version>3.5.1</maven-jar.version>
<maven-dependency.version>3.11.0</maven-dependency.version>
<maven-exec.version>3.8.0</maven-exec.version>
<maven-surefire.version>3.6.1</maven-surefire.version>
<maven-failsafe.version>3.6.1</maven-failsafe.version>
</properties>

<licenses>
Expand Down Expand Up @@ -85,6 +87,11 @@
<artifactId>fuse-nio-adapter</artifactId>
<version>${fuse-nio.version}</version>
</dependency>
<dependency>
<groupId>org.cryptomator</groupId>
<artifactId>integrations-api</artifactId>
<version>${integrations-api.version}</version>
</dependency>

<dependency>
<groupId>info.picocli</groupId>
Expand All @@ -111,7 +118,7 @@
<dependency>
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
<version>2.4.1</version>
<version>${jansi.version}</version>
</dependency>

<!-- Test -->
Expand Down Expand Up @@ -149,8 +156,7 @@
<configuration>
<compilerArgs>
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
<!-- the integration tests use the http client to connect to the local webdav server. It is not required by the module under test -->
<arg>--add-modules=java.net.http</arg>
<!-- the integration tests use the http client to connect to the local webdav server. The module under test does not read java.net.http itself -->
<arg>--add-reads=org.cryptomator.cli=java.net.http</arg>
</compilerArgs>
</configuration>
Expand Down
Loading