Skip to content

Commit

Permalink
docs: Fix SECRET_KEY variable description (outline#2229)
Browse files Browse the repository at this point in the history
Updated the description of the SECRET_KEY variable in the .env.sample
file to clarify that the key needs to be 32 bytes long and hex-encoded.
The previous description of "32 character hexadecimal" was confusing
as it left open the possibility of a hex-encoded 16-byte key.
  • Loading branch information
g-psantos authored Jun 16, 2021
1 parent 277c37d commit d205c48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

# –––––––––––––––– REQUIRED ––––––––––––––––

# Generate a unique 32 character hexadecimal key. The format is important as this
# value is fed directly into encryption libraries. You should use `openssl rand -hex 32`
# Generate a hex-encoded 32-byte random key. You should use `openssl rand -hex 32`
# in your terminal to generate a random value.
SECRET_KEY=generate_a_new_key

Expand Down

0 comments on commit d205c48

Please sign in to comment.