Comment 0 for bug 2060721

Revision history for this message
Julian Andres Klode (juliank) wrote : Promote weak key warnings to errors

[Impact]
APT is currently just warning about keys that it should be rejecting to give Launchpad time to resign PPAs. This needs to be bumped to an error such that the crypto policy is fully implemented and we only trust keys that are still being trusted. #2055193

A warning provides some help right now to third-parties to fix their repositories, but it's not *safe*: A repository could have multiple signing keys and be signed by a good key now, then later, a previous key still in trusted.gpg.d could be revoked and we'd degrade to warnings, which, given that we update in the background automatically, the user may not see.

[Test plan]
The vast regression test suite prevents regression in other components. Additional tests are:

1. (promotion to error) Take a repository that has a weak key warning, upgrade apt and check that it is an error
2. (still valid) Check that the main Ubuntu repositories and/or resigned PPAs work correctly.