[SERVER-38773] Invalid/Expired Apt Package Signature Created: 26/Dec/18  Updated: 26/Dec/18  Resolved: 26/Dec/18

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.6 Required
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Karl Wilbur Assignee: Cristopher Stauffer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

On Ubuntu 18.04, with MongoDB 3.6 installed, run:
```
sudo apt update
```
 

The contents of my `/etc/apt/sources.list.d/mongodb-org-3.6.list` is:
```
deb [arch=amd64,arm64] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse
```

Participants:

 Description   

While running `apt update`, I get this message:
```
Err:22 https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 Release.gpg
The following signatures were invalid: EXPKEYSIG 58712A2291FA4AD5 MongoDB 3.6 Release Signing Key <packaging@mongodb.com>
```

I've searched through the current issues and don't see this covered anywhere. I also cannot see where/how to properly report this. I know that it's not a bug with the core server, but I cannot find where to create an issue for the package maintainers. I did send an email to packaging@mongodb.com.

 



 Comments   
Comment by Ramon Fernandez Marina [ 26/Dec/18 ]

Thanks for the update karlwilbur; closing this ticket now.

Comment by Karl Wilbur [ 26/Dec/18 ]

OK, things are working again. Thanks!

Comment by Karl Wilbur [ 26/Dec/18 ]

I was able to re-import the key using:
```
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
```

Comment by Karl Wilbur [ 26/Dec/18 ]

I've tried refreshing the key from a key server, but get "no data":
```
$ gpg --keyserver hkp://keys.gnupg.net --recv-key 58712A2291FA4AD5
gpg: keyserver receive failed: No data
```

Comment by Cristopher Stauffer [ 26/Dec/18 ]

Karl,

Can you try re-importing the keys here (See Step 1):

https://docs.mongodb.com/v3.6/tutorial/install-mongodb-on-ubuntu/

Generated at Thu Feb 08 04:49:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.