Skip to content
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

pybridge: Improve beiboot error reporting for fatal login failures #19859

Merged
merged 2 commits into from
Mar 21, 2024

Commits on Mar 21, 2024

  1. pybridge: Clarify beiboot AuthorizeResponder messages

    This does not just handle password prompts, but anything SSH throws at
    us, like host key verification or 2FA.
    martinpitt committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    781a328 View commit details
    Browse the repository at this point in the history
  2. pybridge: Improve beiboot error reporting for fatal login failures

    After all SSH authentication attemps fail, e.g. entering the wrong
    password three times, ferny throws an InteractionError. Merely exiting
    cockpit-beiboot gets interpreted as "Internal error" which is unfriendly.
    
    Ferny recognizes the most common errors, like DNS resolution and and
    authentication failure. Use that API to convert them to proper cockpit
    protocol error codes, so that they get presented and translated properly.
    martinpitt committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    6bd679a View commit details
    Browse the repository at this point in the history