https://bugs.documentfoundation.org/show_bug.cgi?id=174182

--- Comment #3 from Morten B <[email protected]> ---
Created attachment 209582
  --> https://bugs.documentfoundation.org/attachment.cgi?id=209582&action=edit
F0: codesign/spctl and file changes after first Writer use, 26.8.1.1 aarch64, 3
fresh accounts (extract)

F0 RUN01 - extract from the pinned raw measurements, for tdf#174182 (attachment
v0.2, 2026-11-06)
Generated from pinned data by lav_tdf_bilag_f0_v02.py. This is an extract, not
the complete raw data; the full snapshots (per step: file inventory with
SHA-256 of every file, symlink targets, codesign/spctl output) can be provided
on request.

Machine: MacBook Air M2, macOS 26.7.1 (25G241). LibreOffice 26.8.1.1
(CFBundleShortVersionString=26.8.1.1).
DMG: LibreOffice_26.8.1.1_MacOS_aarch64.dmg, 298845477 bytes, SHA-256
ca074e0b13571efb30a31fc531c5f95e997030637325e5d5de92d67aefdf0dfc
Each account: new standard user, LibreOffice.app copied to ~/Applications,
fresh profile. No additional extension was installed in any account up to and
including S2; only account 3 had a minimal Python extension installed
afterwards (S3).
Snapshot after each step with LibreOffice not running: file inventory with
SHA-256, codesign --verify --deep --strict,
spctl --assess --type execute -vv.
Steps: S0 after copy | S1 after first launch (Start Center), quit | S2 after
new Writer document, a short test text was entered, 60 s, closed without
saving, quit | (account 3 only: S3 after installing a minimal Python extension,
S4 after
relaunch, S5 after invoking it once) | SR1 after relaunching LibreOffice | SR2
after restarting the Mac and relaunching.
Note on account 1: the entered test text contained two extra words at the end
("Kopier teksten", Danish for "copy the text"); this does not affect the
measurement.

=== Account 1 (Danish document) ===
  S0   entries=18539  codesign_rc=0 spctl_rc=0  spctl: accepted |
source=Notarized Developer ID | origin=Developer ID Application: The Document
Foundation (7P5S3ZLCN7)
  S1   entries=18539  codesign_rc=0 spctl_rc=0  spctl: accepted |
source=Notarized Developer ID | origin=Developer ID Application: The Document
Foundation (7P5S3ZLCN7)
  S2   entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  SR1  entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  SR2  entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid

=== Account 2 (English document, grammar checking on) ===
  S0   entries=18539  codesign_rc=0 spctl_rc=0  spctl: accepted |
source=Notarized Developer ID | origin=Developer ID Application: The Document
Foundation (7P5S3ZLCN7)
  S1   entries=18539  codesign_rc=0 spctl_rc=0  spctl: accepted |
source=Notarized Developer ID | origin=Developer ID Application: The Document
Foundation (7P5S3ZLCN7)
  S2   entries=18548  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  SR1  entries=18548  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  SR2  entries=18548  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid

=== Account 3 (Danish document; after S2 a minimal Python extension was
installed) ===
  S0   entries=18539  codesign_rc=0 spctl_rc=0  spctl: accepted |
source=Notarized Developer ID | origin=Developer ID Application: The Document
Foundation (7P5S3ZLCN7)
  S1   entries=18539  codesign_rc=0 spctl_rc=0  spctl: accepted |
source=Notarized Developer ID | origin=Developer ID Application: The Document
Foundation (7P5S3ZLCN7)
  S2   entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  S3   entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  S4   entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  S5   entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  SR1  entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid
  SR2  entries=18547  codesign_rc=1 spctl_rc=1  spctl: a sealed resource is
missing or invalid

=== Changes between S1 and S2 (identical in all three accounts except where
noted) ===
codesign --verify --deep --strict output at S2 (account 1):
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/encodings/__pycache__/aliases.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/encodings/__pycache__/utf_8.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/encodings/__pycache__/__init__.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/copyreg.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/__future__.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/contextlib.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/operator.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/socket.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/functools.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/reprlib.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/textwrap.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/keyword.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/_colorize.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/warnings.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/enum.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/types.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/selectors.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/linecache.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/__pycache__/traceback.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/collections/__pycache__/__init__.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/re/__pycache__/_compiler.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/re/__pycache__/_constants.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/re/__pycache__/_casefix.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/re/__pycache__/__init__.cpython-313.pyc
  file modified:
~/Applications/LibreOffice.app/Contents/Frameworks/LibreOfficePython.framework/Versions/Current/lib/python3.13/re/__pycache__/_parser.cpython-313.pyc
Content changed (shipped, sealed files), from the snapshot comparison:
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/__future__.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/_colorize.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/contextlib.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/copyreg.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/enum.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/functools.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/keyword.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/linecache.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/operator.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/reprlib.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/selectors.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/socket.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/textwrap.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/traceback.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/types.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/__pycache__/warnings.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/collections/__pycache__/__init__.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/encodings/__pycache__/__init__.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/encodings/__pycache__/aliases.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/encodings/__pycache__/utf_8.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/re/__pycache__/__init__.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/re/__pycache__/_casefix.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/re/__pycache__/_compiler.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/re/__pycache__/_constants.cpython-313.pyc
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/re/__pycache__/_parser.cpython-313.pyc
Added (not in the DMG):
  Contents/Resources/__pycache__
  Contents/Resources/__pycache__/pythonloader.cpython-313.pyc
  Contents/Resources/__pycache__/uno.cpython-313.pyc
  Contents/Resources/__pycache__/unohelper.cpython-313.pyc
  Contents/Resources/extensions/dict-en/pythonpath/__pycache__
 
Contents/Resources/extensions/dict-en/pythonpath/__pycache__/lightproof_handler_en.cpython-313.pyc
 
Contents/Resources/extensions/dict-en/pythonpath/__pycache__/lightproof_impl_en.cpython-313.pyc
 
Contents/Resources/extensions/dict-en/pythonpath/__pycache__/lightproof_opts_en.cpython-313.pyc
  account 2 only:
Contents/Resources/extensions/dict-en/pythonpath/__pycache__/lightproof_en.cpython-313.pyc

Account 3 only, after S2: installing (S3) and loading (S4) a minimal Python
extension caused no change; between S4 and S5
(after invoking the extension once) the content of this file changed:
 
Contents/Frameworks/LibreOfficePython.framework/Versions/3.13/lib/python3.13/encodings/__pycache__/ascii.cpython-313.pyc
No other change in any account between any other pair of consecutive snapshots
(S0->S1, S2->...->SR2).
Relaunch (SR1) and relaunch after restarting the Mac (SR2): LibreOffice started
normally - operator observation, not independently logged.

Not established: which process wrote the files; writes between snapshots; other
macOS/LibreOffice versions or Macs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to