Signed jar file recognized in java 1.7.0_76 but not java 1.7.0_75
I signed a jar file using the signer provided with jdk 1.7.0_71. This also worked previously until we updated from X.509, CN=GlobalSign CodeSigning CA - SHA256 - G2, O=GlobalSign nv-sa to X.509, CN=GlobalSign CodeSigning CA - SHA256 - G3, O=GlobalSign nv-sa Now we have the behaviour that the jar file is recognized as signed at 1.7.0_76 but not 1.7.0_75. The only difference I see is the generation. Although I have the strong feeling that some security update similar to the topic described in Signing JAR files in the explorer showing "unsigned" when verifying them causes the problem I cannot find any proof. Did somebody already stumble across a similar or the same problem and, more importantly, found a solution?
The problem was not the new certificate. It actually depended on two other factors. The Java version from which the jarsigner was taken. If you take the jarsigner from some Java 8 JDK it can happen that it does not work any more with every Java 7 JRE as SHA256 is used at "Timestamp digest algorithm". The URL used for timestamping. If you are using one which provides higher security (let's say SHA256) it does also not work any more with every Java 7 JRE as again SHA256 is used, now at "Timestamp signature algorithm".
Why mockStatic doesn't behave as expected?
When creating object from classes that extend other classes [duplicate]
How to prevent LinkedHashMap from replacing Key/Value?
java.lang.OutOfMemoryError: GC overhead limit exceeded while Reading a Large Text file
How to read a BufferedReader without clearing it
Linkage error while deploying Axis 1 on wildfly 10
Does it matter where a contained object is created for it to be considered Composition or Aggregation?
Java writing output AudioInputStream + AudioFormat set wFormat to FLOAT?
Why can the body of a lambda expression be composed of only a throws statement?
Java variable not being affected
Proper way of using generics for composition of elements in java
Receiving FK violation error when trying to save task in OfBiz
using a Scanner to ensure correct input and then initialize a variable
Android Programming mistake
JScrollBar: Horizontal scrollbar not showing
Traverse a binary tree to find all possible combinations of an expression