Digesting jar file entries with SHA-512 algorithm is broken

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: security-libs
    • None
    • beta
    • sparc
    • solaris_9

      Using the SHA-512 digest algorithm to digest the entries in a jar
      file results in a jar file that cannot be validated with the jarsigner
      tool. There is a line wrapping problem in the digested jar file that results
      in the base64 encoded digests (which are longer with the SHA-512 alg) being
      chopped and wrapped into the following line. The jarsigner tool gives
      the following error when verifying the signed jar file:

      jarsigner: java.io.IOException: invalid header field
      ###@###.### 2005-1-20 13:24:53 GMT

            Assignee:
            Sean Mullan
            Reporter:
            Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: