Skip to content

Commit

Permalink
fix: use bcrypt for password hashing in example
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Nov 8, 2021
1 parent 8393e0a commit a9196f2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions contrib/quickstart/kratos/email-password/kratos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,9 @@ ciphers:
algorithm: xchacha20-poly1305

hashers:
argon2:
parallelism: 1
memory: 128MB
iterations: 2
salt_length: 16
key_length: 16
algorithm: bcrypt
bcrypt:
cost: 8

identity:
default_schema_url: file:///etc/config/kratos/identity.schema.json
Expand Down

0 comments on commit a9196f2

Please sign in to comment.