https://github.com/matthewhartstonge/fusionauth-argon2id-native-password-encryptor
An implementation for generating argon2id password digests in FusionAuth using Java Native Access (`jna`) which calls out to the natively compiled reference C implementation of Argon2id.
https://github.com/matthewhartstonge/fusionauth-argon2id-native-password-encryptor
argon2 argon2id authentication fusionauth java jna password-hasher plugin
Last synced: 6 months ago
JSON representation
An implementation for generating argon2id password digests in FusionAuth using Java Native Access (`jna`) which calls out to the natively compiled reference C implementation of Argon2id.
- Host: GitHub
- URL: https://github.com/matthewhartstonge/fusionauth-argon2id-native-password-encryptor
- Owner: matthewhartstonge
- License: apache-2.0
- Created: 2021-11-08T03:44:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-08T03:57:49.000Z (almost 4 years ago)
- Last Synced: 2025-02-14T00:16:45.877Z (8 months ago)
- Topics: argon2, argon2id, authentication, fusionauth, java, jna, password-hasher, plugin
- Language: Java
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# fusionauth-argon2id-native-password-encryptor
This plugin provides an implementation for generating argon2id password digests
in FusionAuth using Java Native Access (`jna`) which calls out to the natively
compiled reference C implementation of Argon2id.## Java Install
To install Java, you will need the OpenJDK. Due to licensing, you can't simply
use the Oracle JDK distribution due to 'commercial use'.Hop over to [Adoptium](https://adoptium.net/?variant=openjdk11) to download the
OpenJDK for your platform.## Building
This project uses Maven, so to build the required JAR file, you need to run:
```bash
$ mvn package
```This will spit out a "shaded" uber JAR, that is a JAR file packaged with all
required dependencies packed into a single JAR file.## Deployment
### FusionAuth Cloud
The required JAR file need to be sent on to the FusionAuth's support team via
email or via a support ticket, so they can plug it directly into the specific
cloud deployment.### FusionAuth
Take the shaded JAR and copy/paste/add it into FusionAuth's `plugin` folder.## References
- [Argon2 Github repository](https://github.com/P-H-C/phc-winner-argon2)
- [Argon2 Binding for the JVM Github repository](https://github.com/phxql/argon2-jvm)
- [FusionAuth Plugins](https://fusionauth.io/docs/v1/tech/plugins/writing-a-plugin/)