Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFix scripted debian repository signing #2721
Comments
marmarek
added
bug
C: builder
P: minor
labels
Mar 21, 2017
marmarek
added this to the Release 3.2 updates milestone
Mar 21, 2017
marmarek
added this to Issues
in Build Infrastructure
May 27, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
marmarek commentedMar 21, 2017
Background
Our infrastructure allow to migrate packages from testing to stable repository using signed comment in updates-status repository. This works well for Fedora repositories, where only packages are signed, but repository metadata not - so migrating a package doesn't need access to a signing key.
For Debian repositories, it's another story - only repository metadata is signed, so both uploading new package and migrating package require access to a signing key.
Current configuration (linked above) give access to a signing key only after uploading build log. The goal of such configuration is to have some trace what was signed, and even if a build environment got compromised, have (public) evidence that it happened.
This goal is achieved only partially:
But this is still better than giving access to a signing key, without enforcing any trace.
Problem
When just moving packages between repositories, nothing is built. In fact, output from
make update-repo-currentis also submitted as a "build log", but when it needs an access to a signing key, the log is still not finished. This means that moving Debian package from testing to stable by a comment in updates-status repository does not work without a manual intervention.