java


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".

Related Links

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

Categories

HOME
hp-exstream
mean-stack
xmpp
google-project-tango
gorm
wheelnav.js
windows-azure-storage
flask-wtforms
django-simple-history
tostring
alpine
dbext
emulator
conemu
jasonette
wkwebview
google-search-api
intel-pin
internet-explorer-9
buck
jaxb2
libuv
socialengine
media-queries
junit5
uisplitview
jspresso
copying
xmlreader
form-data
accelerate-framework
wixsharp
overlap
bitbucket-pipelines
xcode-extension
dynamics-crm-2013
vapor
document.write
splice
eclipse-scout
galen
wso2carbon
jsch
theming
hendrix
rdfs
mu
togetherjs
tropo
aurelia-validation
nativeapplication
imanage
jspdf-autotable
crosswalk-runtime
or-tools
azure-sdk
infix-notation
nsfilemanager
packagist
hexdump
nessus
php-parse-error
goose
independentsoft
t4mvc
jqgrid-formatter
0xdbe
ionic
ios9.1
appfabric-cache
sniffer
jscript.net
winddk
java.util.concurrent
relocation
jquery-layout
mysql-error-1062
poller
intentservice
uv-mapping
android-hardware
coderush
frameset
dsn
parametric-equations
chrono
punbb
bigcouch
heartbeat
horizontal-accordion
servicehost
disclosure
oncheckedchanged
google-friend-connect
paster
gamequery
asp.net-profiles
fixed-width
adrotator
mtj
simpletest
procedural-music
scripting-languages
grid-system

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App