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

Avoid keeping Account alive via a shared ptr in ClientSideEncryption #2840

Merged
merged 2 commits into from
Jan 26, 2021

Conversation

er-vin
Copy link
Member

@er-vin er-vin commented Jan 19, 2021

This account object was really only used during the initialization phase
or for forgetting the sensitive data. So let's receive it as parameter
there and pass it on from job to job as needed.

Signed-off-by: Kevin Ottens kevin.ottens@nextcloud.com

FlexW
FlexW previously approved these changes Jan 19, 2021
@FlexW FlexW self-requested a review January 19, 2021 14:53
@er-vin er-vin dismissed FlexW’s stale review January 19, 2021 15:26

Needs testing

@er-vin
Copy link
Member Author

er-vin commented Jan 26, 2021

/rebase

Kevin Ottens added 2 commits January 26, 2021 11:20
This account object was really only used during the initialization phase
or for forgetting the sensitive data. So let's receive it as parameter
there and pass it on from job to job as needed.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
@github-actions github-actions bot force-pushed the avoid_keeping_account_alive_from_subobject branch from 5bff1b0 to d20fc1a Compare January 26, 2021 11:20
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-2840-d20fc1a6cefb9528e3aa919f6e13a6438241de30-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@er-vin er-vin merged commit 56b7ec7 into master Jan 26, 2021
@er-vin er-vin deleted the avoid_keeping_account_alive_from_subobject branch January 26, 2021 13:00
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