Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store LDAP password securely #2

Open
battis opened this issue Dec 20, 2019 · 0 comments
Open

Store LDAP password securely #2

battis opened this issue Dec 20, 2019 · 0 comments

Comments

@battis
Copy link
Owner

battis commented Dec 20, 2019

Fundamentally, because we actually need to store the password, it needs to be secured.

The SettingsPLugin mixin provides the ability to define settings preprocessors for loading and saving settings. But... empirically it appears that the preprocessors are not used when adjusting settings through a Jinja template (as one does). Additionally, the best option for securing the password in the settings would be to simply obscure it (e.g. base64 encoding). Which isn't real good.

A better option might be to store the password as an environment variable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant