Page MenuHomePhabricator

[lib] Sanitize Redux `CryptoStore`
ClosedPublic

Authored by atul on Mar 2 2023, 1:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 12, 5:05 PM
Unknown Object (File)
Thu, Jan 9, 8:55 PM
Unknown Object (File)
Thu, Jan 9, 8:55 PM
Unknown Object (File)
Thu, Jan 9, 11:48 AM
Unknown Object (File)
Wed, Jan 8, 12:55 PM
Unknown Object (File)
Tue, Jan 7, 11:06 PM
Unknown Object (File)
Tue, Jan 7, 6:47 PM
Unknown Object (File)
Tue, Jan 7, 6:47 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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage