Bug 150059

Summary: Invalid data stored when permanently trusting a certificate that signed a macro
Product: LibreOffice Reporter: documentfoundation <documentfoundation>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: medium    
Version: 7.3.4.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard: QA:needsComment
Crash report or crash signature: Regression By:

Description documentfoundation@pelly.co 2022-07-19 08:13:56 UTC
...That's my guess anyway.

Version: 7.3.4.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Ubuntu package version: 1:7.3.4-0ubuntu0.22.04.1
Calc: threaded

1) create a module in an empty spreadsheet
2) sign it from the file menu with your openpgp cert
3) close the file
4) open the signed spreadsheet. the security warning advises that there are macros "signed by:" with no info.
Choose your adventure:
5) select "view signatures" and LO hangs forever
Or
5) tick "always trust macros from this source", then enable macros
6) visit tools > options > libreOffice > security > macro security and enjoy the new error about invalid data
7) it seems that you have to manually remove the bad data in registrymodifications.xcu