You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(encryption): decrypt versions and trashbin so encryption can be disabled (#41624)
* fix(encryption): decrypt versions and trashbin so encryption can be disabled
occ encryption:decrypt-all only walked the regular "files" folder, leaving
the "encrypted" flag set on file cache entries under "files_versions" and
"files_trashbin". Since occ encryption:disable refuses while any file cache
row is still flagged as encrypted, administrators could not disable
encryption even though decrypt-all reported success.
decrypt-all now also descends into "files_versions" and "files_trashbin"
when they exist, and the disable command now lists the paths that are still
flagged as encrypted along with a remediation hint instead of printing a
generic message.
Fixes#41623
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
* fix(encryption): cap reported encrypted paths at 20 with a summary count
Address review feedback: instead of an arbitrary 50-path cap, print at most
20 still-encrypted paths so the output fits on screen, followed by an exact
"... and N more still encrypted" summary. The count is determined with a
dedicated COUNT(*) query so the full file cache is never loaded into memory.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
---------
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments