Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1422] More secure default for the repoze secret key
The who.ini file has a secret key used during authentication. To make sure users don't forget to update it we can use the beaker session secret which is generated randomly when creating the ckan ini file. If users define a secret in the who.ini file, this one will be used. To do this, we use a small custom plugin that checks the secret key and calls the core repoze plugin afterwards.
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters