Harry
3cf36728b9
Correctly show new PIN entry after skipping old PIN entry post-registration
...
Co-authored-by: Pete Walters <pete@signal.org>
2024-05-15 10:27:36 -07:00
Harry
3ad0f4c89a
Don't use backup internal registration step in tests
2024-05-14 17:59:52 -05:00
Sasha Weiss
c26ad8a4e5
Add an "inactive linked device" megaphone
2024-04-24 11:28:33 -07:00
Pete Walters
b1c3c14e68
Add dev-only backup restore option for registraion flow.
2024-03-29 19:18:06 -05:00
Harry
2e2368d587
Allow exiting already-started registration flow if already registered
2024-02-16 16:46:10 -08:00
Max Radermacher
d8298b6e8d
Fix code to ensure local profile name is correct
2024-01-23 17:47:27 -06:00
Harry
b17514d333
Remove unused rotateMasterKey param
2024-01-23 14:52:37 -08:00
Sasha Weiss
a3f12e3f55
Reclaim username during registration
2024-01-17 16:59:33 -08:00
Max Radermacher
3f2836733e
Make profile update methods into instance methods
2024-01-09 11:09:14 -06:00
Harry
9891ceb13a
Clean up PreKeyManager to remove twenty thousand layers of abstraction
2023-12-12 13:44:00 -08:00
Harry
b286715d6e
[Atomic device creation/linking 90 day timer] Delete legacy prekey rotation method and usages
2023-11-27 12:27:05 -08:00
Harry
9eb0ad3dde
Delete AccountManager
2023-11-21 12:37:54 -08:00
Harry
9f1c8e3dd0
Refactor AccountManager's finishProvisioningSecondary method
2023-11-21 12:37:00 -08:00
Harry
f392e20de2
Always set master key (falling back to local) when registering
2023-11-20 12:28:22 -08:00
Max Radermacher
600eef4bec
Replace Curve25519Kit with LibSignal
2023-10-31 14:18:22 -05:00
Max Radermacher
fd9c5e8c64
Make isPrimaryDevice available to contact merges
2023-10-23 13:27:25 -05:00
Max Radermacher
59478094ed
Consolidate phone number privacy feature flags
2023-10-17 18:24:52 -05:00
Harry
e3d39d9fc0
Launch KBS into the sun
2023-10-17 11:20:27 -07:00
Harry
aa0e250cb7
[Death to TSAccountManager, long live TSAccountManager][9] Migrate usages of old TSAccountManager to new
2023-10-05 08:56:08 -07:00
Max Radermacher
9b86028863
[ServiceId] Update registration code
2023-08-21 17:29:37 -05:00
Pete Walters
0818e359d5
Update PniHelloWorld to add PQ keys
2023-08-15 15:37:20 -05:00
Harry
d14e4a34b9
Atomic account creation pt 2: Add prekey fields and enable atomic account creation
2023-08-09 16:24:31 -07:00
Harry
f9cecdfb2b
Split apart PreKeyTask to allow independently generating, uploading, and persisting prekeys
2023-08-09 16:23:32 -07:00
Harry
8c799c0637
Atomic account creation pt1: Apns tokens in account creation request
2023-08-09 16:21:12 -07:00
Harry
cc436e0db8
Support registering with a landline
2023-08-03 09:42:07 -07:00
Max Radermacher
de902f37af
[ServiceId] Update registration
2023-08-02 16:53:51 -05:00
Pete Walters
4356b505b2
Migrate TSPreKeyManager to Swift
2023-07-27 21:02:33 -05:00
Max Radermacher
b593cba603
Adopt randomForTesting/constantForTesting
2023-07-26 16:29:14 -05:00
Harry
8392ba6ae7
Enable SVR2 feature flag (remote config still active)
2023-06-14 10:39:49 -07:00
Harry
b9bf24eb4d
Allow for nullable svr credentials in registration reglock response
2023-06-05 14:17:52 -07:00
Harry
c912ed67a9
Update rules for SVR2 rollout
2023-06-02 09:52:31 -07:00
Harry
12db9af53f
Start using SVR2 auth credentials
2023-05-26 15:39:52 -07:00
Harry
cc67fe55ad
SVR2 implementation part 1: local operations
2023-05-23 12:26:25 -07:00
Harry
e706738e2e
Handful of registration fixes
2023-05-18 18:15:39 -04:00
Harry
bbbaab9f82
Add SVRAuthCredential
2023-05-16 13:59:52 -07:00
Harry
1bd1354a1d
Rename KeyBackupService protocol to SecureValueRecovery
2023-05-12 10:13:46 -07:00
Evan Hahn
d9d6ce3ea4
Move AppExpiry off Dependencies and NSObject
2023-04-20 12:46:21 -05:00
Harry
d29cdfbc03
Use appropriate filters for registration PIN customer support emails
2023-04-18 09:23:06 -07:00
Max Radermacher
a8511014cb
Use LocalIdentifiers in Storage Service
2023-04-14 10:20:58 -07:00
Harry
a7047fd56e
Catch e164 drift during re-reg and correct it
2023-04-06 14:55:30 -05:00
Evan Hahn
5cd752cb97
Remove gifting flags; it's always enabled
...
This change should have no user impact. I removed remote config flags
and dealt with all the fallout from that change.
2023-04-06 13:56:42 -05:00
Harry
b07c02d791
Prevent looping when hitting reglock in new registration
2023-03-30 08:55:29 -05:00
Max Radermacher
aaf1d0e0b6
Clean up SignalRecipient create & fetch APIs
2023-03-29 18:40:05 -07:00
Harry
5e37c2f8f9
Updates for verification code entry screen
...
* Move resend code buttons above keyboard
* add showHelpText to verification code screen state
* hook up help button, does nothing yet
* show help bottom sheet
* lint
* pr feedback
2023-03-28 17:31:58 -07:00
Harry
4f01be0082
Clean up some error handling for registration verification code exhausting attempts
...
* show back to back errors on verification code screen
* handle verification code attempts exhausted
* let the user resend a code after submission attempts are exhausted
* clear last digit after an incorrectly entered verification code
* wipe errors and allow proceeding when changing e164
* lint
2023-03-28 17:06:29 -07:00
Harry
3a78f30ed9
Registration cleanup
...
* Don't wipe local kbs state when kbs stuff fails for change number; its still valid for the old number
* remove remaining error sheet todos
* fix tests
2023-03-28 14:23:41 -07:00
Evan Hahn
95df4819da
New registration: "Skip and Create New PIN" action
2023-03-28 13:13:24 -05:00
Harry
7ba5f7384a
Handle being de-registered while still in the middle of registration
...
* put rereg mode params into a struct for sharability
* add step and UI handling for when we become deregistered during post-reg steps
* handle dereg when syncing push tokens
* show generic error on kbs backup failure
* handle dereg when restoring from kbs
* handle dereg during profile setup steps
* finalize pni stuff before deregistering
* add comment
* change debug fail to log
* Navigate to verification vc before showing popup so that we don't cancel the nav controller pop
* send a session sms code even if we get interrupted right after session creation
* improve state handling for initial session sms code
* nit: make var fileprivate
* show error when state changed on screen
2023-03-28 07:50:56 -07:00
Evan Hahn
f008d084c7
New registration: show screen when PIN guesses exhausted outside reglock
2023-03-27 15:20:29 -05:00
Harry
76b31992b2
Collected nits from registration PR stack
...
* nits
* remove obsolete assert
2023-03-24 19:40:58 -07:00