Bug 133710 - Notarization gets corrupted after initial launch
Summary: Notarization gets corrupted after initial launch
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: macOS-UI-polish
  Show dependency treegraph
 
Reported: 2020-06-05 18:07 UTC by eisa01
Modified: 2025-03-09 17:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eisa01 2020-06-05 18:07:52 UTC
Description:
LibreOffice is notarised on Catalina, but the .app bundle gets corrupted after first launch breaking and removing the notarisation

Steps to Reproduce:
1. Open LibreOffice
2. Open a Writer window
3. Quite LibreOffice
4. codesign --test-requirement="=notarized" --verify --verbose LibreOffice.app/

Actual Results:
codesign --test-requirement="=notarized" --verify --verbose LibreOffice.app/
LibreOffice.app/: a sealed resource is missing or invalid
file added: /Applications/LibreOffice.app/Contents/Resources/__pycache__/unohelper.cpython-37.pyc
file added: /Applications/LibreOffice.app/Contents/Resources/__pycache__/uno.cpython-37.pyc
file added: /Applications/LibreOffice.app/Contents/Resources/__pycache__/pythonloader.cpython-37.pyc
file added: /Applications/LibreOffice.app/Contents/Resources/extensions/dict-en/pythonpath/__pycache__/lightproof_impl_en.cpython-37.pyc
file added: /Applications/LibreOffice.app/Contents/Resources/extensions/dict-en/pythonpath/__pycache__/lightproof_opts_en.cpython-37.pyc
file added: /Applications/LibreOffice.app/Contents/Resources/extensions/dict-en/pythonpath/__pycache__/lightproof_en.cpython-37.pyc
file added: /Applications/LibreOffice.app/Contents/Resources/extensions/dict-en/pythonpath/__pycache__/lightproof_handler_en.cpython-37.pyc

Expected Results:
Output similar to e.g., Firefox.app

codesign --test-requirement="=notarized" --verify --verbose Firefox.app/
Firefox.app/: valid on disk
Firefox.app/: satisfies its Designated Requirement
Firefox.app/: explicit requirement satisfied


Reproducible: Always


User Profile Reset: No



Additional Info:
macOS 10.15.5 (19F101)
Comment 1 Ahmad Haris 2020-07-04 04:09:05 UTC
I reproduce this issue, and it's happen in macOS 10.15.5.

anyway, I also try to check Blender, but it's have similiar issue.
Comment 2 Telesto 2020-07-07 11:37:43 UTC
Based on comment 1
Comment 3 QA Administrators 2022-07-08 03:36:47 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2024-07-08 03:16:26 UTC Comment hidden (obsolete)
Comment 5 eisa01 2025-03-09 17:44:04 UTC
Running the codesign command on my current LO works as expected