Repository navigation
fix(ssh): use account home for authorized keys (takeover of #788) - #808
Merged
Merged
Conversation
Signed-off-by: Danny Ward <[email protected]>
Signed-off-by: Danny Ward <[email protected]> # Conflicts: # tests/evidence/workspace-tests.json
Signed-off-by: Danny Ward <[email protected]>
Signed-off-by: Danny Ward <[email protected]>
Signed-off-by: Danny Ward <[email protected]>
…fter-787 Signed-off-by: Danny Ward <[email protected]>
Signed-off-by: Danny Ward <[email protected]>
Signed-off-by: Danny Ward <[email protected]>
Signed-off-by: Danny Ward <[email protected]>
Signed-off-by: Vladimir Rotariu <[email protected]> # Conflicts: # tests/evidence/workspace-tests.json
This was referenced Nov 18, 2026
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.
Summary
Lands #788 by @dannyward630 (closes #670):
GetAuthorizedKeysandAddAuthorizedKeyuse the account's home directory, open.sshwithO_DIRECTORY | O_NOFOLLOWand openauthorized_keysrelative to that descriptor.I opened this branch because #788 does not allow maintainer edits and main moved twice. It carries the author's commits unchanged, merges main, and sets
tests/evidence/workspace-tests.jsonto 2161 (main's 2160 plus the one test #788 adds). The reviewed code and the approval are on #788 atcb892b6e; merging that head with main and diffing it against this branch shows only the evidence file.Verification
maintainer-merge verify-partonget_authorized_keys_uses_the_fixed_user_helperpassed clean and failed unders/"ssh-list", username/"ssh-add", username/, as recorded on fix(ssh): use account home for authorized keys #788.ci-localruns in the pre-push hook of this branch.