Skip to content

Refactor hardware_key_touch session MFA logic#31663

Merged
Joerger merged 1 commit intomasterfrom
joerger/refactor-hardware-key-mfa-verification
Sep 18, 2023
Merged

Refactor hardware_key_touch session MFA logic#31663
Joerger merged 1 commit intomasterfrom
joerger/refactor-hardware-key-mfa-verification

Conversation

@Joerger
Copy link
Copy Markdown
Contributor

@Joerger Joerger commented Sep 8, 2023

This PR updates identities with the private_key_policy: hardware_key_touch to count as MFA verified, instead of turning off the session-mfa requirements for the identity.

This logic is more straightforward and simplifies the implementation for upcoming additions (private_key_policy: hardware_key_pin | hardware_key_touch_and_pin | web_session, MFA for admin actions).

@github-actions github-actions Bot added database-access Database access related issues and PRs size/sm labels Sep 8, 2023
@Joerger Joerger force-pushed the joerger/refactor-hardware-key-mfa-verification branch from 43ab058 to e9ad1a9 Compare September 12, 2023 00:47
@Joerger Joerger added this pull request to the merge queue Sep 18, 2023
Merged via the queue into master with commit 7a9a987 Sep 18, 2023
@Joerger Joerger deleted the joerger/refactor-hardware-key-mfa-verification branch September 18, 2023 17:05
Joerger added a commit that referenced this pull request Oct 12, 2023
@Joerger Joerger mentioned this pull request Oct 12, 2023
github-merge-queue Bot pushed a commit that referenced this pull request Oct 12, 2023
* Refactor PIV metadata certificate logic (#32250)

* Change PIV metadata cert to be self signed by an ephemeral key so it can be signed without touch/pin.

* Refactor touch prompt logic.

* Prompt user before overwriting non-teleport certificates instead of just returning an error.

* Update RFD and Docs.

* Address CR.

* Export some methods and variables for use in tests.

* Address comments.

* Make Hardware Key unit test interactive (#32235)

* Make yubikey unit test interactive and add to test plan.

* Move yubikey hardware signer method tests to interactive yubikey test.

* Remove hardware key interactive unit test from testplan

* Client check for YubiKey private key touch/pin policies (#32264)

* Preemptively check yubikey private key touch/pin policies on the client side.

* Replace hardware key signer functions with private key methods.

* Refactor overwrite/generate key logic.

* Have hardware_key_touch count towards MFA verification instead of replacing the normal MFA verification flow. (#31663)
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