keyring-updater.sh 872 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/sh

# (C) 2018 Francesco Bonanno <mibofra@parrotsec.org> , little changes for parrot arm rootfs tarballs.

## Keyring updater

set -e

mkdir keyring
cd keyring
Francesco Bonanno's avatar
Francesco Bonanno committed
11 12
wget -r -np --tries=10 -A .deb "http://deb.parrotsec.org/parrot/pool/main/p/parrot-archive-keyring/"
ar x deb.parrotsec.org/parrot/pool/main/p/parrot-archive-keyring/parrot-archive-keyring*.deb data.tar.xz
13 14 15 16 17 18
tar xf data.tar.xz ./usr/share/keyrings/parrot-archive-keyring.gpg
cp usr/share/keyrings/parrot-archive-keyring.gpg ../customization_headless/archives/parrot.key.chroot
cp usr/share/keyrings/parrot-archive-keyring.gpg ../customization_headless/archives/parrot.key.binary
cp usr/share/keyrings/parrot-archive-keyring.gpg ../customization_standard/archives/parrot.key.chroot
cp usr/share/keyrings/parrot-archive-keyring.gpg ../customization_standard/archives/parrot.key.binary
cd .. && rm -rf keyring