Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8184993

Jar file verification failing with SecurityException: digest missing xxx

    Details

      Backports

        Description

        Behavioural change in 8u141 is causing some jar files to fail verification.

        Example stacktrace :

        com.sun.deploy.net.JARSigningException: Could not verify signing in resource: (http://localhost:8080/webstart/lib/l2fprod-0.0.1.jar, 55873)
        at com.sun.deploy.security.JarVerifier.authenticateJarEntry(Unknown Source)
        at com.sun.deploy.security.EnhancedJarVerifier.validate(Unknown Source)
        at com.sun.deploy.cache.CacheEntry.processJar(Unknown Source)
        at com.sun.deploy.cache.CacheEntry.access$2700(Unknown Source)
        at com.sun.deploy.cache.CacheEntry$7.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
        at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
        at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown Source)
        ...

        ================================
        WrappedException:
        ================================
        java.lang.SecurityException: digest missing for com/l2fprod/common
        at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
        at java.util.jar.JarVerifier.processEntry(Unknown Source)
        at java.util.jar.JarVerifier.update(Unknown Source)
        at java.util.jar.JarVerifier$VerifierStream.<init>(Unknown Source)
        at java.util.jar.JarFile.getInputStream(Unknown Source)
        at com.sun.deploy.security.JarVerifier.authenticateJarEntry(Unknown Source)
        at com.sun.deploy.security.EnhancedJarVerifier.validate(Unknown Source)
        at com.sun.deploy.cache.CacheEntry.processJar(Unknown Source)
        at com.sun.deploy.cache.CacheEntry.access$2700(Unknown Source)
        at com.sun.deploy.cache.CacheEntry$7.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
        at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
        at com.sun.deploy.cache.Cache.downloadResourceToTempFile(Unknown Source)
        ...

          Issue Links

            Activity

            coffeys Sean Coffey created issue -
            coffeys Sean Coffey made changes -
            Field Original Value New Value
            Link This issue relates to JDK-8184924 [ JDK-8184924 ]
            coffeys Sean Coffey made changes -
            Link This issue relates to JDK-8169392 [ JDK-8169392 ]
            coffeys Sean Coffey made changes -
            Status New [ 10000 ] Open [ 1 ]
            mullan Sean Mullan made changes -
            Subcomponent java.security [ 195 ]
            rlewis Roger Lewis made changes -
            Labels regression comms=yes regression
            coffeys Sean Coffey made changes -
            Labels comms=yes regression 9-na comms=yes regression
            igerasim Ivan Gerasimov made changes -
            Link This issue relates to JDK-6233323 [ JDK-6233323 ]
            hgupdate HG Updates made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolved In Build master [ 18256 ]
            Fix Version/s 8u161 [ 19043 ]
            Assignee Ivan Gerasimov [ igerasim ]
            Resolution Fixed [ 1 ]
            asaha Abhijit Saha made changes -
            Labels 9-na comms=yes regression 9-na comms=yes regression regression_8169392
            asaha Abhijit Saha made changes -
            Labels 9-na comms=yes regression regression_8169392 9-na comms=yes hgupdate-sync regression regression_8169392
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8185111 [ JDK-8185111 ]
            mullan Sean Mullan made changes -
            Labels 9-na comms=yes hgupdate-sync regression regression_8169392 9-na comms=yes hgupdate-sync regression regression_8169392 release-note=yes
            igerasim Ivan Gerasimov made changes -
            Link This issue duplicates JDK-8184924 [ JDK-8184924 ]
            igerasim Ivan Gerasimov made changes -
            Link This issue duplicates JDK-8184948 [ JDK-8184948 ]
            igerasim Ivan Gerasimov made changes -
            Link This issue relates to JDK-8184924 [ JDK-8184924 ]
            asaha Abhijit Saha made changes -
            Link This issue backported by JDK-8185144 [ JDK-8185144 ]
            ostuart Owen Stuart made changes -
            Labels 9-na comms=yes hgupdate-sync regression regression_8169392 release-note=yes 7bpr-critical-approved 8bpr-critical-approved 9-na comms=yes hgupdate-sync regression regression_8169392 release-note=yes
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8185289 [ JDK-8185289 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8185303 [ JDK-8185303 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8185363 [ JDK-8185363 ]
            igerasim Ivan Gerasimov made changes -
            Link This issue duplicates JDK-8184980 [ JDK-8184980 ]
            coffeys Sean Coffey made changes -
            Link This issue backported by JDK-8185494 [ JDK-8185494 ]
            coffeys Sean Coffey made changes -
            Link This issue backported by JDK-8185495 [ JDK-8185495 ]
            igerasim Ivan Gerasimov made changes -
            Link This issue duplicates JDK-8185563 [ JDK-8185563 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8185631 [ JDK-8185631 ]
            ostuart Owen Stuart made changes -
            Link This issue relates to JDK-8185641 [ JDK-8185641 ]
            mmma Marvin Ma made changes -
            Labels 7bpr-critical-approved 8bpr-critical-approved 9-na comms=yes hgupdate-sync regression regression_8169392 release-note=yes 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392 release-note=yes
            igerasim Ivan Gerasimov made changes -
            Link This issue duplicates JDK-8185837 [ JDK-8185837 ]
            ostuart Owen Stuart made changes -
            Labels 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392 release-note=yes 6bpr-critical-request 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392 release-note=yes
            ostuart Owen Stuart made changes -
            Link This issue relates to JDK-8186116 [ JDK-8186116 ]
            rpallath Rajendrakumar Pallath made changes -
            Labels 6bpr-critical-request 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392 release-note=yes 6bpr-critical-request 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392
            ostuart Owen Stuart made changes -
            Labels 6bpr-critical-request 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392 6bpr-critical-approved 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8186206 [ JDK-8186206 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8187216 [ JDK-8187216 ]
            rcalnan Roger Calnan made changes -
            Labels 6bpr-critical-approved 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392 6bpr-critical-approved 7bpr-critical-approved 8bpr-critical-approved 9-na comms=done hgupdate-sync regression regression_8169392 release-note=yes

              People

              • Assignee:
                igerasim Ivan Gerasimov
                Reporter:
                coffeys Sean Coffey
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: