Skip to content

[v14] Return the correct errors to users when an mfa ceremony fails#35750

Merged
rosstimothy merged 1 commit intobranch/v14from
tross/backport-35581/v14
Dec 19, 2023
Merged

[v14] Return the correct errors to users when an mfa ceremony fails#35750
rosstimothy merged 1 commit intobranch/v14from
tross/backport-35581/v14

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented Dec 14, 2023

Backport #35581 to branch/v14

changelog: Prevent tsh from re-authenticating if the mfa ceremony fails during tsh ssh

Errors returned from the mfa prompt are now wrapped to allow them
to be differentiated and acted upon accordingly by callers. No
further processing of the error is required in this change, the code
that examines the errors will already do the right thing.

Fixes #35580.
@rosstimothy rosstimothy force-pushed the tross/backport-35581/v14 branch from ad71434 to ebbe2d5 Compare December 14, 2023 19:45
@rosstimothy rosstimothy marked this pull request as ready for review December 14, 2023 20:38
@github-actions github-actions Bot added size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Dec 14, 2023
@rosstimothy rosstimothy added this pull request to the merge queue Dec 19, 2023
Merged via the queue into branch/v14 with commit 1f9efb8 Dec 19, 2023
@rosstimothy rosstimothy deleted the tross/backport-35581/v14 branch December 19, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants