Page MenuHomePhabricator

[lib] Sanitize Redux `CryptoStore`
ClosedPublic

Authored by atul on Mar 2 2023, 1:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 28, 11:19 PM
Unknown Object (File)
Mon, Oct 28, 11:17 PM
Unknown Object (File)
Sun, Oct 20, 3:24 AM
Unknown Object (File)
Sat, Oct 19, 5:02 PM
Unknown Object (File)
Tue, Oct 15, 7:31 PM
Unknown Object (File)
Sep 30 2024, 9:25 PM
Unknown Object (File)
Sep 30 2024, 9:25 PM
Unknown Object (File)
Sep 30 2024, 9:20 PM
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