@@ -74,6 +74,8 @@ In addition to the main `webauthn-server-core` module, there are also:
74
74
- Optionally integrates with a "metadata service" to verify
75
75
https://www.w3.org/TR/webauthn/#sctn-attestation[authenticator attestations]
76
76
and annotate responses with additional authenticator metadata
77
+ - Reproducible builds: release signatures match fresh builds from source. See
78
+ [Building](#Building) below.
77
79
78
80
79
81
=== Non-features
@@ -340,18 +342,25 @@ will have a plain `x.y.z` version number, while a build on any other commit will
340
342
result in a version number containing the abbreviated commit hash.
341
343
342
344
Starting in version `1.4.0-RC2`, artifacts are built reproducibly. Fresh builds from
343
- tagged commits should therefore be verifiable by signatures from Maven Central:
345
+ tagged commits should therefore be verifiable by signatures from Maven Central
346
+ and GitHub releases:
344
347
345
348
```
346
349
$ git checkout 1.4.0-RC2
347
350
$ ./gradlew :webauthn-server-core:jar
351
+
348
352
$ wget https://repo1.maven.org/maven2/com/yubico/webauthn-server-core/1.4.0-RC2/webauthn-server-core-1.4.0-RC2.jar.asc
349
353
$ gpg --verify webauthn-server-core-1.4.0-RC2.jar.asc webauthn-server-core/build/libs/webauthn-server-core-1.4.0-RC2.jar
354
+
355
+ $ wget https://github.com/Yubico/java-webauthn-server/releases/download/1.4.0-RC2/webauthn-server-core-1.4.0-RC2.jar.asc
356
+ $ gpg --verify webauthn-server-core-1.4.0-RC2.jar.asc webauthn-server-core/build/libs/webauthn-server-core-1.4.0-RC2.jar
350
357
```
351
358
352
359
Note that building with a different JDK may produce a different artifact. To
353
360
ensure binary reproducibility, please build with the same JDK as specified in
354
- the release notes.
361
+ the release notes. Reproducible builds also require building from a Git
362
+ repository, since the build embeds version number and Git commit ID into the
363
+ built artifacts.
355
364
356
365
Official Yubico software signing keys are listed on the
357
366
https://developers.yubico.com/Software_Projects/Software_Signing.html[Yubico
0 commit comments