Skip to content

Conversation

@pentateu
Copy link
Contributor

@pentateu pentateu commented Sep 3, 2025

  • Updated the Keys class to replace the decrypt_with_network method with decrypt_envelope_data, improving clarity and functionality in mobile decryption processes.
  • Introduced a new test case for mobile decryption with profile keys, validating the decryption path for user mobile keystores and ensuring compatibility with profile-based encryption.
  • Enhanced existing tests to cover various scenarios, including multiple valid profile keys and network key fallbacks, ensuring robust validation of the decryption workflows.
  • Improved logging in tests to provide better insights during execution and confirm successful decryption paths.

- Updated the `Keys` class to replace the `decrypt_with_network` method with `decrypt_envelope_data`, improving clarity and functionality in mobile decryption processes.
- Introduced a new test case for mobile decryption with profile keys, validating the decryption path for user mobile keystores and ensuring compatibility with profile-based encryption.
- Enhanced existing tests to cover various scenarios, including multiple valid profile keys and network key fallbacks, ensuring robust validation of the decryption workflows.
- Improved logging in tests to provide better insights during execution and confirm successful decryption paths.
- Renamed the `get_network_public_key` function to `has_network_private_key` across multiple modules, enhancing clarity in the API by explicitly indicating the function's purpose.
- Updated method signatures and implementations in `runar-ffi`, `runar-keys`, and `runar-nodejs-api` to reflect the new naming convention, ensuring consistency across the codebase.
- Adjusted related tests to validate the new functionality, confirming that the checks for private keys are correctly implemented and functioning as expected.
- Improved documentation and comments to clarify the changes and their implications for users of the API.
@pentateu pentateu changed the title Enhance mobile decryption functionality and add comprehensive tests Enhance mobile decryption functionality Sep 4, 2025
@pentateu pentateu merged commit 69394b3 into main Sep 4, 2025
1 of 2 checks passed
@pentateu pentateu deleted the fix_nodejs_napi_decryption branch September 4, 2025 02:12
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.

2 participants