kdbx.dart
kdbx.dart copied to clipboard
KeepassX format implementation in pure dart.
kdbx.dart
KeepassX format implementation in pure dart.
Check out AuthPass Password Manager for an app which uses this library.
Resources
- Code is very much based on https://github.com/keeweb/kdbxweb/
- https://gist.github.com/msmuenchen/9318327
Usage
TODO
Features and bugs
- Supports kdbx v3 with native dart implementation
- Supports kdbx v4 with combination with argon2 ffi
Argon2 support
root directory contains shared libraris (libargon2*) which are built from https://github.com/authpass/argon2_ffi
- MacOS:
- argon2_ffi/ios/Classes
-
cmake . && cmake --build .
-
cp libargon2_ffi.dylib kdbx.dart/
- Might need to run:
codesign --remove-signature /usr/local/bin/dart
https://github.com/dart-lang/sdk/issues/39231#issuecomment-579743656
- Linux:
- argon2_ffi/ios/Classes
-
cmake . && cmake --build .
-
cp libargon2_ffi.so kdbx.dart/
- Windows:
- Install Visual Studio Commnity Edition with C++ Development environment
- Start "Developer Command Prompt for VS 2019"
- argon2_ffi/ios/Classes:
cmake . cmake --build . cp Debug\argon2_ffi.dll C:\kdbx.dart\argon2_ffi_plugin.dll