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

Alias "u2f" to "webauthn" and partially cleanup #10466

Merged
merged 9 commits into from
Feb 23, 2022

Conversation

codingllama
Copy link
Contributor

@codingllama codingllama commented Feb 18, 2022

Alias the "u2f" second factor mode to "webauthn", effectively sunsetting U2F in favor of WebAuthn.

The change effectively disables "U2F mode" server-side, making Teleport use WebAuthn instead. This is in line with our compatibility promise, as Teleport 8.x clients are already WebAuthn-capable (and thus have no problems talking to the cluster).

I have cleaned up a good chunk of U2F references in lib/web and lib/client, plus a few other places. Changes on lib/auth are just the necessary to get the tests back to good standing. There is more work to be done, but this seems enough for a single PR.

#10375

@codingllama codingllama requested a review from kimlisa February 18, 2022 19:00
@codingllama codingllama removed the request for review from gabrielcorado February 18, 2022 19:02
@codingllama codingllama mentioned this pull request Feb 18, 2022
@codingllama codingllama force-pushed the codingllama/u2f-cleanup branch from 32fb955 to 5187d49 Compare February 22, 2022 19:20
@codingllama
Copy link
Contributor Author

Friendly ping @kimlisa @zmb3 ?

Copy link
Collaborator

@zmb3 zmb3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Is there anywhere in the docs where we should mention that U2F is no longer supported and that it's an alias for webauthn now?

lib/client/weblogin.go Outdated Show resolved Hide resolved
@codingllama
Copy link
Contributor Author

LGTM.

Is there anywhere in the docs where we should mention that U2F is no longer supported and that it's an alias for webauthn now?

Definitely, there are some U2F articles we should cleanup, plus we could use a passwordless guide too. It's on my TODO list for the near future - give me a shout if you prefer to have it sooner rather than later.

@codingllama codingllama force-pushed the codingllama/u2f-cleanup branch from 5187d49 to 42c4cd3 Compare February 23, 2022 13:48
@codingllama
Copy link
Contributor Author

Thanks, folks. Merging asap.

@codingllama codingllama enabled auto-merge (squash) February 23, 2022 13:50
@codingllama codingllama merged commit f8b7b33 into master Feb 23, 2022
@codingllama codingllama deleted the codingllama/u2f-cleanup branch February 23, 2022 14:10
codingllama added a commit that referenced this pull request Feb 24, 2022
Follows up on #10466 by removing remaining U2F references, including proto/gRPC
surface and the lib/auth/u2f package itself.

#10375

* Remove U2F from lib/auth/ (1)
* Remove U2F from lib/auth/ (2)
* Remove U2F from lib/auth/ (3)
* Remove U2F from lib/services/
* Remove U2F from tsh mfa add suggestions
* Remove U2F protos
* Update generated protos
* Cleanup a few stragglers
* Remove lib/auth/u2f package
* Fix references to auth.MFAAuthenticateChallenge
* Revert needless lib/auth/password.go change
* Update e/ to ad8fd4a (U2F cleanup)
* Fix stragglers from latest master rebase
* Fix lint and compile failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants