Skip to content

update user cert request proto#21197

Merged
GavinFrazar merged 1 commit into
masterfrom
gavinfrazar/disable-mfa-duration-limit-for-db-access-protos
Feb 8, 2023
Merged

update user cert request proto#21197
GavinFrazar merged 1 commit into
masterfrom
gavinfrazar/disable-mfa-duration-limit-for-db-access-protos

Conversation

@GavinFrazar
Copy link
Copy Markdown
Contributor

@GavinFrazar GavinFrazar commented Feb 3, 2023

Step 2/3 for #20323

This PR updates the protos for user cert requests. I'm adding a request parameter that identifies whether a db local proxy tunnel is requesting single-use certs. This way the mfa session TTL restriction can be skipped when the cert requester will hold the certs in memory as discussed in the RFD (#16739). This way older tsh clients will not have set this flag, and thus will not save certs to disk without the per-session-mfa TTL limit.

TODO

Step 3/3: small change to make local proxy tunnel disable per-session-mfa cert TTL and make tsh db connect use local proxy tunnel when per-session-mfa is in effect.

@github-actions github-actions Bot requested review from atburke and zmb3 February 3, 2023 01:14
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/disable-mfa-duration-limit-for-db-access-protos branch 2 times, most recently from 24fa04d to b050801 Compare February 3, 2023 04:21
@GavinFrazar GavinFrazar changed the base branch from master to gavinfrazar/refactor-tsh-db-local-proxy-logic February 3, 2023 04:21
@GavinFrazar GavinFrazar added database-access Database access related issues and PRs backport/branch/v12 labels Feb 3, 2023
Comment thread api/proto/teleport/legacy/client/proto/authservice.proto Outdated
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/refactor-tsh-db-local-proxy-logic branch from 5829fbd to 8f17573 Compare February 6, 2023 18:41
Base automatically changed from gavinfrazar/refactor-tsh-db-local-proxy-logic to master February 6, 2023 20:11
@GavinFrazar GavinFrazar requested a review from Joerger February 6, 2023 20:15
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/disable-mfa-duration-limit-for-db-access-protos branch from b050801 to 1a73bef Compare February 6, 2023 22:38
* Identify the "requester" of the cert request
@GavinFrazar GavinFrazar force-pushed the gavinfrazar/disable-mfa-duration-limit-for-db-access-protos branch from 9ea751f to 69c7bda Compare February 7, 2023 18:23
@GavinFrazar GavinFrazar requested a review from greedy52 February 7, 2023 21:35
@GavinFrazar GavinFrazar added this pull request to the merge queue Feb 8, 2023
Merged via the queue into master with commit bd5e9cd Feb 8, 2023
@public-teleport-github-review-bot
Copy link
Copy Markdown

@GavinFrazar See the table below for backport results.

Branch Result
branch/v12 Create PR

@GavinFrazar GavinFrazar deleted the gavinfrazar/disable-mfa-duration-limit-for-db-access-protos branch February 8, 2023 18:07
avatus pushed a commit that referenced this pull request Mar 3, 2023
* Identify the "requester" of the cert request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

database-access Database access related issues and PRs size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants