Skip to content

[v12] Remove lib/auth/webauthn dependency from webauthncli#30509

Merged
codingllama merged 5 commits into
branch/v12from
codingllama/webauthn-refactor-v12
Aug 15, 2023
Merged

[v12] Remove lib/auth/webauthn dependency from webauthncli#30509
codingllama merged 5 commits into
branch/v12from
codingllama/webauthn-refactor-v12

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

Similar to #30498. We've got a few conflicts on f29b6e8, everything else was clean.

@codingllama codingllama force-pushed the codingllama/webauthn-refactor-v12 branch from 02bbe0b to c6ee2fd Compare August 15, 2023 19:05
@codingllama codingllama enabled auto-merge August 15, 2023 19:22
@codingllama codingllama added this pull request to the merge queue Aug 15, 2023
Merged via the queue into branch/v12 with commit 01e8352 Aug 15, 2023
@codingllama codingllama deleted the codingllama/webauthn-refactor-v12 branch August 15, 2023 19:56
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.

3 participants