Skip to content

Commit cea6de6

Browse files
committed
update dargon2_interface's info
1 parent a8b5821 commit cea6de6

File tree

11 files changed

+84
-46
lines changed

11 files changed

+84
-46
lines changed

.idea/workspace.xml

+22-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dargon2/pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: dargon2
22
description: Provides bindings for hashing and verifying with Argon2, the winner of the Password Hashing Competition.
3-
version: 3.0.0
4-
homepage: https://github.com/tmthecoder/dargon2
3+
version: 3.1.0
4+
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2
55
repository: https://github.com/tmthecoder/dargon2
66

77
environment:
88
sdk: '>=2.15.0 <3.0.0'
99

1010
dependencies:
11-
dargon2_core: '^2.0.1'
11+
dargon2_core: '^2.1.0'
1212

1313
dev_dependencies:
1414
pedantic: ^1.9.0

dargon2_core/pubspec.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
name: dargon2_core
22
description: The bindings for argon2's C reference library. Does not include the library loading itself.
3-
version: 2.0.2
4-
homepage: https://github.com/tmthecoder/dargon2_core
5-
repository: https://github.com/tmthecoder/dargon2_core
3+
version: 2.1.0
4+
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_core
5+
repository: https://github.com/tmthecoder/dargon2/
66

77
environment:
88
sdk: '>=2.14.0 <3.0.0'
99

1010
dependencies:
1111
ffi: '^1.1.2'
12-
dargon2_interface: '^1.0.1'
12+
dargon2_interface: '^1.1.0'
1313

1414
dev_dependencies:
1515
pedantic: ^1.10.0

dargon2_flutter/dargon2_flutter/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ If you're using Objective-C for the iOS portion of your application (created wit
2424
- (**This is the Important Step**) Select `Create Bridging Header` when the prompt comes up
2525
- You don't have to add anything to that swift file or the bridging header, but it needs to be there along with the bridging header in order for the plugin to compile correctly for iOS
2626

27+
## Desktop (Linux)
28+
When building on Linux utilizng `dargon2_flutter`, the C standard library must be installed.
29+
I recommend ensuring it's installed by running `sudo apt install build-essential` or your distro's equivalent
30+
31+
Otherwise, the underlying C implementation will not build successfully, causing a cascading build failure.
32+
2733
## Usage
2834

2935
High-level hashing and verification (for direct hashing & verification of byte arrays, check the example on [dargon2])

dargon2_flutter/dargon2_flutter/pubspec.yaml

+15-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: dargon2_flutter
22
description: A Flutter implementation of dargon2, providing Argon2 Password Hashing functionality for mobile & web apps
3-
repository: https://github.com/tmthecoder/dargon2_flutter
4-
homepage: https://github.com/tmthecoder/dargon2_flutter
5-
version: 3.0.3
3+
repository: https://github.com/tmthecoder/dargon2
4+
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter
5+
version: 3.1.0
66

77
environment:
88
sdk: ">=2.14.0 <3.0.0"
@@ -17,15 +17,23 @@ flutter:
1717
default_package: dargon2_flutter_mobile
1818
web:
1919
default_package: dargon2_flutter_web
20+
linux:
21+
defailt_package: dargon2_flutter_desktop
22+
macos:
23+
defailt_package: dargon2_flutter_desktop
24+
windows:
25+
defailt_package: dargon2_flutter_desktop
26+
2027

2128
dependencies:
2229
flutter:
2330
sdk: flutter
2431
meta: ^1.3.0
25-
dargon2_flutter_mobile: '^3.0.3'
26-
dargon2_flutter_web: '^3.0.3'
27-
dargon2_flutter_platform_interface: '^3.0.3'
28-
dargon2_interface: '^1.0.1'
32+
dargon2_flutter_mobile: '^3.1.0'
33+
dargon2_flutter_desktop: '^3.1.0'
34+
dargon2_flutter_web: '^3.1.0'
35+
dargon2_flutter_platform_interface: '^3.1.0'
36+
dargon2_interface: '^1.1.0'
2937

3038

3139

dargon2_flutter/dargon2_flutter_desktop/pubspec.yaml

+12-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
name: dargon2_flutter_desktop
2-
description: dargon2_flutter's desktop implementation
3-
version: 0.0.1
4-
homepage:
2+
description: The desktop (macos, windows, and linux) implementation of dargon2_flutter
3+
version: 3.1.0
4+
homepage: https://github.com/tmthecoder/dargon2/
5+
repository: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_desktop
56

67
environment:
7-
sdk: ">=2.15.1 <3.0.0"
8+
sdk: ">=2.14.0 <3.0.0"
89
flutter: ">=2.5.0"
910

1011
dependencies:
1112
flutter:
1213
sdk: flutter
13-
dargon2_core: '^2.0.2'
14-
dargon2_flutter_platform_interface: '^3.0.3'
15-
dargon2_interface: '^1.0.1'
14+
dargon2_core: '^2.1.0'
15+
dargon2_flutter_platform_interface: '^3.1.0'
16+
dargon2_interface: '^1.1.0'
1617

1718
dev_dependencies:
1819
flutter_test:
@@ -29,13 +30,14 @@ flutter:
2930
# be modified. They are used by the tooling to maintain consistency when
3031
# adding or updating assets for this project.
3132
plugin:
33+
implements: dargon2_flutter
3234
platforms:
3335
linux:
34-
pluginClass: Dargon2FlutterDesktopPlugin
36+
dartPluginClass: DArgon2Desktop
3537
macos:
36-
pluginClass: Dargon2FlutterDesktopPlugin
38+
dartPluginClass: DArgon2Desktop
3739
windows:
38-
pluginClass: Dargon2FlutterDesktopPlugin
40+
dartPluginClass: DArgon2Desktop
3941

4042
# To add assets to your plugin package, add an assets section, like this:
4143
# assets:

dargon2_flutter/dargon2_flutter_mobile/pubspec.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: dargon2_flutter_mobile
22
description: The mobile (iOS & Android) platform implementation of dargon2_flutter
3-
version: 3.0.3
4-
homepage: https://github.com/tmthecoder/dargon2_flutter
5-
repository: https://github.com/tmthecoder/dargon2_flutter
3+
version: 3.1.0
4+
homepage: https://github.com/tmthecoder/dargon2/
5+
repository: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_mobile
66

77
environment:
88
sdk: ">=2.14.0 <3.0.0"
@@ -11,9 +11,9 @@ environment:
1111
dependencies:
1212
flutter:
1313
sdk: flutter
14-
dargon2_core: '^2.0.2'
15-
dargon2_flutter_platform_interface: '^3.0.3'
16-
dargon2_interface: '^1.0.1'
14+
dargon2_core: '^2.1.0'
15+
dargon2_flutter_platform_interface: '^3.1.0'
16+
dargon2_interface: '^1.1.0'
1717

1818
dev_dependencies:
1919
flutter_test:

dargon2_flutter/dargon2_flutter_platform_interface/pubspec.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: dargon2_flutter_platform_interface
22
description: The common platform interface for the dargon2_flutter plugin.
3-
repository: https://github.com/tmthecoder/dargon2_flutter
4-
version: 3.0.3
3+
repository: https://github.com/tmthecoder/dargon2
4+
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_platform_interface
5+
version: 3.1.0
56

67
environment:
78
sdk: ">=2.14.0 <3.0.0"
@@ -11,7 +12,7 @@ dependencies:
1112
flutter:
1213
sdk: flutter
1314
plugin_platform_interface: '^2.0.0'
14-
dargon2_interface: '^1.0.1'
15+
dargon2_interface: '^1.1.0'
1516

1617
dev_dependencies:
1718
flutter_test:

dargon2_flutter/dargon2_flutter_web/pubspec.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: dargon2_flutter_web
22
description: The web (JS & WASM) platform implementation of dargon2_flutter
3-
version: 3.0.3
4-
repository: https://github.com/tmthecoder/dargon2_flutter
5-
homepage: https://github.com/tmthecoder/dargon2_flutter
3+
version: 3.1.0
4+
repository: https://github.com/tmthecoder/dargon2
5+
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_web
66

77
environment:
88
sdk: ">=2.14.0 <3.0.0"
@@ -14,8 +14,8 @@ dependencies:
1414
flutter_web_plugins:
1515
sdk: flutter
1616
js: '^0.6.3'
17-
dargon2_flutter_platform_interface: '^3.0.3'
18-
dargon2_interface: '^1.0.1'
17+
dargon2_flutter_platform_interface: '^3.1.0'
18+
dargon2_interface: '^1.1.0'
1919

2020
dev_dependencies:
2121
flutter_test:

dargon2_interface/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.0
2+
- Fix repository & homepage links to point to newly structured repo
3+
- Match versioning for dargon2_flutter's desktop support addition
4+
15
## 1.0.1
26
- Bump down Dart version to 2.14 so Flutter 2.5 can use
37

dargon2_interface/pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: dargon2_interface
22
description: An interface for all dargon2 hashing functions. Provides the base outline for all implementations.
3-
version: 1.0.1
4-
homepage: https://github.com/tmthecoder/dargon2_interface
5-
repository: https://github.com/tmthecoder/dargon2_interface
3+
version: 1.1.0
4+
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_interface
5+
repository: https://github.com/tmthecoder/dargon2
66

77
environment:
88
sdk: '>=2.14.0 <3.0.0'

0 commit comments

Comments
 (0)