fix(mysql): update GPG key from expired 2023 key to 2025 key

This commit is contained in:
MickLesk
2026-05-18 15:15:53 +02:00
parent d762e6485a
commit f8ad306b9a

View File

@@ -6289,7 +6289,7 @@ function setup_mysql() {
local MYSQL_SUITE="trixie"
msg_info "Debian ${DISTRO_CODENAME} detected → installing MySQL 8.4 LTS"
if ! download_gpg_key "https://repo.mysql.com/RPM-GPG-KEY-mysql-2023" "/etc/apt/keyrings/mysql.gpg" "dearmor"; then
if ! download_gpg_key "https://repo.mysql.com/RPM-GPG-KEY-mysql-2025" "/etc/apt/keyrings/mysql.gpg" "dearmor"; then
msg_error "Failed to import MySQL GPG key"
return 7
fi
@@ -6339,7 +6339,7 @@ EOF
# Setup repository
manage_tool_repository "mysql" "$MYSQL_VERSION" "https://repo.mysql.com/apt/${DISTRO_ID}" \
"https://repo.mysql.com/RPM-GPG-KEY-mysql-2023" || {
"https://repo.mysql.com/RPM-GPG-KEY-mysql-2025" || {
msg_error "Failed to setup MySQL repository"
return 100
}