tagatac / bagoup

Mac OS Messages export
GNU Affero General Public License v3.0
72 stars 4 forks source link

Fix Google 2FA code attribute bodies #61

Closed tagatac closed 4 months ago

tagatac commented 4 months ago

What is changing: Make the attributedbody regex more general to catch multiline attributes with values like "G-123456".

Why this change is being made: Google's 2FA codes include letters, hyphens, and double quotes.

Related issue(s): Fixes #60

Follow-up changes needed: None

Is the change completely covered by unit tests? If not, why not?: Yes

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.25%. Comparing base (9529de9) to head (0577a51).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #61 +/- ## ======================================= Coverage 93.25% 93.25% ======================================= Files 14 14 Lines 786 786 ======================================= Hits 733 733 Misses 49 49 Partials 4 4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.