HomePhabricator
Diffusion Comm 807b989e5ef9

[lib] Sanitize Redux `CryptoStore`

Tags
None
Referenced Files
F411009: c9f274.png
Mar 2 2023, 2:17 PM
File Not Attached
F411006: 16485a.png
Mar 2 2023, 2:17 PM
File Not Attached
F411003: 1e261d.png
Mar 2 2023, 2:17 PM
File Not Attached
Subscribers
None

Description

[lib] Sanitize Redux CryptoStore

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)

Reviewers: ashoat, tomek, marcin

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D6931

Details

Provenance
atulAuthored on Mar 2 2023, 1:13 PM
Reviewer
ashoat
Differential Revision
D6931: [lib] Sanitize Redux `CryptoStore`
Parents
rCOMMe1ee9c65d196: [web] implement emoji keyboard position into message tooltip
Branches
Unknown
Tags
Unknown