[stable-4.0] Bugfix/e2ee fixes for hardware certificate end to end encryption#9614
Merged
mgallien merged 4 commits intostable-4.0from Mar 12, 2026
Merged
[stable-4.0] Bugfix/e2ee fixes for hardware certificate end to end encryption#9614mgallien merged 4 commits intostable-4.0from
mgallien merged 4 commits intostable-4.0from
Conversation
we need to use the certificate that was used to encrypt folder metadata when reading and decrypting them Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
we also want to get the fingerprint of a software certificate not only for hardware ones should enable us to have correct behavior in all cases (and maybe be able to migrate software certificates if there is a need) Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
during discovery of all certificates, the private key handle can become invalid to avoid having invalid references, rather store the certificate handle and use it to get the cached key Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
ensure the proper owner user certificate is used after a migration Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
mgallien
approved these changes
Mar 12, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Backport of PR #9514