-
Notifications
You must be signed in to change notification settings - Fork 1
feat: implement MFA-based sudo approval system #101
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
Merged
junho226
merged 30 commits into
main
from
99-sudo-privilege-verification-and-centralized-management-via-mfa-authentication
Dec 23, 2025
Merged
Changes from 25 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
2af27c6
add auth manager and related changes
a6e2e7e
add test code and fix authmanager
b44eff0
Update cmd/alpamon/command/root.go
hyunwoo-alps 8c8ea5f
Update pkg/runner/auth_manager.go
hyunwoo-alps 2d22993
Fix connection leak in handleSudoRequest by adding explicit unix_conn…
2842fd2
Fix golangci-lint issues: handle error return values and unused fields
1a36799
Fix staticcheck SA1006 by using fmt.Sprintf instead of string concate…
82b8b33
modify socket path directory management
5589152
add local fall back and alpacon_approval.c
c12ee1a
fix mistake
1ba9fd6
Update pkg/runner/pty.go
hyunwoo-alps 8419b0e
Update pkg/runner/auth_manager.go
hyunwoo-alps 8c89095
update build
36d51ae
Merge branch '99-sudo-privilege-verification-and-centralized-manageme…
0ea7abb
Merge remote-tracking branch 'origin' into 99-sudo-privilege-verifica…
junho226 5470e3d
docs: add alpamon-pam as recommended package and update README
junho226 779bf92
Merge remote-tracking branch 'origin' into 99-sudo-privilege-verifica…
junho226 ab7a614
refactor: convert Korean comments to English
junho226 e94ed9a
feat(auth): implement centralized sudo approval via MFA authentication
junho226 d92a672
fix(runner): use Msgf instead of Msg with fmt.Sprintf for proper form…
junho226 79aeaad
fix(runner): replace Err with Str for string error logging
junho226 628ad43
fix(auth): resolve mutex unlock bug and improve connection lifecycle
junho226 4a43682
refactor: standardize is_alpacon_user field naming in auth structs
junho226 8d7dc9b
Merge remote-tracking branch 'origin' into 99-sudo-privilege-verifica…
junho226 828d370
refactor(runner): remove unconditional sudo group addition
junho226 b2a1fae
feat(runner): add ControlClient for server control channel
junho226 90ab531
fix: correct typo in response type (is_alpcon_response -> is_alpacon_…
junho226 25203cb
fix(package): change alpamon-pam dependency from recommends to suggests
junho226 0089a78
fix: address PR review feedback for auth manager
junho226 ea20dfe
Merge remote-tracking branch 'origin' into 99-sudo-privilege-verifica…
junho226 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.