office-gobmx/include/sfx2
Michael Stahl 3b347664b2 tdf#105844 package,sfx2: wholesome ODF package wrapping encryption
Redo the ODF encryption by storing an ODF package and wrapping it as a
stream "encrypted-package" in another ODF package, such that there is
only one encrypted stream - this requires only one KDF computation.

* This is only enabled in Experimental mode for now.

* Avoid storing unencrypted data in the pTempFile of SfxMedium, as it
  is usually created in the same directory as the target file, which
  may be on a network share or similar less trusted location.

* SfxMedium::SetEncryptionDataToStorage_Impl() should just set an
  error status if it fails (how can it fail anyway)

* when loading a document, SfxDocPasswordVerifier extracts an encrypted
  inner package (by calling SfxMedium::TryEncryptedInnerPackage())

* SfxMedium::GetStorage() automatically decrypts an encrypted inner
  storage and sets it as the SfxMedium's xStorage

* when storing a document, SfxObjectShell::SaveTo_Impl() creates
  the wrapped storages

* One challenge is to keep the macro/scripting signature working; this
  can only be put in the inner storage, whereas the document signature
  should continue to be on the outer storage; also it must use a Zip
  storage, to see the "META-INF" directory.  This needs a new
  SfxMedium::GetScriptingStorageToSign_Impl() and changes in
  SfxMedium::SignContents_Impl().

Change-Id: Ibfee36ce3a9cd030f2aa2ce1484b6d001cba2389
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160401
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-12-07 09:28:38 +01:00
..
devtools
notebookbar lok: notebookbar: handle multiple sessions 2023-11-06 10:04:31 +01:00
sidebar
AccessibilityCheck.hxx
AccessibilityIssue.hxx tdf#43784 tdf#158114 sw accessibility: check missing linked graphic 2023-11-08 21:16:59 +01:00
app.hxx
basedlgs.hxx
bindings.hxx
brokenpackageint.hxx
chalign.hxx
charwin.hxx
childwin.hxx
classificationhelper.hxx
ctrlitem.hxx
dialoghelper.hxx
digitalsignatures.hxx
dinfdlg.hxx
dispatch.hxx
dllapi.h
docfac.hxx
docfile.hxx tdf#105844 package,sfx2: wholesome ODF package wrapping encryption 2023-12-07 09:28:38 +01:00
docfilt.hxx
docinf.hxx
docinsert.hxx
dockwin.hxx
docmacromode.hxx default to ignoring libreoffice special-purpose protocols in calc hyperlink 2023-11-09 13:29:50 +01:00
docstoragemodifylistener.hxx
doctempl.hxx
DocumentMetadataAccess.hxx
DocumentSigner.hxx
event.hxx
evntconf.hxx Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String 2023-10-23 11:04:42 +02:00
fcontnr.hxx
filedlghelper.hxx Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String 2023-10-23 11:04:42 +02:00
flatpak.hxx
frame.hxx
frmdescr.hxx
frmhtml.hxx
frmhtmlw.hxx
groupid.hxx
htmlmode.hxx
infobar.hxx
inputdlg.hxx
ipclient.hxx
linkmgr.hxx
linksrc.hxx
listview.hxx
lnkbase.hxx
lokcallback.hxx
lokcomponenthelpers.hxx
LokControlHandler.hxx
lokhelper.hxx Extended loplugin:ostr: sfx2 2023-11-19 23:23:49 +01:00
mailmodelapi.hxx
Metadatable.hxx
mieclip.hxx
minfitem.hxx
module.hxx
msg.hxx
msgpool.hxx
namedcolor.hxx
navigat.hxx
new.hxx
newstyle.hxx
objface.hxx
objitem.hxx
objsh.hxx Related: tdf#104718 Use package repair request and behavior 2023-11-29 06:23:33 +01:00
opengrf.hxx
pageids.hxx
passwd.hxx tdf#157518: enforce password policy on sfx2/ui/password.ui 2023-11-15 23:05:49 +01:00
printer.hxx
printopt.hxx tdf#157838 - UI: Part 4 - Unify lockdown behavior of Options dialog 2023-10-24 08:38:54 +02:00
progress.hxx
QuerySaveDocument.hxx
request.hxx
safemode.hxx
sfxbasecontroller.hxx
sfxbasemodel.hxx
sfxdlg.hxx
sfxhelp.hxx
sfxhtml.hxx
sfxmodelfactory.hxx
sfxresid.hxx
sfxsids.hrc tdf#146386 deprecate, remove usage of Inet::Settings::ooInetFTPProxyName 2023-11-16 19:15:26 +01:00
sfxstatuslistener.hxx
sfxuno.hxx
shell.hxx
signaturestate.hxx
stbitem.hxx
strings.hrc Related: tdf#104718 Use package repair request and behavior 2023-11-29 06:23:33 +01:00
styfitem.hxx
styledlg.hxx
StyleManager.hxx
StylePreviewRenderer.hxx
tabdlg.hxx
tbxctrl.hxx
templatedlg.hxx
templatedlglocalview.hxx
templatelocalview.hxx
templateproperties.hxx
templdlg.hxx tdf#156114 UNO commands / menu entries to enable PS/CS spotlight 2023-10-18 04:13:55 +02:00
thumbnailview.hxx tdf#158404 Start Center: remove ability to do multiselections 2023-12-04 20:16:06 +01:00
thumbnailviewitem.hxx Resolves tdf#158084 - Start Center hover color 2023-11-14 13:26:53 +01:00
toolbarids.hxx
tplpitem.hxx
userinputinterception.hxx
viewfac.hxx
viewfrm.hxx
viewsh.hxx
watermarkitem.hxx
weldutils.hxx
XmlIdRegistry.hxx
zoomitem.hxx