Permalink
Browse files

feature #4369 [reference][configuration][security]Added key_length fo…

…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 0e80aba9c96efc4c6c70c0920d679182571fe97e
Showing with 13 additions and 0 deletions.
  1. +13 −0 reference/configuration/security.rst
@@ -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:

0 comments on commit 0e80aba

Please sign in to comment.