Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Remove deprecated calls to client#hasSecretStorageKey #12112

Closed

Conversation

BillCarsonFr
Copy link
Member

@BillCarsonFr BillCarsonFr commented Jan 8, 2024

Depends on #12098

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

} else {
logger.log("Not setting dehydration key: feature disabled");
}
await handleDeviceDehydration(cli);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I refactored this method following the sonar report about Cognitive Complexity. I noticed that the part that handles device dehydration is only done when 4s is already setup. When it's not and when the bootstrap is done by CreateSecretStorageDialog it's not called. There might be an issue here, but as device dehydration has changed (now dehydration v2) might not be worth checking it?

Base automatically changed from valere/fix_reset_backup_after_verif to develop January 10, 2024 11:27
@langleyd langleyd closed this Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants