Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

New APT (DEB) repo signature is invalid

Aperta
#3,863 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
debian, docker
Ambito
release, security

Direzione di ricerca

Inizia con il Dockerfile fornito sull’immagine basata su Debian trixie e riproduci il malfunzionamento con apt-get update. Ispeziona la chiave del repository APT di Cloud Foundry e i metadati di firma coinvolti nel comando; il lavoro è completato quando la firma del repository viene convalidata e cf8-cli viene installato correttamente senza l’errore relativo alla chiave scaduta.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Please fill out the issue checklist below and provide ALL the requested information.

  • I reviewed open and closed github issues that may be related to my problem.
  • I tried updating to the latest version of the CF CLI to see if it fixed my problem.
  • I attempted to run the command with CF_TRACE=1 to help debug the issue.
  • I am reporting a bug that others will be able to reproduce.

Describe the bug and the command you saw an issue with

I am trying to install cf8-cli from the apt repository:

FROM "node:24.21.0-trixie-slim"

RUN apt-get update \
    && apt-get install -y --no-install-recommends curl ca-certificates gnupg \
    && curl --silent --location https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key \
    | gpg --dearmor -o /etc/apt/trusted.gpg.d/cloudfoundry-cli.gpg \
    && echo "deb https://packages.cloudfoundry.org/debian stable main" | tee /etc/apt/sources.list.d/cloudfoundry-cli.list \
    && apt-get update \
    && apt-get install --no-install-recommends --assume-yes cf8-cli \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

What happened

#7 2.099   Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on C19C04748BF33B2E17863557172B5989FCD21EF8 is bad:            The primary key is not live   because: Expired on 2020-09-12T18:17:33Z
#7 3.001 Reading package lists...
#7 3.834 W: OpenPGP signature verification failed: https://cf-cli-debian-repo.s3.amazonaws.com/ stable InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on C19C04748BF33B2E17863557172B5989FCD21EF8 is bad:            The primary key is not live   because: Expired on 2020-09-12T18:17:33Z
#7 3.834 E: The repository 'https://packages.cloudfoundry.org/debian stable InRelease' is not signed.

Expected behavior
I'd expect the signature to be valid so the package can be installed.

Exact Steps To Reproduce
see above

Provide more context

  • platform and shell details ( e.g. Mac OS X 10.11 iTerm): Docker (trixie-based), without cache

Seems it's about one year after the last time it expired: #3579

Lingua principale
Go
Stelle
1.9k
Fork
990
Merge medio
1g 7h
PR unite (30g)
8

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cloudfoundry/cli

Tutte le issue di cloudfoundry/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.