Introduce getPublicKeyFromSIWEStatement(...) to pull public key out of SIWE statement which includes a public key. Will be used on the keyserver to retrieve the public key from the signed SIWE message.
Depends on D6130
Differential D6131
[lib] Introduce `getPublicKeyFromSIWEStatement(...)` atul on Dec 31 2022, 3:14 AM. Authored by Tags None Referenced Files
Subscribers None
Details Introduce getPublicKeyFromSIWEStatement(...) to pull public key out of SIWE statement which includes a public key. Will be used on the keyserver to retrieve the public key from the signed SIWE message. Depends on D6130 included a unit test (will include more later)
Diff Detail
Event TimelineComment Actions Accepting to unblock, but in a less urgent context I would request changes. If you prefer, feel free to create (and link) a follow-up task to address before landing, but I feel strongly that we should just have one RegEx literal with a capture group instead of two separate RegEx literals
Comment Actions Created a follow-up task: https://linear.app/comm/issue/ENG-2624/create-one-siwestatement-regex-literal-w-capture-group-instead-of-two since I'm confident this works for now. I'll read up on capture groups, I haven't used them before.
|