Commit a16a9c0
fix(e2ee): fix certificate migration
ensure we do store in the metadata file the properly encrypted metadata
key
ensure we would update the user own certificate before eventually
encrypting again the metadata key
do this before we would try to write the metadata file and ensure it is
writtent with updated values instead of getting a copy of the old values
(before the certificate change)
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
[skip ci]1 parent 40fe086 commit a16a9c0
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
605 | 615 | | |
606 | 616 | | |
607 | 617 | | |
| |||
0 commit comments