GPG Verification Failure (NO_PUBKEY) on Ubuntu 26.04 due to Key Rotation Mismatch
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- bash
- Área
- devops
Línea de trabajo
Lee las líneas 183-191 de installer.sh, centrándote en la selección de claves basada en la versión y en la redirección de gpg --dearmor. Verifica que el conjunto de claves conserve tanto microsoft.asc como microsoft-2025.asc y, a continuación, ejecuta la actualización del repositorio de Edge en Ubuntu 26.04; se considera hecho cuando apt-get update ya no informa de NO_PUBKEY EB3E94ADBE1229CF.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The installer.sh script (Release 2026-04-23) fails on Ubuntu 26.04 "Resolute Raccoon" when attempting to install Microsoft Edge. While the script correctly identifies 26.04 and imports the new microsoft-2025.asc key, the Microsoft Edge repository is still signed with the legacy microsoft.asc key. Because the script overwrites the keyring with only the version-specific key, the subsequent apt-get update fails because the public key for the Edge repository is unavailable.
Error log:
W: GPG error: https://packages.microsoft.com/repos/edge stable InRelease:
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY EB3E94ADBE1229CF
E: The repository 'https://packages.microsoft.com/repos/edge stable InRelease' is not signed.
Root CauseLine 183-187: The script uses dpkg --compare-versions to select either the 2025 key or the legacy key. Line 191: The script uses gpg --dearmor > "$HOME/microsoft.gpg", which replaces any existing keys in the temporary file rather than appending them. Result: On Ubuntu 26.04, the legacy key (required by the Edge repo) is missing from /usr/share/keyrings/microsoft.gpg, causing the installation to exit with status 100. Suggested FixModify the key import logic to merge both keys into the keyring during the transition period, or ensure the Edge repository enrollment includes the legacy key explicitly.
Example:
Import both keys to ensure compatibility with legacy-signed repos (Edge) and new repos (Intune)
curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > "$HOME/microsoft.gpg"
curl -fsSL https://packages.microsoft.com/keys/microsoft-2025.asc | gpg --dearmor >> "$HOME/microsoft.gpg"
- Lenguaje dominante
- Shell
- Estrellas
- 1.1k
- Forks
- 306
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/shell-intune-samples
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
microsoft/shell-intune-samples#266 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
microsoft/shell-intune-samples#250 · 1 comentario ·
-
Suppport Fedora Linux 44Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
microsoft/shell-intune-samples#300 · 5 comentarios · 1 reacción ·
-
Something went wrong [4ulu5]Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
Todos los issues de microsoft/shell-intune-samples
Issues similares
-
area: compat area: parsing bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
reubeno/brush#1526 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Micke-K/IntuneManagement#441 ·
-
review-2026-10 Trad En
Dificultad 2/5 Medio día Aptitud para principiantes 70/100
zigbeefordomoticz/wiki#302 ·
-
Change from TAP TSI to TEL TSIAbiertorefactoring
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
UnionInternationalCheminsdeFer/OSDM#1647 ·
Los mantenedores suelen responder en 1 día
-
Add dependabotAbiertofeat
Dificultad 2/5 Menos de una hora Aptitud para principiantes 72/100
open-nudge/opentemplate#204 ·
Los mantenedores suelen responder en 1 día