Add checksum-dependency-plugin for verification of plugin/dependency checksums #2488
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.
checksum-dependency-plugin
is a superset ofgradle-witness
, and it enables to increase the level of security.See https://github.com/vlsi/vlsi-release-plugins#checksum-dependency-plugin
Description
This PR adds PGP-based verification for the dependencies.
I don't remove
gradle-witness.jar
yet, however it becomes outdated, and I can remove that if you like.Motivation and Context
gradle-witness
is cool, however it has inherent issues (like inability to verify plugins, lack of support forjava-library
, inability to verify PGP checksums).So I've implemented
checksum-dependency-plugin
:java-library
plugin is supported).checksum-dependency-plugin
intercepts detached configurations as well (e.g. the ones that are created on demand)How Has This Been Tested?
Technically speaking it is build-only change, so I don't think extra tests need to be added
Types of changes