Skip to content

Commit

Permalink
feature #4369 [reference][configuration][security]Added key_length fo…
Browse files Browse the repository at this point in the history
…r pbkdf2 encoder (Guillaume-Rossignol)

This PR was merged into the 2.3 branch.

Discussion
----------

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

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | >=2.2
| Fixed tickets | -

Commits
-------

730dbb8 [Config] Complete security encoder in full default configuration
4b9a885 [reference][configuration][security]Added key_length for pbkdf2 encoder
  • Loading branch information
weaverryan committed Nov 5, 2014
2 parents 2ab2e1f + 730dbb8 commit 0e80aba
Showing 1 changed file with 13 additions and 0 deletions.
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

0 comments on commit 0e80aba

Please sign in to comment.