Dejan Stojadinović created KAFKA-21630:
------------------------------------------
Summary: Gradle build security hardening: dependency verification
Key: KAFKA-21630
URL: https://issues.apache.org/jira/browse/KAFKA-21630
Project: Kafka
Issue Type: Improvement
Components: build, security
Reporter: Dejan Stojadinović
Assignee: Dejan Stojadinović
{panel:title=(!) Important
note:|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE}
Gradle build security hardening seems like a both important and complicated
subject (that maybe requires KIP ?) so I will try to obtain agreement from at
least one Kafka member for this initiative.
{panel}
(on) {*}Rationale{*}: [https://blog.gradle.org/lets-talk-about-black-october]
*I would start small (with dependency verification); some boundaries:*
#
[https://blog.gradle.org/lets-talk-about-black-october#what-should-you-check-this-week]
{quote}Turn on dependency verification. It checks checksums and signatures of
every artifact, so a tampered plugin fails the build even if TLS was fooled.
{quote}
#
[https://docs.gradle.org/9.9.2/userguide/securing_dependencies.html#sec:disabling-verification]
{quote}Dependency verification can be expensive, or sometimes verification gets
in the way of day-to-day development (frequent dependency upgrades, for
example).
You might want to enable verification on CI servers but not on local machines.
{quote}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)