Skip to content

Commit e85a2d4

Browse files
committed
Trust unsigned files so that the 'components' section is empty
This is closer to how it should eventually be. Ideally, all artifacts would be signed and we would solely rely on signature verification.
1 parent 37e451e commit e85a2d4

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

gradle/verification-metadata.xml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22
<verification-metadata xmlns="https://schema.gradle.org/dependency-verification" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://schema.gradle.org/dependency-verification https://schema.gradle.org/dependency-verification/dependency-verification-1.3.xsd">
33
<configuration>
44
<verify-metadata>false</verify-metadata>
5-
<!-- use 'TRUE' instead of 'true' so that Renovate ignores it -->
5+
<!-- use 'TRUE' instead of 'true' so that Renovate ignores it: https://github.com/renovatebot/renovate/discussions/39029 -->
66
<verify-signatures>TRUE</verify-signatures>
77
<keyring-format>armored</keyring-format>
88
<key-servers enabled="false"/>
99
<trusted-artifacts>
1010
<trust file=".*-javadoc[.]jar" regex="true"/>
1111
<trust file=".*-sources[.]jar" regex="true"/>
1212
<trust file="^gradle-\d+\.\d+(?:\.\d+)?(?:-(?:rc|milestone)-\d+)?-src\.zip$" regex="true"/>
13+
<!-- explicitly trust unsigned artifacts -->
14+
<trust file="asciidoctor-gradle-base-4.0.5.jar"/>
15+
<trust file="asciidoctor-gradle-jvm-4.0.5.jar"/>
1316
</trusted-artifacts>
1417
<trusted-keys>
1518
<!-- BUILD: CONVENTIONS -->
@@ -132,15 +135,5 @@
132135
</trusted-keys>
133136
</configuration>
134137
<components>
135-
<component group="org.asciidoctor" name="asciidoctor-gradle-base" version="4.0.5">
136-
<artifact name="asciidoctor-gradle-base-4.0.5.jar">
137-
<md5 value="64435768c6cb3a803af61ea632f0bd93" origin="Downloaded the file from https://plugins.gradle.org/m2/org/asciidoctor/asciidoctor-gradle-base/4.0.5 and generated the checksum locally" reason="Artifact is not signed"/>
138-
</artifact>
139-
</component>
140-
<component group="org.asciidoctor" name="asciidoctor-gradle-jvm" version="4.0.5">
141-
<artifact name="asciidoctor-gradle-jvm-4.0.5.jar">
142-
<md5 value="46c3fea67502a15834e020f185775c60" origin="Downloaded the file from https://plugins.gradle.org/m2/org/asciidoctor/asciidoctor-gradle-jvm/4.0.5 and generated the checksum locally" reason="Artifact is not signed"/>
143-
</artifact>
144-
</component>
145138
</components>
146139
</verification-metadata>

0 commit comments

Comments
 (0)