forked from cockpit-project/cockpit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bridge: Implement beiboot superuser handling in bastion mode
Now that beiboot explicitly handles Basic authentication, remember the password for the superuser authorization. Split `SshPeer.transport_control_received()` into the more fine-grained `do_*` handlers. This results in cleaner, more separated, and more robust (no string comparisons any more) code. Note that this doesn't solve cockpit-project#18927 -- the Client still doesn't have a proper UI for handling passwords, and thus doesn't remember it for superuser authentication. This only works in beiboot mode.
- Loading branch information
1 parent
d655d4e
commit 27779ff
Showing
1 changed file
with
23 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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