Integrated: 8300259: Add test coverage for processing of pending block files in signed JARs
Eirik Bjorsnos
duke at openjdk.org
Mon Feb 6 17:19:05 UTC 2023
On Mon, 16 Jan 2023 11:44:36 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:
> This PR adds test coverage for pending block files in signed JAR files
>
> A signed JAR has pending block files if the block file [RSA, DSA, EC] comes before the corresponding signature file [SF] in the JAR.
>
> JarVerifier.processEntry supports processing of such pending block files, but this code path does not seem to be exercised by current test.
>
> The new test PendingBlocksJar checks that signed JARs with pending blocks are processed correctly, both for the valid and invalid cases.
This pull request has now been integrated.
Changeset: c129ce46
Author: Eirik Bjorsnos <eirbjo at gmail.com>
Committer: Weijun Wang <weijun at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c129ce4660e6c9b5365c8bf89fb916e2a7c28e98
Stats: 173 lines in 1 file changed: 173 ins; 0 del; 0 mod
8300259: Add test coverage for processing of pending block files in signed JARs
Reviewed-by: weijun
-------------
PR: https://git.openjdk.org/jdk/pull/12009
More information about the security-dev
mailing list