Skip to content
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

Create a bot Github profile for nix-community #482

Open
brianmcgee opened this issue Mar 16, 2023 · 2 comments
Open

Create a bot Github profile for nix-community #482

brianmcgee opened this issue Mar 16, 2023 · 2 comments

Comments

@brianmcgee
Copy link

We have a workflow in ethereum.nix that needs to sign commits: nix-community/ethereum.nix#165

Ideally there would be a Github profile for a nix-community account against which gpg keys can be added. If a repository requires signing they would generate a gpg key and set it as a repo secret, then also create a PR against this project to have that GPG key added to the bot profile.

Relevant background:

@brianmcgee
Copy link
Author

Some relevant concerns as pointed out by @Mic92

One issue still. When we have one bot with multiple private keys than each private key would be still recognized as valid...
So that means that if ethereum.nix commits could be still signed from a different's project gnupg keys.

In the short term I'm going to create a bot account just for ethereum.nix. Ideally though there would be a better way of managing this.

Anyone have a better idea?

@zimbatm
Copy link
Member

zimbatm commented Mar 16, 2023

We can automate the creation of bot accounts using Terraform, but essentially it requires one account per repo to be on the safe side.

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

No branches or pull requests

2 participants