-
Bug
-
Resolution: Unresolved
-
P3
-
None
-
25, 26
ADDITIONAL SYSTEM INFORMATION :
MacOS
A DESCRIPTION OF THE PROBLEM :
--mac-signing-key-user-name "CMR Technologies Limited" no longer works as expected, jpackage complains that it cannot find the cert. This is down to a simple string matching bug.
Now you need to provide a user ID in it too, e.g.: --mac-signing-key-user-name "xxxxxxxxxxxx", for example.
This was never the case before and is contrary to the documentation: "Team or user name portion".
It's down to this buggy code:
var matchingCertificates = mappedCertficates.stream().filter(e -> {
return signingIdentityNames.contains(e.getKey());
}).map(Map.Entry::getValue).toList();
... in SigningIdentitiyBuilder.
This is a regression.
It would also be helpful, please, if you logged the commands you're running and the number of certs found, etc., especially if --verbose is specified. We're completely 100% in the dark about what jpackage is doing. Debugging this stuff is not easy and there are problems from release to release.
REGRESSION : Last worked in version 21.0.9
MacOS
A DESCRIPTION OF THE PROBLEM :
--mac-signing-key-user-name "CMR Technologies Limited" no longer works as expected, jpackage complains that it cannot find the cert. This is down to a simple string matching bug.
Now you need to provide a user ID in it too, e.g.: --mac-signing-key-user-name "xxxxxxxxxxxx", for example.
This was never the case before and is contrary to the documentation: "Team or user name portion".
It's down to this buggy code:
var matchingCertificates = mappedCertficates.stream().filter(e -> {
return signingIdentityNames.contains(e.getKey());
}).map(Map.Entry::getValue).toList();
... in SigningIdentitiyBuilder.
This is a regression.
It would also be helpful, please, if you logged the commands you're running and the number of certs found, etc., especially if --verbose is specified. We're completely 100% in the dark about what jpackage is doing. Debugging this stuff is not easy and there are problems from release to release.
REGRESSION : Last worked in version 21.0.9
- caused by
-
JDK-8333664 Decouple command line parsing and package building in jpackage
-
- Resolved
-