Skip to content

New APT (DEB) repo signature is invalid #3863

Description

@alumni

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions