From 7153f5c98249d7bf37d1bbca124cc3a282ab885b Mon Sep 17 00:00:00 2001 From: Herbert Poul Date: Sat, 22 Feb 2020 10:55:32 +0100 Subject: [PATCH] export argon2 --- README.md | 7 +++++++ lib/kdbx.dart | 1 + test/kdbx4_test.dart | 1 - 3 files changed, 8 insertions(+), 1 deletion(-) 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');