Gateway 3.16 Linux install: GPG key URL 404s (public_keys has no "316" entry, falls back to legacy key)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 85/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- ruby, yaml
- Domaine
- documentation
Piste de recherche
Commencez par app/_data/products/gateway.yml et app/_includes/install/gateway/linux.html, puis examinez comment le template sélectionne une clé de version et affiche les instructions d’installation de Linux. Ajoutez les données de clé de Gateway 3.16, vérifiez que l’URL générée utilise la clé GPG gateway-316 et déterminez si le build du site peut détecter les entrées de version manquantes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Where
https://developer.konghq.com/gateway/install/#linux → Ubuntu / Debian tabs, Gateway 3.16 (current default).
What is wrong
The GPG key URL rendered for 3.16 returns 404:
curl -1sLf "https://packages.konghq.com/public/gateway-316/gpg.998DFF461A62FF7C.key"
# HTTP 404
998DFF461A62FF7C is the legacy key in app/_data/products/gateway.yml. The public_keys map in that file stops at "315", so app/_includes/install/gateway/linux.html line 1 finds no public_keys["316"] and line 3 falls back to public_keys.legacy.gpg_key.
A user following the page verbatim gets an empty keyring file and apt-get update then fails on the signed-by check. Reported by a customer today.
Verified key IDs for the gateway-316 repo
Taken from the repo's Release.gpg issuer and the Cloudsmith API (/v1/repos/kong/gateway-316/gpg/ and /rsa/):
| Key | ID |
|---|---|
| GPG (deb) | 062FEF769BE6B8D4 |
| RSA (rpm) | ED9BFD14895BAE33 |
https://packages.konghq.com/public/gateway-316/gpg.062FEF769BE6B8D4.key returns 200 and unpacks to Cloudsmith Package (kong/gateway-316).
Fix
Add to public_keys in app/_data/products/gateway.yml:
"316":
rsa_key: ED9BFD14895BAE33
gpg_key: 062FEF769BE6B8D4
Suggest also failing the build (or at least the template) when a release has no public_keys entry, so the legacy fallback cannot silently ship a dead URL for the next release.
- Langage dominant
- Ruby
- Étoiles
- 28
- Forks
- 121
- Merge moyen
- 1 j 4 h
- PR mergées (30 j)
- 290
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Kong/developer.konghq.com
-
internal product:gateway
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
Kong/developer.konghq.com#7301 ·
-
user-reported
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
Kong/developer.konghq.com#7179 ·
-
internal product:ai-gateway
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
Kong/developer.konghq.com#7100 ·
-
Catalog: Agents GA Ouverteinternal product:catalog release-docs
Difficulté 2/5 1-2 jours Accessibilité débutants 72/100
Kong/developer.konghq.com#7068 ·
-
Dev Portal: Pages templates Ouverteinternal product:dev-portal release-docs
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Kong/developer.konghq.com#7066 ·
Toutes les issues de Kong/developer.konghq.com
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
notch8/utk_knapsack#148 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 78/100
Homebrew/homebrew-cask#288729 · 1 commentaire ·
-
Documentation issues Ouverte
Difficulté 2/5 1-2 jours Accessibilité débutants 72/100
-
feature
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
betagouv/acces-cible#722 ·