Skip to content

[reference][configuration][security]Added key_length for pbkdf2 encoder #4369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 5, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,24 @@ Each part will be explained in the next section.
hash_algorithm: sha512
encode_as_base64: true
iterations: 1000
key_length: 40

# Example options/values for what a custom encoder might look like
Acme\DemoBundle\Entity\User3:
id: my.encoder.id

# BCrypt encoder
# see the note about bcrypt below for details on specific dependencies
Acme\DemoBundle\Entity\User4:
algorithm: bcrypt
cost: 13

# Plaintext encoder
# it does not do any encoding
Acme\DemoBundle\Entity\User5:
algorithm: plaintext
ignore_case: false

providers: # Required
# Examples:
my_in_memory_provider:
Expand Down