Skip to content

Commit 10803cb

Browse files
Merge branch 'release/0.3.1'
2 parents b969a4b + d4ad011 commit 10803cb

File tree

4 files changed

+33
-38
lines changed

4 files changed

+33
-38
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ Download the jar file via [GitHub Releases](https://github.com/cryptomator/cli/r
1515
Cryptomator CLI depends on a Java 8 JRE. In addition the JCE unlimited strength policy files (needed for 256-bit keys) must be installed.
1616

1717
```sh
18-
java -jar cryptomator-cli-x.y.z.jar --bind 0.0.0.0 --port 8080 --vault demoVault=/path/to/vault --password demoVault=topSecret
18+
java -jar cryptomator-cli-x.y.z.jar \
19+
--vault demoVault=/path/to/vault --password demoVault=topSecret \
20+
--vault otherVault=/path/to/differentVault --passwordfile otherVault=/path/to/fileWithPassword \
21+
--bind 0.0.0.0 --port 8080
1922
# you can now mount http://localhost:8080/demoVault/
2023
```
2124

22-
In the current test version passwords can only be provided as a program argument. This will change in the future.
23-
2425
## License
2526

2627
This project is dual-licensed under the AGPLv3 for FOSS projects as well as a commercial license derived from the LGPL for independent software vendors and resellers. If you want to use this library in applications, that are *not* licensed under the AGPL, feel free to contact our [support team](https://cryptomator.org/help/).

pom.xml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>org.cryptomator</groupId>
44
<artifactId>cli</artifactId>
5-
<version>0.3.0</version>
5+
<version>0.3.1</version>
66
<name>Cryptomator CLI</name>
77
<description>Command line program to access encrypted files via WebDAV.</description>
88
<url>https://github.com/cryptomator/cli</url>
99

1010
<properties>
11-
<java.version>1.8</java.version>
11+
<cryptofs.version>1.4.0</cryptofs.version>
12+
<webdav-nio.version>0.6.2</webdav-nio.version>
1213
<commons.cli.version>1.3.1</commons.cli.version>
13-
<cryptofs.version>1.3.1</cryptofs.version>
14-
<webdav-nio.version>0.4.0</webdav-nio.version>
14+
<logback.version>1.2.2</logback.version>
15+
16+
<java.version>1.8</java.version>
1517
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1618
</properties>
1719

@@ -44,7 +46,7 @@
4446
<artifactId>webdav-nio-adapter</artifactId>
4547
<version>${webdav-nio.version}</version>
4648
</dependency>
47-
49+
4850
<!-- Commons -->
4951
<dependency>
5052
<groupId>commons-cli</groupId>
@@ -54,14 +56,14 @@
5456

5557
<!-- Logging -->
5658
<dependency>
57-
<groupId>org.apache.logging.log4j</groupId>
58-
<artifactId>log4j-slf4j-impl</artifactId>
59-
<version>2.8</version>
59+
<groupId>ch.qos.logback</groupId>
60+
<artifactId>logback-core</artifactId>
61+
<version>${logback.version}</version>
6062
</dependency>
6163
<dependency>
62-
<groupId>org.apache.logging.log4j</groupId>
63-
<artifactId>log4j-core</artifactId>
64-
<version>2.8</version>
64+
<groupId>ch.qos.logback</groupId>
65+
<artifactId>logback-classic</artifactId>
66+
<version>${logback.version}</version>
6567
</dependency>
6668
</dependencies>
6769

@@ -76,7 +78,7 @@
7678
<showWarnings>true</showWarnings>
7779
</configuration>
7880
</plugin>
79-
81+
8082
<plugin>
8183
<artifactId>maven-assembly-plugin</artifactId>
8284
<version>3.0.0</version>

src/main/resources/log4j2.xml

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/main/resources/logback.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!DOCTYPE xml>
3+
<configuration>
4+
5+
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
6+
<withJansi>true</withJansi>
7+
<encoder>
8+
<pattern>%d{HH:mm:ss.SSS} [%thread] %highlight(%-5level) %logger{36} - %msg%n</pattern>
9+
</encoder>
10+
</appender>
11+
12+
<root level="INFO">
13+
<appender-ref ref="STDOUT" />
14+
</root>
15+
</configuration>

0 commit comments

Comments
 (0)