mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8180289: jarsigner treats timestamped signed jar invalid after the signer cert expires
Reviewed-by: mullan
This commit is contained in:
parent
2dfe7fb8ab
commit
69db146335
10 changed files with 484 additions and 209 deletions
|
@ -724,7 +724,8 @@ public class SignatureFileVerifier {
|
|||
if (signers == null) {
|
||||
signers = new ArrayList<>();
|
||||
}
|
||||
// Append the new code signer
|
||||
// Append the new code signer. If timestamp is invalid, this
|
||||
// jar will be treated as unsigned.
|
||||
signers.add(new CodeSigner(certChain, info.getTimestamp()));
|
||||
|
||||
if (debug != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue