locksmith_flutter 1.0.1
locksmith_flutter: ^1.0.1 copied to clipboard
Flutter integration for Locksmith — default paths and platform keystore registration.
locksmith_flutter #
Flutter integration for locksmith: default keystore paths via path_provider and federated platform keystore plugins (Android Keystore, Apple Keychain, Windows NCrypt).
import 'package:locksmith_flutter/locksmith_flutter.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await LocksmithFlutter.initialize();
}
initialize() registers the native platform keystore backend for the current OS and sets the portable PEM store path under application support.
Platform keystore integration tests live in the repository example app:
cd example
flutter test integration_test/platform_keystore_test.dart -d <device-id>
The shared test body is in example/integration_test/platform_keystore_harness.dart.