Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76348

GPG error: http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 Release: The following signatures were invalid: EXPKEYSIG 68818C72E52529D4

    • Type: Icon: Bug Bug
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0 Required
    • Component/s: None
    • None
    • Server Development Platform
    • ALL
    • Hide

      Our script runs

       

      echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" \

      tee /etc/apt/sources.list.d/mongodb-org-4.0.list \
      && apt-key add /mongodb-4.0-ubuntu.asc \
      && apt-get update 

       

      I also downloaded the server-4.0.asc/pub file from here: https://pgp.mongodb.com/ and ran the following locally:

      gpg --show-keys server-4.0.pub

      The output of this command shows the key has expired on April 17th

      gpg --show-keys server-4.0.pub
      pub   rsa4096 2018-04-18 [SC] [expired: 2023-04-17]
            9DA31620334BD75D9DCB49F368818C72E52529D4
      uid                      MongoDB 4.0 Release Signing Key <packaging@mongodb.com>

      Show
      Our script runs   echo "deb [ arch=amd64 ] http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" \ tee /etc/apt/sources.list.d/mongodb-org-4.0.list \ && apt-key add /mongodb-4.0-ubuntu.asc \ && apt-get update    I also downloaded the server-4.0.asc/pub file from here: https://pgp.mongodb.com/ and ran the following locally: gpg --show-keys server-4.0.pub The output of this command shows the key has expired on April 17th gpg --show-keys server-4.0.pub pub   rsa4096 2018-04-18 [SC] [expired: 2023-04-17]       9DA31620334BD75D9DCB49F368818C72E52529D4 uid                      MongoDB 4.0 Release Signing Key <packaging@mongodb.com>

      Hello,

      Our builds started to fail building on April 17th 2023 and started receiving the above error.

      It seems that the public key for mongodb 4 is expired

            Assignee:
            chris.kelly@mongodb.com Chris Kelly
            Reporter:
            okeren@salesforce.com Or Keren
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: