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

Trusted key adding / removal via updates #9

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

kristapsk
Copy link
Member

Now after new updates are pulled from git, contents of keys directory is analyzed. Any keys not present there anymore will be deleted from GPG keychain and any new keys will be added.

Resolves #4.

@kristapsk kristapsk mentioned this pull request Oct 22, 2024
@@ -0,0 +1,26 @@
#!/usr/bin/env bash
Copy link
Contributor

Choose a reason for hiding this comment

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

i'm not sure bash is always present on the system. when i started with a minimal version, had only sh and dash. the latter is usually aliased to "bash". would recommend to switch to /bin/sh like in other scripts.

Copy link
Member Author

Choose a reason for hiding this comment

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

On current image used there is bash. Will check this with fresh Void image. Then need to double check it works there, as I have tested this only with bash currently.

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

Successfully merging this pull request may close these issues.

automate trusted keys management
2 participants