From 7f575e62844cacaa3e1548d7021e222f22da9b6c Mon Sep 17 00:00:00 2001 From: moltenbit Date: Thu, 5 Mar 2026 13:18:51 +0100 Subject: [PATCH] Revise Lynis installation commands for Debian Updated installation instructions for Lynis on Debian systems to use GPG keyrings. --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 355a2cd..2dbd40d 100644 --- a/README.md +++ b/README.md @@ -3029,11 +3029,12 @@ From [https://cisofy.com/lynis/](https://cisofy.com/lynis/): On Debian based systems, using CISOFY's community software repository: ``` bash - sudo apt install apt-transport-https ca-certificates host - sudo wget -O - https://packages.cisofy.com/keys/cisofy-software-public.key | sudo apt-key add - - sudo echo "deb https://packages.cisofy.com/community/lynis/deb/ stable main" | sudo tee /etc/apt/sources.list.d/cisofy-lynis.list - sudo apt update - sudo apt install lynis host + sudo apt install ca-certificates host + sudo mkdir -p /etc/apt/keyrings + wget -O - https://packages.cisofy.com/keys/cisofy-software-public.key | sudo gpg --dearmor -o /etc/apt/keyrings/cisofy-lynis.gpg + echo "deb [signed-by=/etc/apt/keyrings/cisofy-lynis.gpg] https://packages.cisofy.com/community/lynis/deb/ stable main" | sudo tee /etc/apt/sources.list.d/cisofy-lynis.list + sudo apt update + sudo apt install lynis ``` 1. Update it: