Show a broken lock icon for unencrypted subdirectory
authorIvan Čukić <ivan.cukic@kde.org>
Thu, 28 May 2020 18:23:55 +0000 (20:23 +0200)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Tue, 2 Jun 2020 15:50:18 +0000 (15:50 +0000)
commitc800d9149eea045fe30ddff186bb2d00fae6712c
tree71f30cdcdcfeba3f31be97482f9c47cb391b4495
parentf286603ffe7d8423fc0abcbb3047741d5b7d754a
Show a broken lock icon for unencrypted subdirectory

The E2E application allows creating unencrypted subdirectories
in an encrypted parent. This is a big privacy problem.

This patch shows a red broken lock icon for these subdirectories
in the NC client UI.

Signed-off-by: Ivan Čukić <ivan.cukic@kde.org>
src/gui/folderstatusmodel.cpp
src/libsync/clientsideencryption.cpp
src/libsync/clientsideencryption.h
theme.qrc
theme/lock-broken.svg [new file with mode: 0644]