Skip to content

[v13] Remove lib/auth/webauthn dependency from webauthncli#30498

Merged
codingllama merged 4 commits into
branch/v13from
codingllama/webauthn-refactor-v13
Aug 15, 2023
Merged

[v13] Remove lib/auth/webauthn dependency from webauthncli#30498
codingllama merged 4 commits into
branch/v13from
codingllama/webauthn-refactor-v13

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

Backport #29750 (minus the actual lib update), #30377 and #30314 to branch/v13.

Backport a series of recent lib/auth/webauthn refactors, culminating with #30377, for parity with the master branch.

No behavioral changes expected.

* Represent the entirety of protocol within lib/auth/webauthn

* Bump github.com/go-webauthn/webauthn to v0.6.2

* Fixes for v0.6.x: Challenge, RPOrigins

* Bump github.com/go-webauthn/webauthn to v0.7.2

* Document new v0.7.2 fields

* Bump github.com/go-webauthn/webauthn to v0.8.2

* Fixes for v0.8.x: UserEntity.ID

* Bump github.com/go-webauthn/webauthn to v0.8.6

* Let bots update go-webauthn

* Drop support for RP and User icon

* Update generated protos

* Add a brief godoc to cloned types
* Alias `api/types/webauthn` imports to `wanpb`

* Use `webauthnpb` as the default package name

* Move messages.go to webauthntypes/

* Move extensions.go to webauthntypes/

* Move proto.go to webauthntypes/

* nit: Use consistent license style

* Use the `wantypes` alias for webauthntypes

* Use the `wanwin` alias for webauthnwin

* nit: Move winwebauthn.go to webauthnwin.go

* Document package webauthntypes

* Alias types required by e/

* Appease linter

* Add all main types/method to compat.go

* Reinstate spaces on proxy_test.go

* Alias newly-added usages
@github-actions github-actions Bot added backport desktop-access size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Aug 15, 2023
@codingllama
Copy link
Copy Markdown
Contributor Author

I started with #30377 but quickly realized it builds on the go-webauthn PR, so I pulled that in as well.

The result is still trivial, but visual inspection is recommended: there were various small conflicts here and there.

@codingllama codingllama changed the title [v13] Remove lib/auth/webauthn dependency from webauthncli [v13] Remove lib/auth/webauthn dependency from webauthncli Aug 15, 2023
@codingllama
Copy link
Copy Markdown
Contributor Author

FYI, I'm leaving v11 out of this batch of backports. It still runs duo-labs/webauthn and it won't be live for long either, so I don't think the effort is justified now.

@codingllama codingllama added this pull request to the merge queue Aug 15, 2023
Merged via the queue into branch/v13 with commit 8b630a2 Aug 15, 2023
@codingllama codingllama deleted the codingllama/webauthn-refactor-v13 branch August 15, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport desktop-access 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