Page MenuHomePhabricator

[lib] Sanitize Redux `CryptoStore`
ClosedPublic

Authored by atul on Mar 2 2023, 1:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 21, 3:18 PM
Unknown Object (File)
Sun, Sep 8, 11:05 AM
Unknown Object (File)
Aug 27 2024, 3:49 AM
Unknown Object (File)
Aug 25 2024, 9:52 PM
Unknown Object (File)
Aug 13 2024, 3:46 AM
Unknown Object (File)
Aug 13 2024, 3:46 AM
Unknown Object (File)
Aug 13 2024, 3:46 AM
Unknown Object (File)
Aug 13 2024, 3:43 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