Skip to content

Commit

Permalink
Prepare release 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
andresrosenthal committed Jan 3, 2022
1 parent 8fff450 commit 2af873e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ You can use the library as a dependency from [Maven Central](http://mvnrepositor
<dependency>
<groupId>org.open-eid.cdoc4j</groupId>
<artifactId>cdoc4j</artifactId>
<version>1.3</version>
<version>1.4</version>
</dependency>
```
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.open-eid.cdoc4j</groupId>
<artifactId>cdoc4j</artifactId>
<packaging>jar</packaging>
<version>1.3</version>
<version>1.4</version>

<name>cdoc4j</name>
<description>Java library for working with CDOC documents</description>
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

project="cdoc4j"
version="1.3"
version="1.4"
staging_url="https://oss.sonatype.org/service/local/staging/deploy/maven2/"
repositoryId="ossrh"

Expand Down
10 changes: 5 additions & 5 deletions util/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ Command line utility program which uses [cdoc4j](https://github.com/open-eid/cdo

* To display usage help
```bash
java -jar cdoc4j-util-1.3.jar
java -jar cdoc4j-util-1.4.jar
```

* Example of encrypting file to a recipient
```bash
java -jar cdoc4j-util-1.3.jar encrypt -f path/to/desired/file/to/be/encrypted -r path/to/recipent/certificate -o /path/to/output/directory
java -jar cdoc4j-util-1.4.jar encrypt -f path/to/desired/file/to/be/encrypted -r path/to/recipent/certificate -o /path/to/output/directory
```

* Example of encrypting multiple files to multiple recipients
```bash
java -jar cdoc4j-util-1.3.jar encrypt -f path/to/file path/to/another/file -r path/to/recipent/certificate path/to/another/recipent/certificate -o /path/to/output/directory
java -jar cdoc4j-util-1.4.jar encrypt -f path/to/file path/to/another/file -r path/to/recipent/certificate path/to/another/recipent/certificate -o /path/to/output/directory
```

* Example of decrypting a file with PKCS#11
```bash
java -jar cdoc4j-util-1.3.jar pkcs11-decrypt -f /path/to/cdoc -d /path/to/pkcs11/driver -p [pin number] -s [slot] -o /path/to/output/directory/of/decrypted/file
java -jar cdoc4j-util-1.4.jar pkcs11-decrypt -f /path/to/cdoc -d /path/to/pkcs11/driver -p [pin number] -s [slot] -o /path/to/output/directory/of/decrypted/file
```

* Example of decrypting a file with PKCS#12
```bash
java -jar cdoc4j-util-1.3.jar pkcs12-decrypt -f path/to/cdoc -k /path/to/p12/keystore -p [keystore password] -o /path/to/output/directory/of/decrypted/file
java -jar cdoc4j-util-1.4.jar pkcs12-decrypt -f path/to/cdoc -k /path/to/p12/keystore -p [keystore password] -o /path/to/output/directory/of/decrypted/file
```
4 changes: 2 additions & 2 deletions util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<groupId>org.open-eid.cdoc4j</groupId>
<artifactId>cdoc4j-util</artifactId>
<packaging>jar</packaging>
<version>1.3</version>
<version>1.4</version>
<name>Command line utility for cdoc4j</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.encoding>UTF-8</project.encoding>
<language.level>1.8</language.level>
<picocli.version>2.1.0</picocli.version>
<cdoc.version>1.3</cdoc.version>
<cdoc.version>1.4</cdoc.version>
<bouncycastle.version>1.70</bouncycastle.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion util/src/main/java/org/openeid/cdoc4j/util/CdocUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.util.concurrent.Callable;

@Command(
version = {"cdoc4j-util version: 1.3", "cdoc4j library version: 1.3"},
version = {"cdoc4j-util version: 1.4", "cdoc4j library version: 1.4"},
name = "cdoc4j-util",
header = "\r\ncdoc4j-util is a command line interface for cdoc4j library\r\n",
customSynopsis = { "[encrypt|pkcs12-decrypt|pkcs11-decrypt] <arguments>" },
Expand Down

0 comments on commit 2af873e

Please sign in to comment.