Page MenuHomePhabricator

[CommCoreModule] Remove `userID` argument from `initializeCryptoAccount(...)`
AbandonedPublic

Authored by atul on Jan 5 2023, 12:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 9:07 AM
Unknown Object (File)
Sun, Apr 28, 9:07 AM
Unknown Object (File)
Sun, Apr 28, 9:07 AM
Unknown Object (File)
Sun, Apr 28, 9:03 AM
Unknown Object (File)
Sun, Apr 28, 8:20 AM
Unknown Object (File)
Tue, Apr 2, 3:44 AM
Unknown Object (File)
Tue, Apr 2, 12:13 AM
Unknown Object (File)
Tue, Apr 2, 12:12 AM
Subscribers

Details

Summary
Test Plan

Logged return value of initializeCryptoAccount(...) and getUserPublicKey(...) and things remain as expected.

Also went through native SIWE flow and observed that public key was properly stored in the serverDB cookies table.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Jan 5 2023, 12:25 AM
This revision is now accepted and ready to land.Jan 5 2023, 9:18 AM

This change broke the CryptoTests (which should be added to Buildkite)

This revision is now accepted and ready to land.Jan 9 2023, 11:10 AM

We still need to do this, don't we?

It looks like this is handled by D6780 now, and @marcin confirmed that it does not break XCode tests (which I assume includes CryptoTests?)