Skip to content

Conversation

cpaelzer
Copy link
Collaborator

Description

For a long time everyone has done a lot on their own to keep PGP
keys safe, and to be fair many already do what I now suggest to
officially recommend.
But to step up the integrity of the project we need to start somewhere
and here that is by outlining clear recommendations that can
become deeply tested, documented and eventually mandatory.

Related issue

Well the continuous uncertainty of how to set up keys right and what to do to keep them safe - not an issue tracked here but an issue for sure :-/

Checklist

  • [y] I have read and followed the Ubuntu Project contributing guide
  • [n/a] My pull request is linked to an existing issue (if applicable)
  • [y] I have tested my changes, and they work as expected (that is why it does not yet come with a how to use it, that needs me and others to exercise and write it up)

Additional notes (optional)

I expect that there will be various personal preferences or "but hey you can't enforce" concerns, but you know what.
That is why this is a recommendation for now which still already gets us ahead of the bad former state and hence I'd ask to not drown in bikeshedding or what-if questions. Let us make this a guide that helps everyone to do better and define a suggested standard setup we know to work well.

@s-makin / @rkratky - I'm happy about your review, but please do not land this immediately. After a first round of feedback and polish by close peers I'd want to reach out further to get more feedback and acknowledgement before we land it. I'd let you know when I feel we are ready.

@athos-ribeiro
Copy link
Collaborator

LGTM. Thanks!

@cpaelzer cpaelzer force-pushed the pgp-add-key-storage-recommendations branch from f9a0133 to 8d810f1 Compare September 17, 2025 10:46
@cpaelzer
Copy link
Collaborator Author

FYI about recent updates

Thank you all for your reviews!

@cpaelzer
Copy link
Collaborator Author

FYI I pinged the TB requesting what they think it and expect to hint at this PR on ubuntu-devel in a week or so.
Which means the people that found it by being curious or those I explicitly pinged about it have another week or so to help me to make it even better before this further outreach happens :-)

Copy link
Collaborator

@bdrung bdrung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding those recommendations look good to me.

cpaelzer and others added 13 commits September 24, 2025 08:35
Currently the setup of GPG keys, the definition of a signature and
a signing key as well as their usage for an upload is independent.
This is due to coming from different sources, but consuming that as
someone new to the project is quite hard.

Allow readers to find one from the other by extending their
description and linking between them.
For a long time everyone has done a lot on their own to keep PGP
keys safe, and to be fair many already do what I now suggest to
officially recommend.
But to step up the integrity of the project we need to start somewhere
and here that is by outlining clear recommendations that can
become deeply tested, documented and eventually mandatory.

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Co-authored-by: JP Meijers <jp.meijers@canonical.com>
Co-authored-by: Luci Stanescu <luci@cnix.ro>
Suggested-by: Edoardo Canepa <edoardo.canepa@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Suggested-by: Luci Stanescu <luci.stanescu@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Suggested-by: Luci Stanescu <luci.stanescu@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Suggested-by: Luci Stanescu <luci.stanescu@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Suggested-by: Luci Stanescu <luci.stanescu@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Suggested-by: Luci Stanescu <luci.stanescu@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Suggested-by: Luci Stanescu <luci.stanescu@canonical.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
It is not entirely self-explanatory add a link to help

Suggested-by: Benjamin Drung <bdrung@ubuntu.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
The sentence was not really well readable before.

Suggested-by: Benjamin Drung <bdrung@ubuntu.com>
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
@cpaelzer cpaelzer force-pushed the pgp-add-key-storage-recommendations branch from 8d810f1 to 2b4647d Compare September 24, 2025 06:44
@cpaelzer
Copy link
Collaborator Author

Recent updates

  • Rebased to latest head
  • Added further suggestions - thanks @bdrung

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants