D16134: Secure history file
Dórian Langbeck
noreply at phabricator.kde.org
Thu Oct 11 17:24:44 BST 2018
langbeck created this revision.
langbeck added reviewers: tcanabrava, hindenburg, Konsole.
Herald added a project: Konsole.
Herald added a subscriber: konsole-devel.
langbeck requested review of this revision.
REVISION SUMMARY
Create a secure version of `HistoryFile` (`SecureHistoryFile`) that encrypts the data, using an ephemeral key, before writing to the underlying file.
Also changes `HistoryScrollFile` to use a `SecureHistoryFile` (instead of normal `HistoryFile`) to keep `_cells` and `_index` secure.
TEST PLAN
Edit the Konsole profile to enable "Unlimited scrollback" and 2 (for `_cells` and `_index`) of 3 of the temporary files created will be encrypted with an ephemeral AES-128 key using CTR cipher mode.
REPOSITORY
R319 Konsole
REVISION DETAIL
https://phabricator.kde.org/D16134
AFFECTED FILES
CMakeLists.txt
src/CMakeLists.txt
src/History.cpp
src/History.h
src/main.cpp
To: langbeck, tcanabrava, hindenburg, #konsole
Cc: konsole-devel, herrold, ngraham, maximilianocuria, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20181011/6adfd025/attachment.html>
More information about the konsole-devel
mailing list