Skip to content

Commit

Permalink
Restore signed-by in teleport.list
Browse files Browse the repository at this point in the history
Responds to marcoandredinis feedback. Trust only the Teleport-issued
public key when validating Teleport DEB packages.
  • Loading branch information
ptgott committed Dec 24, 2024
1 parent e05849d commit f31f1c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/pages/includes/cloud/install-linux-cloud.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
# Source variables about OS version
$ source /etc/os-release
# Add the Teleport APT repository for cloud.
$ echo "deb https://apt.releases.teleport.dev/${ID?} ${VERSION_CODENAME?} stable/cloud" \
$ echo "deb [signed-by=/etc/apt/trusted.gpg.d/teleport.asc] \
https://apt.releases.teleport.dev/${ID?} ${VERSION_CODENAME?} stable/cloud" \
| sudo tee /etc/apt/sources.list.d/teleport.list > /dev/null
# Provide your Teleport domain to query the latest compatible Teleport version
Expand Down
3 changes: 2 additions & 1 deletion docs/pages/includes/install-linux-ent-self-hosted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ $ sudo curl https://apt.releases.teleport.dev/gpg \
$ source /etc/os-release
# Add the Teleport APT repository for v(=teleport.major_version=). You'll need to update this
# file for each major release of Teleport.
$ echo "deb https://apt.releases.teleport.dev/${ID?} ${VERSION_CODENAME?} stable/v(=teleport.major_version=)" \
$ echo "deb [signed-by=/etc/apt/trusted.gpg.d/teleport.asc] \
https://apt.releases.teleport.dev/${ID?} ${VERSION_CODENAME?} stable/v(=teleport.major_version=)" \
| sudo tee /etc/apt/sources.list.d/teleport.list > /dev/null
$ sudo apt-get update
Expand Down
3 changes: 2 additions & 1 deletion docs/pages/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ repositories.
-o /etc/apt/trusted.gpg.d/teleport.asc
# Add the Teleport APT repository. You'll need to update this file for each
# major release of Teleport.
$ echo "deb https://apt.releases.teleport.dev/${ID?} ${VERSION_CODENAME?} \
$ echo "deb [signed-by=/etc/apt/trusted.gpg.d/teleport.asc] \
https://apt.releases.teleport.dev/${ID?} ${VERSION_CODENAME?} \
${TELEPORT_CHANNEL?}" \
| sudo tee /etc/apt/sources.list.d/teleport.list > /dev/null
Expand Down

0 comments on commit f31f1c2

Please sign in to comment.