You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
apt-key is deprecated, workaround for Raspberry Pi OS Trixie Install #17816
I created a simple bash script as a workaround, however I recommend updating the official documentation with an approved workaround by Tailscale (perhaps a better script than mine, if needed). This workaround addresses the security issues that led to apt-key's deprecation by creating a new trusted location for the repo's GPG key that isn't in /etc/apt/trusted.gpg.d/.
We'll update the docs to align with pkgs so that it's at least not using apt-key.
@udf2457 do you have a source showing when /etc/apt/keyrings should be used? I can look into that separately and update both pkgs and the docs with that advice.
The correct way is what @jordanhardee says ... /etc/apt/keyrings and reference in signed-by
I'd say they probably were following best practices to the best of their knowledge, it just happened to be outdated. They probably didn't know about the apt-key deprecation.
Activity
udf2457 commentedon Nov 10, 2025
Just to add to this, the manual installation instructions were also clearly written by someone who has no concern about best practices.
The manual instructions tell you to put keys in
/usr/share/keyrings.They even tell you to create the directory
sudo mkdir -p --mode=0755 /usr/share/keyrings🤦e.g. https://tailscale.com/download/linux/debian-bookworm and https://pkgs.tailscale.com/stable/#debian-trixie
The correct way is what @jordanhardee says ...
/etc/apt/keyringsand reference insigned-byErisa commentedon Nov 10, 2025
We'll update the docs to align with pkgs so that it's at least not using apt-key.
@udf2457 do you have a source showing when
/etc/apt/keyringsshould be used? I can look into that separately and update both pkgs and the docs with that advice.Erisa commentedon Nov 10, 2025
The docs page https://tailscale.com/kb/1627/install-rpi-trixie no longer suggests apt-key
udf2457 commentedon Nov 10, 2025
@Erisa https://wiki.debian.org/DebianRepository/UseThirdParty
jordanhardee commentedon Nov 10, 2025
Thanks Erisa!! Will link to this thread in my repo so people know it's being/ has been addressed. I appreciate you all!
jordanhardee commentedon Nov 11, 2025
I'd say they probably were following best practices to the best of their knowledge, it just happened to be outdated. They probably didn't know about the apt-key deprecation.
udf2457 commentedon Nov 11, 2025
@jordanhardee The deprecation warning was introduced in Debian 11 Bullseye way back in 2021. There have since been two Debian releases.
But anyway. Let's not argue over semantics. I'm glad its finally being addressed.