-
-
Notifications
You must be signed in to change notification settings - Fork 398
Add config key for 'gpgKeys' and allow multiple keyRefs when signing with gpg, fixing Issues #309 and #691 #1479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
… cli args has precedence - aptly-dev#691 adding handling of multiple keyRefs when signing with gpg
… the test just for this)
|
Hey @neolynx , two quick questions:
|
|
Hey @abregar ! thanks for the PR, great work gentlemen 👍
you are right, the pipeline also fails because buster is not installable anymore. it will be removed!
looks good to me ! the command is backward compatible this way, no problems there. however, we should probably allow the same via API calls, also specify one or more keys there. hope this can be done in a backward compatible way as well (maybe separate by comma/space?). please go on, looking forward to merge this ! |
…tibility introducing CSV under same key (gpg-key)
|
Hey @neolynx, with the non-breaking-change requirement for the REST API in mind, I think the only option is to keep the current key name gpg-key but allow CSV values. I’ve made this change in the latest commit, and after rebasing with your pipeline changes, all checks have passed—yay! |
|
looks good otherwise ! 👍 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1479 +/- ##
==========================================
- Coverage 74.86% 74.49% -0.37%
==========================================
Files 159 159
Lines 18438 18476 +38
==========================================
- Hits 13803 13764 -39
- Misses 3489 3565 +76
- Partials 1146 1147 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e4f35c4 to
09313c2
Compare
Fixes #309 and #691
Requirements
All new code should be covered with tests, documentation should be updated. CI should pass.
Description of the Change
This PR introduces support for multiple GPG signing keys in aptly, addressing longstanding requests for multi-signature support in published repositories.
The change was motivated by Debian repository guidelines and our internal requirement to rotate signing keys without interrupting package consumers.
Checklist
AUTHORS