Integrated: 8313904: [macos] All signing tests which verifies unsigned app images are failing

Alexander Matveev almatvee at openjdk.org
Fri Aug 11 21:22:58 UTC 2023


On Thu, 10 Aug 2023 22:58:18 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

> - This is regression from [JDK-8298488](https://bugs.openjdk.org/browse/JDK-8298488).
> - Since JDK-8298488 unsigned app bundles are ad-hoc signed and `codesign` will report that app bundle is signed and thus our tests failed.
> - Fixed tests by checking that all app bundles are signed and by checking how they signed ad-hoc vs actual certificate.
> - Unsigned post process image will be ad-hoc re-sign when generating DMG or PKG, since we adding `.package` file which makes ad-hoc signature invalid. This is similar to [JDK-8293462](https://bugs.openjdk.org/browse/JDK-8293462).

This pull request has now been integrated.

Changeset: ec0cc630
Author:    Alexander Matveev <almatvee at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ec0cc6300a02dd92b25d9072b8b3859dab583bbd
Stats:     94 lines in 8 files changed: 58 ins; 0 del; 36 mod

8313904: [macos] All signing tests which verifies unsigned app images are failing

Reviewed-by: asemenyuk

-------------

PR: https://git.openjdk.org/jdk/pull/15235


More information about the core-libs-dev mailing list