Skip to content

Commit 0b0c060

Browse files
runonce-entries: update Steam GPG key if using old SHA1 key
1 parent 8c9370b commit 0b0c060

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

etc/runonce-entries

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,15 @@ runonce <<"EOF"
5959
fi
6060
EOF
6161

62+
#patch steam signing key to fix debian trixie warning: Policy rejected non-revocation signature (PositiveCertification) requiring second pre-image resistance because: SHA1 is not considered secure since 2026-02-01T00:00:00Z
63+
runonce <<"EOF"
64+
if [[ -f /usr/share/keyrings/steam.gpg ]] && [[ "$(sha1sum /usr/share/keyrings/steam.gpg)" == f8d3c165d2e45083c4d0bf775608c46f479f2443* ]];then
65+
status "Patching steam GPG key..."
66+
wget -O- https://repo.steampowered.com/steam/archive/stable/steam.gpg | sudo_popup tee /usr/share/keyrings/steam.gpg >/dev/null
67+
#sha1sum should now be 4534753e1b86196ccbe11feffe3ed99b22fbf50a
68+
fi
69+
EOF
70+
6271
# remove deprecated apps (only when running in a visible terminal)
6372
case $(ps -o stat= -p $$) in
6473
*+*) # Running in foreground

0 commit comments

Comments
 (0)