Skip to content

Deploy RC 334 to Prod#9626

Closed
aduth wants to merge 12 commits intostages/prodfrom
stages/rc-2023-11-21
Closed

Deploy RC 334 to Prod#9626
aduth wants to merge 12 commits intostages/prodfrom
stages/rc-2023-11-21

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Nov 20, 2023

User-Facing Improvements

  • Webauthn: Prevent duplicate F/T setup on second MFA prompt (#9587)

Internal

  • Analytics: Add analytics property for WebAuthn sign-in frontend error (#9611)
  • Analytics: Adjust format of analytics logging to improve querying support (#9572)
  • Code Quality: Move error messages for WebAuthn verification to form class (#9613)
  • Code Quality: Remove unused code related to MFA selection presenters (#9612)
  • Components: Use consistent design system component for icon list (#9555)
  • Pending and active profile: The active profile PII is fetched with the PII cacher when a user with a broken personal key on their active profile signs in. (#9601)
  • Source code: Clean up unused error tracking code (#9576)
  • Testing: Add AAMVA test script covered by specs (#9608)
  • User suspension: Add RISC events for user suspension (#9594)
  • tech debt: Break up MFA presenter class for phone (#9560)

jmhooper and others added 12 commits November 16, 2023 08:10
…ionController` (#9602)

The `PersonalKeyVerificationController` is used to verify a personal key as an MFA method and allow a user to sign in. When this is done a new personal key is issued.

This controller had code for re-encrypting the users profile with the newly issued personal key. However, a user with an active profile was never able to reach this path. The `check_personal_key_enabled` calls `TwoFactorAuthentication::PersonalKeyPolicy#enabled?`. This method returns false if the user has any profiles.

Since this code path is unreachable this commit removes it.

I was not able to find any tests covering this re-encryption behavior.

[skip changelog]
…nt (#9594)

* LG-11573: Add RISC events for account suspension, account reinstatement

changelog: Internal, User suspension, Add RISC events for user suspension

* feedback

* feedback

* feedback name changed
…key (#9601)

In #9509 we added the ability to specify which profile to fetch PII from when reading PII from the session.

This commit uses the active profiles PII when encrypting recovery PII for the active profile when the active profile has a broken personal key.

changelog: Internal, Pending and active profile, The active profile PII is fetched with the PII cacher when a user with a broken personal key on their active profile signs in.
changelog: Internal, Analytics, Adjust format of analytics logging to improve querying support
* Remove Tracker#parse_failure_reason
**Why**: Simplifies codebase

* Remove failure_reason entirely
**Why**: Inconsitent structure, and completely unused

* Remove some more unused fake tracker code

changelog: Internal, Source code, Clean up unused error tracking code
* Support tag options for IconListItemComponent

* Use IconListComponent for requested attributes

changelog: Internal, Components, Use consistent design system component for icon list

* Use ButtonComponent for auth confirmation

* Remove seemingly-unnecessary assertion content scoping
- Require optparse, test it
- Use pretty-printing

changelog: Internal, Testing, Add AAMVA test script covered by specs
…nd MFA prompt (#9587)

* changelog: User-Facing Improvements, Webauthn, Prevent duplicate F/T setup on second MFA prompt

* add spec coverage for platform auth redirect

* move test to a function

* move conditional to before_action

* clean up validate platform authenticator method
#9560)

* changelog: Internal, tech debt, Break up MFA presenter class for phone

* split phone, voice, and sms presenter classes up

* add tests cases for sign_in and set_up phone presenter class

* split setup signin presenter spec for voice and sms

* lint fix

* remove old phone selection presenter spec

* rename phone presenter in spec

* remove unneeded configuration variable, leverage user for type method

* remove info method from phone sub classes

* update options presenter spec with newly split classes

* merge sms and voice presenters

* revise specs according to merged classes

* remove deprecated spec and lint fix

* change info to switch and fix regression with disabled? method

* lint fix

* fix spec

* remove deprecated translations from setup presenter

* move reader :method to phone sign in presenter

* fix lint

* fix lint

* clean up selection presenter class

* remove unneeded configuration setting

* remove configuration from set up presenter spec

* add sms and voice outage spec, standardize spec syntax

* clarify some syntax
changelog: Internal, Code Quality, Move error messages for WebAuthn verification to form class
* Add analytics property for WebAuthn sign-in frontend error

changelog: Internal, Analytics, Add analytics property for WebAuthn sign-in frontend error

* Document frontend_error
* Update missed references to SignIn base selection presenter

* Remove unused SelectionPresenter

* Swap base presenters to raising NotImplementedError

* Swap phone method comparison to use symbol

Consistency with logic elsewhere in class

* Raise on missing type method in base presenter classes

* Consolidate presenter classes to define only type method

* Rename phone selection presenter method to delivery_method

* Add changelog

changelog: Internal, Code Quality, Remove unused code related to MFA selection presenters

* Update call sites to use new delivery_method constructor argument

* Use setup-specific string for WebAuthn setup presenter
@aduth
Copy link
Contributor Author

aduth commented Nov 20, 2023

Going to revise our deployment schedule this week and cut a new branch later today.

See Slack discussion: https://gsa-tts.slack.com/archives/C0NGESUN5/p1700485455953199

@aduth aduth closed this Nov 20, 2023
@aduth aduth deleted the stages/rc-2023-11-21 branch November 20, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants