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
Unknown Object (File)
Thu, Sep 26, 10:08 AM
Unknown Object (File)
Fri, Sep 13, 11:51 AM
Unknown Object (File)
Fri, Sep 13, 11:51 AM
Unknown Object (File)
Fri, Sep 13, 11:50 AM
Unknown Object (File)
Fri, Sep 13, 11:50 AM
Unknown Object (File)
Fri, Sep 13, 11:47 AM
Unknown Object (File)
Aug 18 2024, 12:24 AM
Unknown Object (File)
Aug 11 2024, 7:08 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.