ecdye / zram-config

A complete zram-config utility for swap, directories, and logs to reduce SD, NAND and eMMC block wear.
MIT License
412 stars 53 forks source link

gpg Can't check signature: No public key A2A3BF1A7D8D7AD47E939274B13E6AF0E31D89F8 #85

Closed MaxPeal closed 2 years ago

MaxPeal commented 2 years ago

the gpg Signature public key is missing.

MaxPeal commented 2 years ago
#!/bin/bash
set -Eeuo pipefail
#set -u pipefail
export PROG_KEYS=A2A3BF1A7D8D7AD47E939274B13E6AF0E31D89F8
export PROG_VERSION=1.4.0
export PROG_URL=https://github.com/ecdye/zram-config/releases/download/v"$PROG_VERSION"/zram-config-v"$PROG_VERSION".tar.lz
export PROG_SRC_DIR=/usr/src/zram-config
    tarball="$(basename "$PROG_URL")"; \
    wget -O "$tarball.asc" "$PROG_URL.asc"; \
    wget -O "$tarball" "$PROG_URL" --progress=dot:giga; \
    \
    export GNUPGHOME="$(mktemp -d)"; \
    for key in $PROG_KEYS; do \
        gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; \
    done; \
    gpg --batch --verify "$tarball.asc" "$tarball"; \
    gpgconf --kill all; \
    rm -rf "$GNUPGHOME"; \
    \
    mkdir "$PROG_SRC_DIR"; \
    tar -xf "$tarball" -C "$PROG_SRC_DIR" --strip-components=1; \
    rm "$tarball" "$tarball.asc";
ecdye commented 2 years ago

No it is not, try using https://keys.openpgp.org/ as your key server.