Skip to content

Commit

Permalink
update dargon2_interface's info
Browse files Browse the repository at this point in the history
  • Loading branch information
tmthecoder committed Jan 23, 2022
1 parent a8b5821 commit cea6de6
Show file tree
Hide file tree
Showing 11 changed files with 84 additions and 46 deletions.
27 changes: 22 additions & 5 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dargon2/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: dargon2
description: Provides bindings for hashing and verifying with Argon2, the winner of the Password Hashing Competition.
version: 3.0.0
homepage: https://github.com/tmthecoder/dargon2
version: 3.1.0
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2
repository: https://github.com/tmthecoder/dargon2

environment:
sdk: '>=2.15.0 <3.0.0'

dependencies:
dargon2_core: '^2.0.1'
dargon2_core: '^2.1.0'

dev_dependencies:
pedantic: ^1.9.0
Expand Down
8 changes: 4 additions & 4 deletions dargon2_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
name: dargon2_core
description: The bindings for argon2's C reference library. Does not include the library loading itself.
version: 2.0.2
homepage: https://github.com/tmthecoder/dargon2_core
repository: https://github.com/tmthecoder/dargon2_core
version: 2.1.0
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_core
repository: https://github.com/tmthecoder/dargon2/

environment:
sdk: '>=2.14.0 <3.0.0'

dependencies:
ffi: '^1.1.2'
dargon2_interface: '^1.0.1'
dargon2_interface: '^1.1.0'

dev_dependencies:
pedantic: ^1.10.0
Expand Down
6 changes: 6 additions & 0 deletions dargon2_flutter/dargon2_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ If you're using Objective-C for the iOS portion of your application (created wit
- (**This is the Important Step**) Select `Create Bridging Header` when the prompt comes up
- 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

## Desktop (Linux)
When building on Linux utilizng `dargon2_flutter`, the C standard library must be installed.
I recommend ensuring it's installed by running `sudo apt install build-essential` or your distro's equivalent

Otherwise, the underlying C implementation will not build successfully, causing a cascading build failure.

## Usage

High-level hashing and verification (for direct hashing & verification of byte arrays, check the example on [dargon2])
Expand Down
22 changes: 15 additions & 7 deletions dargon2_flutter/dargon2_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: dargon2_flutter
description: A Flutter implementation of dargon2, providing Argon2 Password Hashing functionality for mobile & web apps
repository: https://github.com/tmthecoder/dargon2_flutter
homepage: https://github.com/tmthecoder/dargon2_flutter
version: 3.0.3
repository: https://github.com/tmthecoder/dargon2
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter
version: 3.1.0

environment:
sdk: ">=2.14.0 <3.0.0"
Expand All @@ -17,15 +17,23 @@ flutter:
default_package: dargon2_flutter_mobile
web:
default_package: dargon2_flutter_web
linux:
defailt_package: dargon2_flutter_desktop
macos:
defailt_package: dargon2_flutter_desktop
windows:
defailt_package: dargon2_flutter_desktop


dependencies:
flutter:
sdk: flutter
meta: ^1.3.0
dargon2_flutter_mobile: '^3.0.3'
dargon2_flutter_web: '^3.0.3'
dargon2_flutter_platform_interface: '^3.0.3'
dargon2_interface: '^1.0.1'
dargon2_flutter_mobile: '^3.1.0'
dargon2_flutter_desktop: '^3.1.0'
dargon2_flutter_web: '^3.1.0'
dargon2_flutter_platform_interface: '^3.1.0'
dargon2_interface: '^1.1.0'



Expand Down
22 changes: 12 additions & 10 deletions dargon2_flutter/dargon2_flutter_desktop/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
name: dargon2_flutter_desktop
description: dargon2_flutter's desktop implementation
version: 0.0.1
homepage:
description: The desktop (macos, windows, and linux) implementation of dargon2_flutter
version: 3.1.0
homepage: https://github.com/tmthecoder/dargon2/
repository: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_desktop

environment:
sdk: ">=2.15.1 <3.0.0"
sdk: ">=2.14.0 <3.0.0"
flutter: ">=2.5.0"

dependencies:
flutter:
sdk: flutter
dargon2_core: '^2.0.2'
dargon2_flutter_platform_interface: '^3.0.3'
dargon2_interface: '^1.0.1'
dargon2_core: '^2.1.0'
dargon2_flutter_platform_interface: '^3.1.0'
dargon2_interface: '^1.1.0'

dev_dependencies:
flutter_test:
Expand All @@ -29,13 +30,14 @@ flutter:
# be modified. They are used by the tooling to maintain consistency when
# adding or updating assets for this project.
plugin:
implements: dargon2_flutter
platforms:
linux:
pluginClass: Dargon2FlutterDesktopPlugin
dartPluginClass: DArgon2Desktop
macos:
pluginClass: Dargon2FlutterDesktopPlugin
dartPluginClass: DArgon2Desktop
windows:
pluginClass: Dargon2FlutterDesktopPlugin
dartPluginClass: DArgon2Desktop

# To add assets to your plugin package, add an assets section, like this:
# assets:
Expand Down
12 changes: 6 additions & 6 deletions dargon2_flutter/dargon2_flutter_mobile/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: dargon2_flutter_mobile
description: The mobile (iOS & Android) platform implementation of dargon2_flutter
version: 3.0.3
homepage: https://github.com/tmthecoder/dargon2_flutter
repository: https://github.com/tmthecoder/dargon2_flutter
version: 3.1.0
homepage: https://github.com/tmthecoder/dargon2/
repository: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_mobile

environment:
sdk: ">=2.14.0 <3.0.0"
Expand All @@ -11,9 +11,9 @@ environment:
dependencies:
flutter:
sdk: flutter
dargon2_core: '^2.0.2'
dargon2_flutter_platform_interface: '^3.0.3'
dargon2_interface: '^1.0.1'
dargon2_core: '^2.1.0'
dargon2_flutter_platform_interface: '^3.1.0'
dargon2_interface: '^1.1.0'

dev_dependencies:
flutter_test:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: dargon2_flutter_platform_interface
description: The common platform interface for the dargon2_flutter plugin.
repository: https://github.com/tmthecoder/dargon2_flutter
version: 3.0.3
repository: https://github.com/tmthecoder/dargon2
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_platform_interface
version: 3.1.0

environment:
sdk: ">=2.14.0 <3.0.0"
Expand All @@ -11,7 +12,7 @@ dependencies:
flutter:
sdk: flutter
plugin_platform_interface: '^2.0.0'
dargon2_interface: '^1.0.1'
dargon2_interface: '^1.1.0'

dev_dependencies:
flutter_test:
Expand Down
10 changes: 5 additions & 5 deletions dargon2_flutter/dargon2_flutter_web/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: dargon2_flutter_web
description: The web (JS & WASM) platform implementation of dargon2_flutter
version: 3.0.3
repository: https://github.com/tmthecoder/dargon2_flutter
homepage: https://github.com/tmthecoder/dargon2_flutter
version: 3.1.0
repository: https://github.com/tmthecoder/dargon2
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_flutter/dargon2_flutter_web

environment:
sdk: ">=2.14.0 <3.0.0"
Expand All @@ -14,8 +14,8 @@ dependencies:
flutter_web_plugins:
sdk: flutter
js: '^0.6.3'
dargon2_flutter_platform_interface: '^3.0.3'
dargon2_interface: '^1.0.1'
dargon2_flutter_platform_interface: '^3.1.0'
dargon2_interface: '^1.1.0'

dev_dependencies:
flutter_test:
Expand Down
4 changes: 4 additions & 0 deletions dargon2_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.1.0
- Fix repository & homepage links to point to newly structured repo
- Match versioning for dargon2_flutter's desktop support addition

## 1.0.1
- Bump down Dart version to 2.14 so Flutter 2.5 can use

Expand Down
6 changes: 3 additions & 3 deletions dargon2_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: dargon2_interface
description: An interface for all dargon2 hashing functions. Provides the base outline for all implementations.
version: 1.0.1
homepage: https://github.com/tmthecoder/dargon2_interface
repository: https://github.com/tmthecoder/dargon2_interface
version: 1.1.0
homepage: https://github.com/tmthecoder/dargon2/blob/main/dargon2_interface
repository: https://github.com/tmthecoder/dargon2

environment:
sdk: '>=2.14.0 <3.0.0'
Expand Down

0 comments on commit cea6de6

Please sign in to comment.