Created
September 20, 2023 23:29
-
-
Save brendenhoffman/ae7dd9c2e694ae09653fcd7317864a1d to your computer and use it in GitHub Desktop.
Benchmark for Pacman gpg speed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
files=(/var/cache/pacman/pkg/*.pkg.tar.zst) | |
i=0 | |
while [ "$i" -lt "$1" ]; do | |
pkg="${files[i]}" | |
gpg --home=/etc/pacman.d/gnupg --verify $pkg.sig $pkg | |
i=$((i + 1)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment