/kdbx.dart

Fork of authpass/kdbx.dart for GlitterWare implementations

Primary LanguageDartGNU General Public License v3.0GPL-3.0

Fork-specific notice

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.

kdbx.dart

KeepassX format implementation in pure dart.

Check out AuthPass Password Manager for an app which uses this library.

Resources

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 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
      

OLD INFO:

TODO