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

+2-1
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

+6
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

+13-13
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

+2-2
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

+2-2
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

+2-2
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

+2-2
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

+1-1
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

+1-1
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

+1-1
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

jsign-gradle-plugin/pom.xml

+2-2
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 (Gradle Plugin)</name>
13-
<version>7.0-SNAPSHOT</version>
13+
<version>7.0</version>
1414
<packaging>jar</packaging>
1515

1616
<repositories>

jsign-maven-plugin/pom.xml

+2-2
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 (Maven Plugin)</name>
13-
<version>7.0-SNAPSHOT</version>
13+
<version>7.0</version>
1414
<packaging>maven-plugin</packaging>
1515

1616
<properties>

jsign/pom.xml

+3-2
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 (Distribution)</name>
13-
<version>7.0-SNAPSHOT</version>
13+
<version>7.0</version>
1414
<packaging>jar</packaging>
1515

1616
<dependencies>
@@ -459,6 +459,7 @@
459459
<replaceregexp file="../docs/index.html" flags="g" match="version &quot;[\d.]+&quot;" replace="version &quot;${project.version}&quot;"/>
460460

461461
<!-- Gradle examples -->
462+
<replaceregexp file="../jsign-gradle-plugin/example.gradle" match="net.jsign:jsign-gradle-plugin:[\d.]+(?:-SNAPSHOT)?" replace="net.jsign:jsign-gradle-plugin:${project.version}"/>
462463
<replaceregexp file="../jsign-gradle-plugin/example.gradle.kts" match="net.jsign:jsign-gradle-plugin:[\d.]+(?:-SNAPSHOT)?" replace="net.jsign:jsign-gradle-plugin:${project.version}"/>
463464

464465
</target>

jsign/src/choco/jsign.nuspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
33
<metadata>
44
<id>jsign</id>
5-
<version>6.0</version>
5+
<version>7.0</version>
66
<owners>ebourg</owners>
77
<title>Jsign</title>
88
<authors>Emmanuel Bourg</authors>
@@ -28,7 +28,7 @@
2828
</metadata>
2929
<files>
3030
<file src="tools\**" target="tools" />
31-
<file src="..\..\target\jsign-6.0.jar" target="tools\jsign.jar" />
31+
<file src="..\..\target\jsign-7.0.jar" target="tools\jsign.jar" />
3232
<file src="..\..\..\LICENSE.txt" target="tools\" />
3333
</files>
3434
</package>

jsign/src/choco/tools/VERIFICATION.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ in verifying that this package's contents are trustworthy.
66
Package can be verified like this:
77

88
* Go to https://github.com/ebourg/jsign/releases
9-
* Download the `jsign-<version>.jar` file for the latest release (for example https://github.com/ebourg/jsign/releases/download/6.0/jsign-6.0.jar)
9+
* Download the `jsign-<version>.jar` file for the latest release (for example https://github.com/ebourg/jsign/releases/download/7.0/jsign-7.0.jar)
1010
* Get the checksum using one of the following methods:
1111
- Using powershell function 'Get-FileHash'
1212
- Use chocolatey utility 'checksum.exe'
1313
* Compare the checksum with the one of the jsign.jar file embedded in this package.
14-
The expected sha-256 value for the version 6.0 is:
15-
`05ca18d4ab7b8c2183289b5378d32860f0ea0f3bdab1f1b8cae5894fb225fa8a`
14+
The expected sha-256 value for the version 7.0 is:
15+
`325df319621e7fa74384c8852efdb5828871bf6405648a4c621ee5fc37c59b6c`

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>net.jsign</groupId>
55
<artifactId>jsign-parent</artifactId>
66
<name>Jsign - Authenticode signing in Java (Parent)</name>
7-
<version>7.0-SNAPSHOT</version>
7+
<version>7.0</version>
88
<packaging>pom</packaging>
99

1010
<inceptionYear>2012</inceptionYear>
@@ -383,7 +383,7 @@
383383
<bouncycastle.version>2.73.7</bouncycastle.version>
384384

385385
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
386-
<project.build.outputTimestamp>2024-01-17T12:00:00Z</project.build.outputTimestamp>
386+
<project.build.outputTimestamp>2025-01-16T08:34:01Z</project.build.outputTimestamp>
387387
</properties>
388388

389389
</project>

0 commit comments

Comments
 (0)