diff --git a/README.md b/README.md index f7e0b0c..229f012 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,13 @@ TODO * Only supports v3. +# Argon2 support + +root directory contains shared libraris (libargon2*) which are built from +https://github.com/authpass/argon2_ffi + +# OLD INFO: + # TODO * For v4 argon2 support would be required. Unfortunately there are no dart diff --git a/lib/kdbx.dart b/lib/kdbx.dart index 553522f..b5a9c2d 100644 --- a/lib/kdbx.dart +++ b/lib/kdbx.dart @@ -9,6 +9,7 @@ export 'src/kdbx_dao.dart' show KdbxDao; export 'src/kdbx_entry.dart'; export 'src/kdbx_format.dart'; export 'src/kdbx_group.dart'; +export 'src/crypto/key_encrypter_kdf.dart' show Argon2; export 'src/kdbx_header.dart' show KdbxException, diff --git a/test/kdbx4_test.dart b/test/kdbx4_test.dart index 71f98f7..c124abc 100644 --- a/test/kdbx4_test.dart +++ b/test/kdbx4_test.dart @@ -41,7 +41,6 @@ typedef Argon2Hash = Pointer Function( class Argon2Test implements Argon2 { Argon2Test() { -// final argon2lib = DynamicLibrary.open('libargon2.1.dylib'); final argon2lib = Platform.isMacOS ? DynamicLibrary.open('libargon2_ffi.dylib') : DynamicLibrary.open('libargon2_ffi.so');