Skip to content

Conversation

@locus313
Copy link
Owner

@locus313 locus313 commented Aug 30, 2025

This pull request introduces a new configuration file, users.conf, to support flexible and centralized SSH key management for the sync-ssh-keys.sh script. The file provides clear documentation and examples for specifying user SSH key sources, supporting multiple fetching methods, and optional GitHub token configuration.

Configuration and documentation improvements:

  • Added users.conf with detailed comments explaining the configuration format, supported SSH key fetching methods (raw, api, ghuser), and GitHub token usage.
  • Provided example entries in the USER_KEYS associative array to demonstrate fetching keys from a public URL, a private GitHub repository, and a GitHub user profile.
  • Included a configurable CONF_GITHUB_TOKEN variable for API access, with guidance on when it is required.…unctionality. Enhance error handling, add self-update feature, and streamline user key processing.

…unctionality. Enhance error handling, add self-update feature, and streamline user key processing.
…e code readability. Update trap command syntax and clarify user key processing loop.
@locus313 locus313 merged commit 3412528 into main Aug 30, 2025
2 checks passed
@locus313 locus313 deleted the refactor branch August 30, 2025 05:04
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.

2 participants