Skip to content

Refactor secrets rotation classes - #37

Merged
zHd4 merged 30 commits into
masterfrom
refactor-secrets-rotation-classes
Aug 3, 2026
Merged

Refactor secrets rotation classes#37
zHd4 merged 30 commits into
masterfrom
refactor-secrets-rotation-classes

Conversation

@zHd4

@zHd4 zHd4 commented Aug 3, 2026

Copy link
Copy Markdown
Owner

This PR refactors the secrets rotation architecture by replacing direct CryptoManager dependencies with AppSecurityService integration. It includes renaming changes from "re-encryption" to "secrets rotation" terminology and moving the secrets rotation logic to a new rotation package structure.

zHd4 added 30 commits July 28, 2026 20:53
- Add `updatePassword` method to `SecretsRotationService` for standalone password changes
- Update `SecretsRotationService` to ensure `CryptoSecrets` are destroyed after use to improve memory safety
- Refactor dependency injection to pass `DatabaseManager` directly to rotation methods
- Use `IllegalArgumentException` for secret validation failures
- Update `SecretsRotationAndroidService` and tests to reflect the new service interface
@zHd4 zHd4 self-assigned this Aug 3, 2026
@zHd4
zHd4 merged commit 89ced4a into master Aug 3, 2026
4 checks passed
@zHd4
zHd4 deleted the refactor-secrets-rotation-classes branch August 3, 2026 13:03
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.

1 participant