Skip to content

Fix apple keystore ffi #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 23, 2025
Merged

Fix apple keystore ffi #37

merged 9 commits into from
Aug 23, 2025

Conversation

pentateu
Copy link
Contributor

No description provided.

…nment in `lib.rs` for improved clarity and consistency. Updated the assignment logic to simplify the handling of device keystore registration.
- Introduced a new file `validate_swift_vectors.rs` to validate compatibility between Swift and Rust serializers by deserializing various data types.
- Implemented functions to read binary data, validate multiple data types (e.g., strings, booleans, integers, lists, maps, and structs), and report validation results.
- Updated `Cargo.toml` to include the new example in the `rust-examples` package, enhancing the project's testing capabilities for cross-platform serialization.
- Added conditional compilation flags for Linux-specific features in the test file, ensuring that tests related to the Linux keystore are only compiled and run on Linux platforms.
- Introduced additional test functions to validate the Linux keystore integration, improving coverage and robustness of key management functionalities.
- Updated existing test functions to align with the new conditional compilation structure, enhancing clarity and maintainability of the test suite.
- Added a new method `register_linux_device_keystore` to the `Keys` class, enabling registration of the Linux device keystore when the `linux-keystore` feature is enabled and the target OS is Linux.
- Removed the previous implementation of the method to streamline the code and ensure it is only compiled for the appropriate platform.
- Updated `Cargo.toml` to define the `linux-keystore` feature, enhancing modularity and conditional compilation for Linux-specific functionalities.
…nhanced functionality

- Added `c_void` import from `libc` to support additional features in the Linux keystore tests.
- This change ensures compatibility with upcoming enhancements in the test suite related to key management functionalities.
@pentateu pentateu merged commit 7113340 into main Aug 23, 2025
1 check passed
@pentateu pentateu deleted the fix_apple_keystore_ffi branch August 23, 2025 05: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