HomePhabricator
Diffusion Comm 423fcb8e9658

[lib] Introduce `isValidPrimaryIdentityPublicKey`

Description

[lib] Introduce isValidPrimaryIdentityPublicKey

Summary:
Going to use this in landing-handler to validate siwe-primary-identity-public-key header value before "injecting" into page.


Depends on D6124

Test Plan: unit tests

Reviewers: ashoat, tomek

Reviewed By: ashoat

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

Details

Provenance
atulAuthored on Dec 30 2022, 6:00 PM
Reviewer
ashoat
Differential Revision
D6125: [lib] Introduce `isValidPrimaryIdentityPublicKey`
Parents
rCOMM1220a5821da4: [native] Generate `primaryIdentityPublicKey` and pass to `landing/SIWE`
Branches
Unknown
Tags
Unknown