mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
Stop using apt-key (#17)
using the signed-by keys instead of the less secure apt-key or trusted.gpg.d
This commit is contained in:
@@ -15,8 +15,8 @@ tags:
|
|||||||
```bash
|
```bash
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install ca-certificates curl gnupg -y
|
sudo apt-get install ca-certificates curl gnupg -y
|
||||||
curl -L https://pkgs.wiretrustee.com/debian/public.key | sudo apt-key add -
|
curl -sSL https://pkgs.wiretrustee.com/debian/public.key | sudo gpg --dearmor --output /usr/share/keyrings/wiretrustee-archive-keyring.gpg
|
||||||
echo 'deb https://pkgs.wiretrustee.com/debian stable main' | sudo tee /etc/apt/sources.list.d/wiretrustee.list
|
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
|
2. Update APT's cache
|
||||||
|
|
||||||
@@ -233,4 +233,4 @@ See [Docker example](examples/netbird-docker.md) for details.
|
|||||||
netbird up --management-url https://<CORRECT HOST:PORT>/
|
netbird up --management-url https://<CORRECT HOST:PORT>/
|
||||||
```
|
```
|
||||||
|
|
||||||
To override it see the solution #1 above.
|
To override it see the solution #1 above.
|
||||||
|
|||||||
Reference in New Issue
Block a user