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

Fix tsh logout with broken key dir #32351

Merged
merged 3 commits into from Sep 22, 2023
Merged

Conversation

Joerger
Copy link
Contributor

@Joerger Joerger commented Sep 21, 2023

This PR fixes tsh logout when there are issues with the user's key dir, such as:

  • mismatched public/private key
  • missing public/private key

This fixes logout behavior with Hardware Key support, which prevents users from logging out if they edit their PIV keys with things like ykman piv reset or ykman piv keys generate. With users having the option to customize their slots with #31732, this UX fix is more important.

@github-actions github-actions bot added size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Sep 21, 2023
@Joerger Joerger added this pull request to the merge queue Sep 22, 2023
Merged via the queue into master with commit adb4194 Sep 22, 2023
28 checks passed
@Joerger Joerger deleted the joerger/fix-hardwarekey-logout branch September 22, 2023 18:05
@public-teleport-github-review-bot

@Joerger See the table below for backport results.

Branch Result
branch/v11 Failed
branch/v12 Failed
branch/v13 Failed
branch/v14 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v12 backport/branch/v13 backport/branch/v14 size/md 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.

None yet

3 participants