Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated README and added UPGRADE_v5 guide
- Loading branch information
Showing
6 changed files
with
58 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Used by "mix format" | ||
[ | ||
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
/_build | ||
/deps | ||
/doc | ||
/priv | ||
/.dialyzer | ||
/_build/ | ||
/cover/ | ||
/deps/ | ||
/doc/ | ||
/priv/ | ||
/.fetch | ||
erl_crash.dump | ||
*.ez |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
language: elixir | ||
sudo: false | ||
|
||
elixir: | ||
- 1.7.3 | ||
|
||
- 1.8.1 | ||
otp_release: | ||
- 21.1 | ||
|
||
script: | ||
- mix test | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Upgrading to version 5 | ||
|
||
1. remove `:comeonin` from the `deps` function in your mix.exs file. | ||
2. update `:argon2_elixir` to version 2.0, `:bcrypt_elixir` to version 2.0, | ||
or `:pbkdf2_elixir` to version 1.0. | ||
3. using the conversion table below, edit the hashing functions. | ||
|
||
| Comeonin v4 | Comeonin v5 | | ||
| :---------- | :---------- | | ||
| Comeonin.Argon2.add_hash | Argon2.add_hash | | ||
| Comeonin.Argon2.check_pass | Argon2.check_pass | | ||
| Comeonin.Argon2.hashpwsalt | Argon2.hash_pwd_salt | | ||
| Comeonin.Argon2.checkpw | Argon2.verify_pass | | ||
| Comeonin.Argon2.dummy_checkpw | Argon2.no_user_verify | | ||
| Comeonin.Bcrypt.add_hash | Bcrypt.add_hash | | ||
| Comeonin.Bcrypt.check_pass | Bcrypt.check_pass | | ||
| Comeonin.Bcrypt.hashpwsalt | Bcrypt.hash_pwd_salt | | ||
| Comeonin.Bcrypt.checkpw | Bcrypt.verify_pass | | ||
| Comeonin.Bcrypt.dummy_checkpw | Bcrypt.no_user_verify | | ||
| Comeonin.Pbkdf2.add_hash | Pbkdf2.add_hash | | ||
| Comeonin.Pbkdf2.check_pass | Pbkdf2.check_pass | | ||
| Comeonin.Pbkdf2.hashpwsalt | Pbkdf2.hash_pwd_salt | | ||
| Comeonin.Pbkdf2.checkpw | Pbkdf2.verify_pass | | ||
| Comeonin.Pbkdf2.dummy_checkpw | Pbkdf2.no_user_verify | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters