-
Bug
-
Resolution: Fixed
-
P2
-
8u60
-
b15
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8079206 | 9 | Andy Herrick | P2 | Resolved | Fixed | b65 |
JDK-8082208 | emb-9 | Andy Herrick | P2 | Resolved | Fixed | b65 |
JDK-8086378 | 8u65 | Andy Herrick | P2 | Resolved | Fixed | b01 |
JDK-8137462 | emb-8u65 | Unassigned | P2 | Resolved | Fixed | b01 |
JDK-8079928 | emb-8u60 | Andy Herrick | P2 | Resolved | Fixed | team |
DRS 1.2 implements checksum type rule for unsigned jars.
The AMC interface passes checksum and checksum algorythm to deploy in CodeRef constructor in order to prevent deploy code from trying to download the jar and calculate the checksum itself. If a DRS ruleset could contain different checksum rules with different algorithms, then this would be thwarted, and deploy would try to download the jar to calculate the checksum in the other algorithm.
We could solve this by changing the interface to pass in array of checksums and algorithms, and AMC would have to compute the checksums in all possible algorithms.
It would be easier at this time to just restrict the possible algorithms to just SHA-256, and at this time we see no pressing need to support any other algorithm.
DRS 1.2 will be modified to allow only SHA-256 as the algorithm used for checksum element.
The AMC interface passes checksum and checksum algorythm to deploy in CodeRef constructor in order to prevent deploy code from trying to download the jar and calculate the checksum itself. If a DRS ruleset could contain different checksum rules with different algorithms, then this would be thwarted, and deploy would try to download the jar to calculate the checksum in the other algorithm.
We could solve this by changing the interface to pass in array of checksums and algorithms, and AMC would have to compute the checksums in all possible algorithms.
It would be easier at this time to just restrict the possible algorithms to just SHA-256, and at this time we see no pressing need to support any other algorithm.
DRS 1.2 will be modified to allow only SHA-256 as the algorithm used for checksum element.
- backported by
-
JDK-8079206 DRS 1.2: checksum algorithm needs to be restricted to SHA-256
- Resolved
-
JDK-8079928 DRS 1.2: checksum algorithm needs to be restricted to SHA-256
- Resolved
-
JDK-8082208 DRS 1.2: checksum algorithm needs to be restricted to SHA-256
- Resolved
-
JDK-8086378 DRS 1.2: checksum algorithm needs to be restricted to SHA-256
- Resolved
-
JDK-8137462 DRS 1.2: checksum algorithm needs to be restricted to SHA-256
- Resolved
- relates to
-
JDK-8079677 fix to JDK-8078534 removed part of fix to JDK-8076220
- Closed
(1 relates to)