Skip to content

Tags: CommE2E/comm

Tags

web-v1.0.148

Toggle web-v1.0.148's commit message

Verified

This commit was signed with the committer’s verified signature.
Ashoat Ashoat Tevosyan
[web][keyserver] codeVersion -> 148

phabricator/diff/46594

Toggle phabricator/diff/46594's commit message
[native] Fall back to v1 login when the user doesn't have a backup

Summary:
Check if the user has a backup. When they don't have it, use the v1 login flow.

https://linear.app/comm/issue/ENG-9620/client-restore-flow-fall-back-to-v1-when-missing-backup

Depends on D14165

Test Plan:
Because pf https://linear.app/comm/issue/ENG-10039/allow-checking-if-a-user-has-a-backup I had to hack it a bit: instead of calling `retrieveLatestBackupInfo` I hardcoded its return value to null. Then for both password and SIWE user verified that it is possible to log in.

Reviewers: kamil, bartek

phabricator/diff/46593

Toggle phabricator/diff/46593's commit message
[lib] Refactor useLogOut to auto-detect logout flow

Summary:

Address [[ https://linear.app/comm/issue/ENG-10015/decide-how-to-handle-v1-uselogout-calls-for-signed-device-list-users | ENG-10015 ]]

- Renamed `useLogOut` to `useBaseLogOut`
  - Made options required
- Created new `useLogOut` without arguments, which automatically chooses correct logout flow basing on `usingRestoreFlow` and `isPrimaryDevice`

Test Plan:

For both old- and new-flow account, checked that correct logout protocol is chosen when:
- Pressing logout button
- Triggering a crash

Reviewers: tomek, kamil

Subscribers:

phabricator/diff/46592

Toggle phabricator/diff/46592's commit message
[terraform] Bump staging Identity to 0.48

Summary:

Git log 0.47 - 0.48:
```
c44920a [identity] Optimize Tunnelbroker device data removal
6fd253e [identity] Force v1 primary logout for authoritative keyserver owner
58bf345 [identity] Allow v1 login for authoritative keyserver
efd40b9 [identity] Verify new flow migration device list update
cedacdf [identity] Reset device list and services data during password reset
3121657 [identity] Update V1 logout to handle new flow users
d91394b [identity] Return use_v1_flow in new-flow-only RPCs
a8129cf [identity] Return use_new_flow in V1 login RPCs
8944ea4 [identity] Add function to check user login flow
88f7830 [identity] Add function to check if user has backup
7877d5b [identity] Remove outdated comment from constants
```

Test Plan:

terraform plan

Reviewers: kamil

Subscribers:

phabricator/diff/46591

Toggle phabricator/diff/46591's commit message
[terraform] Bump prod Identity to 0.47

Summary:

Git log for changes 0.45 - 0.47:
```
57275f8 [identity] fix `lastPrimarySignature` attribute
3438b06 [identity] Introduce the use_new_flow response code
6e24824 Upgrade to Rust 1.81
0350430 [shared] bump opaque-ke to 2.1.0-pre.1
8f72e02 [backup-service][backup-client] update `/latest` endpoint to return both `backupID` and `userID`
aa69c90 [identity][comm-lib] move `is_valid_ethereum_address` to `comm-lib`
```

Test Plan:

terraform plan

Reviewers: kamil

Subscribers:

phabricator/base/46594

Toggle phabricator/base/46594's commit message
[identity] Optimize Tunnelbroker device data removal

Summary:
Noticed that we're spawning Tunnelbroker task in a loop with single device.
Instead, all devices array can be passed once

Depends on D14173

Test Plan: Commtest, removing a device using UI

Reviewers: kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D14174

phabricator/base/46593

Toggle phabricator/base/46593's commit message
[terraform] Bump staging Identity to 0.48

Summary:
Git log 0.47 - 0.48:
```
c44920a [identity] Optimize Tunnelbroker device data removal
6fd253e [identity] Force v1 primary logout for authoritative keyserver owner
58bf345 [identity] Allow v1 login for authoritative keyserver
efd40b9 [identity] Verify new flow migration device list update
cedacdf [identity] Reset device list and services data during password reset
3121657 [identity] Update V1 logout to handle new flow users
d91394b [identity] Return use_v1_flow in new-flow-only RPCs
a8129cf [identity] Return use_new_flow in V1 login RPCs
8944ea4 [identity] Add function to check user login flow
88f7830 [identity] Add function to check if user has backup
7877d5b [identity] Remove outdated comment from constants
```

Test Plan: terraform plan

Reviewers: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D14178

phabricator/base/46592

Toggle phabricator/base/46592's commit message
[terraform] Bump prod Identity to 0.47

Summary:
Git log for changes 0.45 - 0.47:
```
57275f8 [identity] fix `lastPrimarySignature` attribute
3438b06 [identity] Introduce the use_new_flow response code
6e24824 Upgrade to Rust 1.81
0350430 [shared] bump opaque-ke to 2.1.0-pre.1
8f72e02 [backup-service][backup-client] update `/latest` endpoint to return both `backupID` and `userID`
aa69c90 [identity][comm-lib] move `is_valid_ethereum_address` to `comm-lib`
```

Test Plan: terraform plan

Reviewers: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D14177

phabricator/base/46591

Toggle phabricator/base/46591's commit message
[identity] Optimize Tunnelbroker device data removal

Summary:
Noticed that we're spawning Tunnelbroker task in a loop with single device.
Instead, all devices array can be passed once

Depends on D14173

Test Plan: Commtest, removing a device using UI

Reviewers: kamil

Reviewed By: kamil

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D14174

mobile-v1.0.451

Toggle mobile-v1.0.451's commit message

Verified

This commit was signed with the committer’s verified signature.
Ashoat Ashoat Tevosyan
[native] codeVersion -> 451