Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provides a concrete bootstrap workflow for #236 using agenix-rekey's existing generator options. The reusable example defines a random token and an Ed25519 key generator with a public-key sidecar, and works with NixOS and Home Manager. The guide covers missing ciphertext, administrator and target identities, separate rekey output per host, repeat runs, and explicit Git/deployment steps.
Validation: the pinned extension generates real encrypted secrets from the example in both module systems; the test decrypts them, verifies token size and the SSH public/private pair, and confirms a repeat run preserves the ciphertext and public key. A separate flake smoke test exercised the documented generate/rekey app paths, evaluated the resulting
age.secrets.api-token.file, and decrypted it with the target host key. All-system evaluation, formatting, and documentation build pass.Addresses #236 through the extension the issue author already uses. This does not add a second generation engine to core agenix or automatic repository pushes; the issue remains open for a decision on whether core-owned options are still wanted.
AI assistance: example, documentation, and tests prepared with Codex. Human review remains required.