Skip to content

Conversation

@douglas-xt
Copy link
Contributor

@douglas-xt douglas-xt commented Jan 7, 2026

Add public keys validation during account recovery to prevent users from restoring with a backup file that doesn't belong to their account.

Changes

  • Add RecoveryKeys interface with optional private and public keys
  • Update changePasswordWithLinkV2 to send publicKeys to backend
  • Add tests for all recovery key combinations

Breaking Change ⚠️

The changePasswordWithLinkV2 method now requires a different parameter structure to include public keys for validation.

@douglas-xt douglas-xt self-assigned this Jan 7, 2026
@larryrider
Copy link
Contributor

It would be useful to include that Breaking Change information into the release notes 🚀

@douglas-xt douglas-xt merged commit ac99f07 into master Jan 8, 2026
2 checks passed
@douglas-xt douglas-xt deleted the feat/validate-public-keys-on-recovery branch January 8, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants