Skip to content

Commit

Permalink
docs: add secret key spec
Browse files Browse the repository at this point in the history
I was getting some odd errors because my secret key wasn't supported. Turns out there's fairly strict requirements to the secret key as a result of how `Hex::decode()` is used. paragonie/constant_time_encoding#18
  • Loading branch information
andheiberg authored Jul 26, 2018
1 parent e86e037 commit d799544
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ ambta_doctrine_encrypt:

### Secret key

The secret key should be a max 32 byte hexadecimal string (`[0-9a-fA-F]`).

Secret key is generated if there is no key found. This is automatically generated and stored in the folder defined in the configuration

```yml
Expand Down

0 comments on commit d799544

Please sign in to comment.