Page MenuHomePhabricator

[lib] Sanitize Redux `CryptoStore`
ClosedPublic

Authored by atul on Mar 2 2023, 1:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 12, 8:14 PM
Unknown Object (File)
Tue, Jun 11, 2:52 PM
Unknown Object (File)
Mon, Jun 10, 7:56 AM
Unknown Object (File)
May 23 2024, 9:24 AM
Unknown Object (File)
May 13 2024, 10:03 PM
Unknown Object (File)
May 11 2024, 10:38 AM
Unknown Object (File)
May 11 2024, 10:38 AM
Unknown Object (File)
May 4 2024, 2:08 AM
Subscribers
None

Details

Summary

Add keys to keysWithStringsToBeRedacted to properly redact CryptoStore.

Test Plan

Checked Redux dev tools to make sure I got the keys right:

1e261d.png (904×1 px, 354 KB)

Ran sanitizeAction and sanitizeState on the CryptoStore actions and state afterwards and ensured things were as expected:

16485a.png (238×896 px, 62 KB)

c9f274.png (584×704 px, 130 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable