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

[WIP] Encrypt extra_data to not expose things that might be used by authenticators #378

Draft
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

thedoubl3j
Copy link
Member

When a user logs in through an authenticator we capture information about the login into a field called extra_data. The authenticator (ldap/keycloak/github/any others) could add sensitive information which is then plain text in the database.

This PR encrypts that data before it goes in to the database and includes test coverage for those functions.

I also included an update to the requirements file for the dev environment as they are needed for testing/migration making for test app. I can split those out into a separate PR if needed. Django is pinned to the same versions that are required for regular install.

Testing Steps

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

Successfully merging this pull request may close these issues.

None yet

1 participant