Skip to content

Scoped WebAuthn: MFAChallengeExtension proto message#36665

Merged
Joerger merged 5 commits intomasterfrom
joerger/scoped-webauthn-proto
Jan 17, 2024
Merged

Scoped WebAuthn: MFAChallengeExtension proto message#36665
Joerger merged 5 commits intomasterfrom
joerger/scoped-webauthn-proto

Conversation

@Joerger
Copy link
Copy Markdown
Contributor

@Joerger Joerger commented Jan 13, 2024

Implements proto file changes for scoped Webauthn challenges as described in RFD 155

@github-actions
Copy link
Copy Markdown
Contributor

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@Joerger Joerger added the no-changelog Indicates that a PR does not require a changelog entry label Jan 13, 2024
@Joerger Joerger requested a review from codingllama January 13, 2024 02:17
@Joerger Joerger changed the title Scoped Webauthn: MFAChallengeExtension proto message Scoped WebAuthn: MFAChallengeExtension proto message Jan 13, 2024
@Joerger Joerger requested a review from rosstimothy January 13, 2024 02:21
Copy link
Copy Markdown
Contributor

@codingllama codingllama left a comment

Choose a reason for hiding this comment

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

Thanks for the separate PR and design changes!

Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
// call [AuthService.IsMFARequired] in the leaf instead of setting this field.
IsMFARequiredRequest MFARequiredCheck = 5 [(gogoproto.jsontag) = "mfa_required_check,omitempty"];
// Extensions are extensions that will be apply to the issued MFA challenge.
// Extensions only apply to webauthn challenges currently. This field is required.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This field is required

Is this true? What about legacy clients?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Right, this will not be required until v16, but v15 clients will be required to pass this in order to be compatible with v16 servers. So any clients with access to this updated proto file are required to pass it. Do you think this is worth spelling out in the proto file comment?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah, I think it won't hurt to say that clients before v15 aren't required to supply the field.

Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
@Joerger Joerger requested a review from codingllama January 16, 2024 18:57
Copy link
Copy Markdown
Contributor

@codingllama codingllama left a comment

Choose a reason for hiding this comment

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

LGTM. Apologies for the delay!

@Joerger Joerger added this pull request to the merge queue Jan 17, 2024
@Joerger Joerger removed this pull request from the merge queue due to a manual request Jan 17, 2024
@Joerger Joerger enabled auto-merge January 17, 2024 18:21
@Joerger Joerger added this pull request to the merge queue Jan 17, 2024
Merged via the queue into master with commit 8815257 Jan 17, 2024
@Joerger Joerger deleted the joerger/scoped-webauthn-proto branch January 17, 2024 18:58
Joerger added a commit that referenced this pull request Jan 17, 2024
* Add mfa challenge extensions to proto file.

* Resolve comments; move new proto messages to separate proto file; nomenclature adjustments.

* Use gogoproto for mfa.proto to interface with authservice.proto.

* Ellaborate on ChallengeExtensions required field comment.
github-merge-queue Bot pushed a commit that referenced this pull request Jan 17, 2024
* Add mfa challenge extensions to proto file.

* Resolve comments; move new proto messages to separate proto file; nomenclature adjustments.

* Use gogoproto for mfa.proto to interface with authservice.proto.

* Ellaborate on ChallengeExtensions required field comment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants