From 53ed28dff80d3e9644f5fd99fcf3e09e7817fef4 Mon Sep 17 00:00:00 2001 From: Tim White Date: Tue, 11 Oct 2022 18:51:49 +0800 Subject: [PATCH] Stop using apt-key (#17) using the signed-by keys instead of the less secure apt-key or trusted.gpg.d --- docs/getting-started/installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 1541c985..a4fda525 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -15,8 +15,8 @@ tags: ```bash sudo apt-get update sudo apt-get install ca-certificates curl gnupg -y - curl -L https://pkgs.wiretrustee.com/debian/public.key | sudo apt-key add - - echo 'deb https://pkgs.wiretrustee.com/debian stable main' | sudo tee /etc/apt/sources.list.d/wiretrustee.list + curl -sSL https://pkgs.wiretrustee.com/debian/public.key | sudo gpg --dearmor --output /usr/share/keyrings/wiretrustee-archive-keyring.gpg + echo 'deb [signed-by=/usr/share/keyrings/wiretrustee-archive-keyring.gpg] https://pkgs.wiretrustee.com/debian stable main' | sudo tee /etc/apt/sources.list.d/wiretrustee.list ``` 2. Update APT's cache @@ -233,4 +233,4 @@ See [Docker example](examples/netbird-docker.md) for details. netbird up --management-url https:/// ``` - To override it see the solution #1 above. \ No newline at end of file + To override it see the solution #1 above.