mirror of
https://github.com/FriendlyNeighborhoodShane/MinMicroG
synced 2024-11-05 00:00:46 +00:00
resdl-download.txt: better cert verification
This commit is contained in:
parent
4e4f05e977
commit
6ad032968b
@ -141,7 +141,7 @@ verifycerts() {
|
||||
for repo in $(echo "$stuff_repo" | select_word 1); do
|
||||
[ -f "$tmpdir/repos/$repo.jar" ] || continue;
|
||||
certobject="repo/$repo.cer";
|
||||
unzip -l "$tmpdir/repos/$repo.jar" "META-INF/*" | grep -q "META-INF/MANIFEST.MF" && jarsigner -verify "$tmpdir/repos/$repo.jar" > /dev/null || {
|
||||
unzip -l "$tmpdir/repos/$repo.jar" "META-INF/*" | grep -q "META-INF/.*.RSA" && jarsigner -verify "$tmpdir/repos/$repo.jar" > /dev/null || {
|
||||
echo " !! Verification failed for repo ($repo)";
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user