Skip to content

Refactor master key management and validation logic - #34

Open
zHd4 wants to merge 3 commits into
masterfrom
refactor-master-key-management-and-validation-logic
Open

Refactor master key management and validation logic#34
zHd4 wants to merge 3 commits into
masterfrom
refactor-master-key-management-and-validation-logic

Conversation

@zHd4

@zHd4 zHd4 commented Jul 27, 2026

Copy link
Copy Markdown
Owner
  • Move validation logic from CryptoSecrets to a dedicated CryptoSecretsValidator class.
  • Update AppSecurityService to generate master keys independently of CryptoSecrets via generateMasterKey().
  • Standardize naming in KeyUtils for hex conversions.
  • Refactor SetupKeyActivity and ImportKeyActivity to handle raw key bytes and improve security by deferring password retrieval.
  • Ensure proper activity lifecycle management in AuthActivityExtension by explicitly finishing activities after navigation.
  • Update unit and instrumented tests.

zHd4 added 3 commits July 27, 2026 13:16
- Move validation logic from `CryptoSecrets` to a dedicated `CryptoSecretsValidator` class.
- Update `AppSecurityService` to generate master keys independently of `CryptoSecrets` via `generateMasterKey()`.
- Standardize naming in `KeyUtils` for hex conversions.
- Refactor `SetupKeyActivity` and `ImportKeyActivity` to handle raw key bytes and improve security by deferring password retrieval.
- Ensure proper activity lifecycle management in `AuthActivityExtension` by explicitly finishing activities after navigation.
- Update unit and instrumented tests.
@zHd4 zHd4 self-assigned this Jul 27, 2026
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