Skip to content

Commit 15462f3

Browse files
committed
finally true 2 of 3
1 parent 4cfc64f commit 15462f3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/github/ImpactDevelopment/installer/impact/ImpactVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
package io.github.ImpactDevelopment.installer.impact;
1919

20-
import io.github.ImpactDevelopment.installer.utils.GPG;
2120
import io.github.ImpactDevelopment.installer.Installer;
2221
import io.github.ImpactDevelopment.installer.github.GithubRelease;
22+
import io.github.ImpactDevelopment.installer.utils.GPG;
2323

2424
/**
2525
* A version of Impact that we know about but might not have fetched the actual JSON for yet
@@ -44,7 +44,7 @@ private String jsonFileName() {
4444
public ImpactJsonVersion fetchContents() {
4545
if (fetchedContents == null) {
4646
System.out.println("Verifying GPG signatures on Impact release " + release.tagName);
47-
if (!GPG.verifyRelease(release, jsonFileName(), jsonFileName() + ".asc", sigs -> sigs.size() >= 2 || sigs.contains(GPG.leijurv))) {
47+
if (!GPG.verifyRelease(release, jsonFileName(), jsonFileName() + ".asc", sigs -> sigs.size() >= 2)) {
4848
throw new RuntimeException("Invalid signature on Impact release " + release.tagName);
4949
}
5050
fetchedContents = Installer.gson.fromJson(release.byName(jsonFileName()).get().fetch(), ImpactJsonVersion.class);

0 commit comments

Comments
 (0)