Skip to content

Commit

Permalink
Moar!
Browse files Browse the repository at this point in the history
  • Loading branch information
maertsen committed Jan 12, 2024
1 parent f373085 commit 4e35be2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/test-scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ case $1 in

echo -e "\nAPT UPDATE SHOULD FAIL TO AUTHENTICATE WITHOUT SIGNED-BY LINE:"
echo "deb [arch=$(dpkg --print-architecture)] https://packages.nlnetlabs.nl/linux/${ID} $(lsb_release -cs) main" > /etc/apt/sources.list.d/nlnetlabs.list
! apt-get update -o Debug::Acquire::gpgv=1 -o Debug::Acquire::https=1 || false
! apt-get update -o Debug::Acquire::gpgv=1 -o Debug::Acquire::http=1 -o Debug::Acquire::https=1 || false

echo -e "\nAND AUTHENTICATE WITH SIGNED-BY LINE:"
. /etc/os-release
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/nlnetlabs-archive-keyring.gpg] https://packages.nlnetlabs.nl/linux/${ID} \
$(lsb_release -cs) main" > /etc/apt/sources.list.d/nlnetlabs.list
apt-get update -o Debug::Acquire::gpgv=1
apt-get update -o Debug::Acquire::gpgv=1 -o Debug::Acquire::https=1

echo -e "\nAND THUS ABLE TO INSTALL ROUTINATOR:"
apt-get install --simulate --yes routinator
Expand Down

0 comments on commit 4e35be2

Please sign in to comment.