Initial tests using OpenVex #9913
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds
openvex.table
which is similar to the otp.table except that it contains all CVEs on a per branch basisthe main idea is that instead of having to write an otp.table per branch to maintain, we have a centralised
point in
master
branch that contains all CVEs classified per branch. Manyopenssl
CVEs are repeated overand over from one branch to another so a central place makes it easy to maintain.
.openvex/maint-26.openvex.json
is a generated file that we use to express openvex statements..openvex/templates/XXXX.openvex.json
are empty templates. we are not using them as OpenVex templates since I do notthink we gain much from them.
The main idea is to add all CVEs in
openvex.table
and run an otp-compliance script that generates and updates the.openvex/maint-26.openvex.json
(and others) statements. Blindly runningvexctl add
multiple times generates the same entry multiple times, and the script (not yet implemented) should prevent us from generating the same entry multiple times.we can express false positives running the command manually, and the
master
branch contains the OpenVex files up to date.on each release, these files are push to the release page (github action to add next week).
This design is not final, but I think it makes sense to have the VEX files in the repo. If we place them in other repo, we make difficult to find them, e.g.,
erlang/vex
where it is not clear iferlang/vex
is for otp, rebar3, or any of the projects from theerlang
organisation.