Details
-
Enhancement
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
8
-
b05
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8252023 | 11.0.10-oracle | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8256591 | 11.0.10 | Sean Coffey | P3 | Resolved | Fixed | b04 |
Description
Submitter uses jarsigner to sign zip files. Below is the sample of final signing
command which use for signing.
jarsigner -J-Xmx1024m -keystore /path/to/java.keystore -keypass ***
-storepass *** -tsa timeStampUrl -signedjar SignFileLocation()
UploadFileLocation() alias
UploadFileLocation() --- zip file to be signed, files inside zip(After extracting) has permissions rwxr-xr-x
SignFileLocation() --- signed zip file, files inside zip(After extracting ) has permissions rw-r--r--
jarsigner is changing the file permissions as per the above finding.
This bug is affecting the release of patches and we could not find a
straightforward solution. We can sign via openssl, but that creates
additional files that make the installation of the patch incompatible with
current machinery and it would not be backward compatible either.
command which use for signing.
jarsigner -J-Xmx1024m -keystore /path/to/java.keystore -keypass ***
-storepass *** -tsa timeStampUrl -signedjar SignFileLocation()
UploadFileLocation() alias
UploadFileLocation() --- zip file to be signed, files inside zip(After extracting) has permissions rwxr-xr-x
SignFileLocation() --- signed zip file, files inside zip(After extracting ) has permissions rw-r--r--
jarsigner is changing the file permissions as per the above finding.
This bug is affecting the release of patches and we could not find a
straightforward solution. We can sign via openssl, but that creates
additional files that make the installation of the patch incompatible with
current machinery and it would not be backward compatible either.
Attachments
Issue Links
- backported by
-
JDK-8252023 Have jarsigner preserve posix permission attributes
-
- Resolved
-
-
JDK-8256591 Have jarsigner preserve posix permission attributes
-
- Resolved
-
- csr for
-
JDK-8247499 Have jarsigner preserve posix permission attributes
-
- Closed
-
- relates to
-
JDK-8250968 Symlinks attributes not preserved when using jarsigner on zip files
-
- Resolved
-
-
JDK-8256202 Some tweaks for jarsigner tests PosixPermissionsTest and SymLinkTest
-
- Resolved
-
There are no Sub-Tasks for this issue.