Summary
jpackage should exit with an error if it can't unambiguously resolve the signing identity when signing an application on macOS.
Problem
Currently, if jpackage determines that multiple signing identities match the signing identity pattern, it selects the first one and writes a warning. jpackage is usually used as a component of a build pipeline. Developers typically ignore build warnings unless the build fails. This may result in applications being signed by an unexpected signing identity without being noticed.
Solution
If jpackage determines that multiple signing identities match the signing identity pattern, it should exit with an error rather than continue using the first matching signing identity.
Specification
If jpackage determines that multiple signing identities match the signing identity pattern, it will exit with an error rather than write a warning and select the first matching signing identity.
- csr of
-
JDK-8371440 jpackage should exit with an error if it finds multiple matching signing certificates
-
- Open
-