Skip to content

Commit f56f7a2

Browse files
committed
Release version 7.0
1 parent 5eb6a50 commit f56f7a2

File tree

16 files changed

+46
-38
lines changed

16 files changed

+46
-38
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ See https://ebourg.github.io/jsign for more information.
5353

5454
## Changes
5555

56-
#### Version 7.0 (in development)
56+
#### Version 7.0 (2025-01-16)
5757

5858
* New signing services:
5959
* Azure Trusted Signing
@@ -88,6 +88,7 @@ See https://ebourg.github.io/jsign for more information.
8888
* Signing more than one file with the `YUBIKEY` storetype no longer triggers a `CKR_USER_NOT_LOGGED_IN` error
8989
* MS Cabinet files with a pre-allocated reserve are now supported
9090
* The `--certfile` parameter can now be used to replace the certificate chain from the keystore
91+
* PVK and PEM key files are now properly loaded even if the extension is not recognized (contributed by Alejandro González)
9192
* API changes:
9293
* The keystore builder and the JCA provider are now in a separate `jsign-crypto` module
9394
* The PEFile class has been refactored to keep only the methods related to signing

RELEASE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Release process
55

66
mvn versions:set -DnewVersion=x.y -DgenerateBackupPoms=false
77

8+
The version in the documentation and in the Gradle examples will be automatically updated by `mvn deploy`.
9+
810
1. Update the release date in `README.md`
911

1012
1. Upload the Maven artifacts to Nexus:
@@ -25,6 +27,10 @@ Release process
2527

2628
1. Publish the release on Chocolatey (see `jsign/src/choco/README.md`)
2729

30+
1. Login to https://manage.fury.io/login and publish the Debian package
31+
32+
1. Publish the Gradle plugin (see `jsign-gradle-plugin/README.md`)
33+
2834
1. Update the Maven version to the next snapshot:
2935

3036
mvn versions:set -DnewVersion=x.y+1-SNAPSHOT -DgenerateBackupPoms=false -DupdateBuildOutputTimestamp=false

docs/index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ <h3 id="features">Features</h3>
8989
<h3 id="files">Downloads</h3>
9090

9191
<ul>
92-
<li><a href="https://github.com/ebourg/jsign/releases/download/6.0/jsign_6.0_all.deb">DEB package</a> (Debian/Ubuntu)</li>
93-
<li><a href="https://github.com/ebourg/jsign/releases/download/6.0/jsign-6.0-1.noarch.rpm">RPM package</a> (RedHat/Fedora)</li>
92+
<li><a href="https://github.com/ebourg/jsign/releases/download/7.0/jsign_7.0_all.deb">DEB package</a> (Debian/Ubuntu)</li>
93+
<li><a href="https://github.com/ebourg/jsign/releases/download/7.0/jsign-7.0-1.noarch.rpm">RPM package</a> (RedHat/Fedora)</li>
9494
<li><a href="https://community.chocolatey.org/packages/jsign/">Chocolatey package</a> (Windows)</li>
9595
<li><a href="https://formulae.brew.sh/formula/jsign">Homebrew package</a> (macOS/Linux)</li>
96-
<li><a href="https://github.com/ebourg/jsign/releases/download/6.0/jsign-6.0.jar">All-in-one JAR</a> (Other systems, Ant task, JCA provider)</li>
96+
<li><a href="https://github.com/ebourg/jsign/releases/download/7.0/jsign-7.0.jar">All-in-one JAR</a> (Other systems, Ant task, JCA provider)</li>
9797
</ul>
9898

9999

@@ -102,7 +102,7 @@ <h3 id="ant">Ant Task</h3>
102102
<p>Here is an example showing how the signing works with Ant, using a Java keystore:</p>
103103

104104
<pre class="prettyprint lang-xml">
105-
&lt;taskdef name="jsign" classname="net.jsign.JsignTask" classpath="jsign-6.0.jar"/>
105+
&lt;taskdef name="jsign" classname="net.jsign.JsignTask" classpath="jsign-7.0.jar"/>
106106

107107
&lt;jsign file="application.exe"
108108
name="My Application"
@@ -355,7 +355,7 @@ <h3 id="maven">Maven plugin</h3>
355355
&lt;plugin>
356356
&lt;groupId>net.jsign&lt;/groupId>
357357
&lt;artifactId>jsign-maven-plugin&lt;/artifactId>
358-
&lt;version>6.0&lt;/version>
358+
&lt;version>7.0&lt;/version>
359359
&lt;executions>
360360
&lt;execution>
361361
&lt;goals>
@@ -442,7 +442,7 @@ <h3 id="gradle">Gradle plugin</h3>
442442

443443
<pre class="prettyprint lang-groovy">
444444
plugins {
445-
id 'net.jsign' version '6.0'
445+
id 'net.jsign' version '7.0'
446446
}
447447

448448
task sign {
@@ -462,7 +462,7 @@ <h3 id="gradle">Gradle plugin</h3>
462462

463463
<pre class="prettyprint lang-kotlin">
464464
plugins {
465-
id("net.jsign") version "6.0"
465+
id("net.jsign") version "7.0"
466466
}
467467

468468
task("sign") {
@@ -494,11 +494,11 @@ <h3 id="github-actions">GitHub Actions</h3>
494494
distribution: 'temurin'
495495

496496
- name: Download Jsign
497-
run: wget https://github.com/ebourg/jsign/releases/download/6.0/jsign-6.0.jar
497+
run: wget https://github.com/ebourg/jsign/releases/download/7.0/jsign-7.0.jar
498498

499499
- name: Sign
500500
run: >
501-
java -jar jsign-6.0.jar --storetype TRUSTEDSIGNING
501+
java -jar jsign-7.0.jar --storetype TRUSTEDSIGNING
502502
--keystore weu.codesigning.azure.net
503503
--storepass ${{ secrets.AZURE_ACCESS_TOKEN }}
504504
--alias &lt;account&gt;/&lt;profile&gt;
@@ -513,7 +513,7 @@ <h3 id="cli">Command Line Tool</h3>
513513

514514
<p>On other systems the command line is invoked by running the jar with:</p>
515515

516-
<pre> java -jar jsign-6.0.jar [OPTIONS] [FILE]...</pre>
516+
<pre> java -jar jsign-7.0.jar [OPTIONS] [FILE]...</pre>
517517

518518
<p>The parameters expected are the same as those used by the Ant task:</p>
519519

@@ -1018,7 +1018,7 @@ <h3 id="api">API</h3>
10181018
&lt;dependency>
10191019
&lt;groupId>net.jsign&lt;/groupId>
10201020
&lt;artifactId>jsign-core&lt;/artifactId>
1021-
&lt;version>6.0&lt;/version>
1021+
&lt;version>7.0&lt;/version>
10221022
&lt;/dependency>
10231023
</pre>
10241024

@@ -1053,7 +1053,7 @@ <h4 id="jar-signing">JAR signing</h4>
10531053
<p>With Java 11 or later the syntax looks like this:</p>
10541054

10551055
<pre>
1056-
jarsigner -J-cp -Jjsign-6.0.jar -J--add-modules -Jjava.sql \
1056+
jarsigner -J-cp -Jjsign-7.0.jar -J--add-modules -Jjava.sql \
10571057
-providerClass net.jsign.jca.JsignJcaProvider \
10581058
-providerArg &lt;keystore&gt; \
10591059
-keystore NONE \
@@ -1068,7 +1068,7 @@ <h4 id="jar-signing">JAR signing</h4>
10681068
parameter is removed:</p>
10691069

10701070
<pre>
1071-
jarsigner -J-cp -Jjsign-6.0.jar:$JAVA_HOME/lib/tools.jar \
1071+
jarsigner -J-cp -Jjsign-7.0.jar:$JAVA_HOME/lib/tools.jar \
10721072
...
10731073
</pre>
10741074

jsign-ant/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<parent>
77
<groupId>net.jsign</groupId>
88
<artifactId>jsign-parent</artifactId>
9-
<version>7.0-SNAPSHOT</version>
9+
<version>7.0</version>
1010
<relativePath>../pom.xml</relativePath>
1111
</parent>
1212
<name>Jsign - Authenticode signing in Java (Ant Task)</name>
13-
<version>7.0-SNAPSHOT</version>
13+
<version>7.0</version>
1414
<packaging>jar</packaging>
1515

1616
<dependencies>

jsign-cli/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<parent>
77
<groupId>net.jsign</groupId>
88
<artifactId>jsign-parent</artifactId>
9-
<version>7.0-SNAPSHOT</version>
9+
<version>7.0</version>
1010
<relativePath>../pom.xml</relativePath>
1111
</parent>
1212
<name>Jsign - Authenticode signing in Java (Command Line Tool)</name>
13-
<version>7.0-SNAPSHOT</version>
13+
<version>7.0</version>
1414
<packaging>jar</packaging>
1515

1616
<dependencies>

jsign-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<parent>
77
<groupId>net.jsign</groupId>
88
<artifactId>jsign-parent</artifactId>
9-
<version>7.0-SNAPSHOT</version>
9+
<version>7.0</version>
1010
<relativePath>../pom.xml</relativePath>
1111
</parent>
1212
<name>Jsign - Authenticode signing in Java (Core)</name>
13-
<version>7.0-SNAPSHOT</version>
13+
<version>7.0</version>
1414
<packaging>jar</packaging>
1515

1616
<dependencies>

jsign-crypto/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<parent>
77
<groupId>net.jsign</groupId>
88
<artifactId>jsign-parent</artifactId>
9-
<version>7.0-SNAPSHOT</version>
9+
<version>7.0</version>
1010
<relativePath>../pom.xml</relativePath>
1111
</parent>
1212
<name>Jsign - Authenticode signing in Java (Crypto)</name>
13-
<version>7.0-SNAPSHOT</version>
13+
<version>7.0</version>
1414
<packaging>jar</packaging>
1515

1616
<dependencies>

jsign-gradle-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = 'net.jsign'
7-
version = '6.0'
7+
version = '7.0'
88

99
repositories {
1010
mavenCentral()

jsign-gradle-plugin/example.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
}
55

66
dependencies {
7-
classpath 'net.jsign:jsign-gradle-plugin:1.4-SNAPSHOT'
7+
classpath 'net.jsign:jsign-gradle-plugin:7.0'
88
}
99
}
1010

jsign-gradle-plugin/example.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
}
55

66
dependencies {
7-
classpath("net.jsign:jsign-gradle-plugin:6.0")
7+
classpath("net.jsign:jsign-gradle-plugin:7.0")
88
}
99
}
1010

0 commit comments

Comments
 (0)