This is a GlitterWare fork of kdbx.dart
. Here, GlitterWare's dargon2
fork together with the official version of dargon2_flutter
are used instead of the argon2_ffi_base
package. To enable argon2 support, KdbxDargon2.initialize()
needs to be used before decryption, add it to your main loop and any Dart isolates.
KeepassX format implementation in pure dart.
Check out AuthPass Password Manager for an app which uses this library.
- Code is very much based on https://github.com/keeweb/kdbxweb/
- https://gist.github.com/msmuenchen/9318327
TODO
- Supports kdbx v3 with native dart implementation
- Supports kdbx v4 with combination with argon2 ffi
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
dart-lang/sdk#39231 (comment)
- 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
- For v4 argon2 support would be required. Unfortunately there are no dart implementations, or bindings yet. (as far as I can find).