Core Update 166: Introduce new 2022 Pakfire key

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2022-03-21 18:56:06 +00:00
parent fa0a7c038c
commit 90f03efea5
5 changed files with 59 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ opt/pakfire/db/rootfiles
#opt/pakfire/pakfire.conf
opt/pakfire/etc/pakfire.conf
opt/pakfire/pakfire-2018.key
opt/pakfire/pakfire-2022.key
#opt/pakfire/lib
opt/pakfire/lib/functions.pl
opt/pakfire/lib/functions.sh

View File

@@ -0,0 +1 @@
../../../common/pakfire

View File

@@ -297,9 +297,10 @@ rm -rvf \
/var/lib/GeoIP
# Delete old 2007 Pakfire key from GPG keyring
export GNUPGHOME="/opt/pakfire/etc/.gnupg"
gpg --batch --yes --delete-keys 179740DC4D8C47DC63C099C74BDE364C64D96617
unset GNUPGHOME
GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --batch --yes --delete-keys 179740DC4D8C47DC63C099C74BDE364C64D96617
# Add new 2022 Pakfire key to GPG keyring
GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --import /opt/pakfire/pakfire-2022.key &>/dev/null
# Stop services
/etc/init.d/ipsec stop