Importer service fails to start due to missing public key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
Fix Released
|
Critical
|
Unassigned |
Bug Description
The git-ubuntu importer service won't restart because it is running on Xenial and using the ubuntu-keyring package, and the archive now has a signature for which it doesn't have a public key.
http://
gpgv: Signature made Mon Nov 5 10:46:15 2018 UTC
gpgv: using RSA key 3B4FE6ACC0B21F32
gpgv: Good signature from "Ubuntu Archive Automatic Signing Key (2012) <email address hidden>"
gpgv: Signature made Mon Nov 5 10:46:15 2018 UTC
gpgv: using RSA key 871920D1991BC93C
gpgv: Can't check signature: No public key
Related branches
- Server Team CI bot: Approve (continuous-integration)
- Andreas Hasenack: Approve
- Canonical Server: Pending requested
-
Diff: 61 lines (+32/-2)2 files modifiedgitubuntu/integration_test.py (+30/-0)
snap/snapcraft.yaml (+2/-2)
Changed in usd-importer: | |
status: | Triaged → Fix Released |
It'd be nice to be able to tell gpgv that any one verified signature can be considered a successful verification, but I don't see any option to do that.
A workaround might be to embed the ubuntu-keyring package from Cosmic into the snap (along with ubuntu- cloudimage- keyring which is needed due to dependencies). I might be able to hack that into snapcraft.yaml by manually downloading the debs from Launchpad and installing them, or just extracting the keyrings if necessary. Ultimately git-ubuntu only really needs the keyring files from these packages to be made available to it. git-ubuntu already uses the snap-embedded keyrings rather than the system ones.
One caveat is that snapcraft.yaml will need manually updating every time Ubuntu keys are rotated, but this is better than the current situation where key rotations aren't handled at all without keyring SRUs into Xenial.
Would this be acceptable?