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

Signature verification fails after pack200

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7u9
    • core-libs

      FULL PRODUCT VERSION :
      java version " 1.7.0_09 "
      Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
      Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      also present in the beta of 1.7.0 update 10

      A DESCRIPTION OF THE PROBLEM :
      signature verification fails on ~4m (uncompressed) jar file after running pack200 compression.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      create 4-5 MB jar.
      Sign it .
      verify signature
      compress with pack200 -effort=9
      verify signature

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      signature verification should be successful
      ACTUAL -
      verification fails

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      something with SHA-256 signature ..

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      workaround is to use --segment-limit=-1

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: