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

encrypt passwords and keys #1508

Closed
7 tasks done
abarz722 opened this issue Jan 28, 2022 · 1 comment
Closed
7 tasks done

encrypt passwords and keys #1508

abarz722 opened this issue Jan 28, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@abarz722
Copy link
Contributor

abarz722 commented Jan 28, 2022

goal: database must not contain any cleartext passwords (currently mainly fw management api passwords for importing)

  • put the encryption key (mainkey) into file in etc/secrets
  • to keep it idempotent, upgrade script must first check if a key is already encrypted by trying to decrypt
  • all reads to passwords (both in importer and C# parts) must read the mainkey and decrypt the passwords with it, then resume as before
  • all pwd writes must add salt and enrypt before writing passwords/keys
  • encrypt ldap_connections.ldap_search_user_pwd
  • decrypt pwd in importer
  • decrypt pwd in autodiscovery (mw)
@abarz722 abarz722 added the enhancement New feature or request label Jan 28, 2022
@abarz722 abarz722 added this to the phase 2 - 2022 milestone Jan 28, 2022
@tpurschke tpurschke self-assigned this Mar 8, 2024
@tpurschke
Copy link
Contributor

needed for compliance reasons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants