Page MenuHomePhabricator

[keyserver] Ignore `primaryIdentityPublicKey` at `login`/`register`/`siwe_auth` endpoints
ClosedPublic

Authored by atul on Feb 27 2023, 3:43 PM.
Tags
None
Referenced Files
F2158162: D6906.id23203.diff
Mon, Jul 1, 3:17 AM
Unknown Object (File)
Sat, Jun 15, 3:17 AM
Unknown Object (File)
Fri, Jun 14, 7:10 PM
Unknown Object (File)
Thu, Jun 13, 7:19 PM
Unknown Object (File)
Tue, Jun 11, 2:46 PM
Unknown Object (File)
May 18 2024, 3:03 PM
Unknown Object (File)
May 12 2024, 6:10 AM
Unknown Object (File)
May 11 2024, 10:31 AM
Subscribers
None

Details

Summary

Remove handling of primaryIdentityPublicKey and stop persisting in public_key column of cookies table.

Test Plan

Can still register/login/SIWE as expected. primaryIdentityPublicKey is still accepted in validators so old clients will continue working.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

keyserver/src/responders/user-responders.js
460–464

We're still going to pull public key from the SIWE statement and compare against the IdentityKeysBlob.primary.ed25519 in subsequent diff.

Using the eslint-disable for now to avoid unnecessary refactoring

atul published this revision for review.Feb 27 2023, 3:44 PM
This revision is now accepted and ready to land.Feb 27 2023, 4:18 PM
This revision was landed with ongoing or failed builds.Feb 27 2023, 4:51 PM
This revision was automatically updated to reflect the committed changes.