Skip to content

Feature/wallet key rotation#901

Merged
Calebux merged 4 commits into
Calebux:mainfrom
coderolisa:feature/wallet-key-rotation
Jun 24, 2026
Merged

Feature/wallet key rotation#901
Calebux merged 4 commits into
Calebux:mainfrom
coderolisa:feature/wallet-key-rotation

Conversation

@coderolisa

Copy link
Copy Markdown
Contributor

Closes #872

Description

Test Plan

  • Tested locally
  • Verified expected behavior
  • No regressions introduced

Checklist

  • Code builds successfully
  • Tests pass
  • Follows project conventions
  • No sensitive data exposed

gbena-afk added 4 commits June 24, 2026 09:30
- Add database migration for key rotation tracking and progress
- Implement backend key rotation service and API routes
- Add wallet change detection in stellar-wallet.ts
- Create client-side key rotation orchestration
- Add wallet management UI with progress tracking
- Implement re-encryption flow for subscriptions
- Add comprehensive warnings about data loss risks
- Support cancellation and error recovery
- Add security audit events for key rotations
- Include complete documentation

Closes issue: Key rotation flow for wallet changes
Affected files:
- client/lib/stellar-wallet.ts - detect wallet change
- backend/src/services/key-rotation-service.ts - re-encryption service
- client/app/settings/wallet/page.tsx - wallet change flow with UI

Acceptance Criteria:
✅ Wallet change triggers re-encryption prompt
✅ All encrypted data re-encrypted with new key
✅ User warned about data loss risk if old wallet is inaccessible
✅ Progress tracking with real-time updates
✅ Error handling and cancellation support
@coderolisa coderolisa requested a review from Calebux as a code owner June 24, 2026 08:41
@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

@coderolisa Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Calebux Calebux merged commit 6f13ec5 into Calebux:main Jun 24, 2026
17 of 31 checks passed
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.

[P1] Encryption: Handle key rotation when user changes Stellar wallet

2 participants