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

(fix): Encrypt sensitive values(haproxy_password) in the DB #451

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

oleksandr-nc
Copy link
Contributor

Subj. Added a migration for encryption, it needs to be executed manually for the master branch (I didn't increase the application version, because this branch will only be released with Nextcloud 31):

sudo -u www-data php occ migrations:execute app_api 5000Date20241120135411

For backports, we will increase the application version, and in Nextcloud 30 or 29 nothing will need to be done manually.

@oleksandr-nc oleksandr-nc force-pushed the fix/ecnrypt-sensetive-values branch from 39cbee6 to 5171441 Compare November 20, 2024 15:26
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@oleksandr-nc oleksandr-nc merged commit 398bb2a into main Nov 21, 2024
30 checks passed
@oleksandr-nc oleksandr-nc deleted the fix/ecnrypt-sensetive-values branch November 21, 2024 09:16
@oleksandr-nc
Copy link
Contributor Author

/backport to stable30

@oleksandr-nc
Copy link
Contributor Author

/backport to stable29

$qbSelect = $this->connection->getQueryBuilder();
$qbSelect->select(['id', 'deploy_config'])
->from('ex_apps_daemons')
->where(1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks postgres due to type mismatch.

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.

4 participants