Git Product home page Git Product logo

inventage / keycloak-password-hashprovider-extension Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 19.77 MB

The Keycloak password hashprovider extension enables Keycloak to support other password hashing algorithm than the built-in PBKDF2.

Home Page: https://keycloak.ch

License: MIT License

Shell 20.55% Dockerfile 2.89% Java 31.88% FreeMarker 12.04% CSS 32.64%
keycloak passwordhashprovider keycloak-extension keycloak-spi

keycloak-password-hashprovider-extension's Introduction

Keycloak-password-hashprovider-extension

GitHub release (latest SemVer) Keycloak Dependency Version GitHub Release Date Github Last Commit

CI build open issues

What is it good for?

The Keycloak Password Hashprovider extension enables Keycloak to support other password hashing algorithm than the built-in PBKDF2.

Currently, we support

  • (only available on Keycloak version 21+): validation of Argon2 and BCrypt password hashes. This can be used for migrating existing user credentials to keycloak. Please consult the User migration guide for more information.

Installation

Our Keycloak Password Hashprovider extension can be downloaded as a Java Archive (jar) and can simply be placed in the providers directory of your Keycloak.

Development

This project is based on our Custom Keycloak repository. It is structured as a multi-module Maven build and contains the following top-level modules:

  • config : provides the build stage configuration and the setup of Keycloak
  • container : creates the custom docker image
  • docker-compose : provides a sample for launching the custom docker image
  • extensions : provides the keycloak password hashprovider extension
  • server : provides a Keycloak installation for local development & testing
  • themes : provides samples for custom themes

Please see the tutorial for the setup of this project.

Sponsors

sozialinfo.ch

Support

For more support for this extension or your Keycloak project in general have a look at keycloak.ch

keycloak-password-hashprovider-extension's People

Contributors

tangkevkev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

keycloak-password-hashprovider-extension's Issues

Argon2 password encoding

Currently we only support validation of existing Argon2 password hashes. To be able to migrate a user's password to Argon2, the implementation of the two methods encode and encodedCredential in the ArgonPasswordHashProvider class is required.

If we want to support custom parameters (which argon version, salt length, etc), we would need to implement custom PasswordPolicyProvider as well.

BCrypt Password Encoding

Currently we only support validation of existing BCrypt password hashes. To be able to migrate a user's password to BCrypt, the implementation of the two methods encode and encodedCredential in the Typo3BCryptPasswordHashProvider class is required.

If we want to support custom parameters (which bcrypt version, salt length, etc), we would need to implement custom PasswordPolicyProvider as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.