Page MenuHomePhabricator

[lib] Sanitize Redux `CryptoStore`
ClosedPublic

Authored by atul on Mar 2 2023, 1:18 PM.
Tags
None
Referenced Files
F3702421: D6931.id23377.diff
Tue, Jan 7, 6:47 PM
F3702420: D6931.id23366.diff
Tue, Jan 7, 6:47 PM
F3702416: D6931.id.diff
Tue, Jan 7, 6:47 PM
F3702408: D6931.diff
Tue, Jan 7, 6:42 PM
Unknown Object (File)
Mon, Jan 6, 7:47 PM
Unknown Object (File)
Oct 28 2024, 11:19 PM
Unknown Object (File)
Oct 28 2024, 11:17 PM
Unknown Object (File)
Oct 20 2024, 3:24 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