1. Create a new Writer document; 2. Tools->Macros->Organize Macros->Basic; 3. [Organizer]; 4. "Libraries" tab -> Location: Untitled 1 5. [New]->"Library1"->[OK] 6. [Password]->"1234"->[OK] 7. "Modules" tab -> Untitled 1 -> Library1/Module1 ->[Edit] 8. Add something to Main - e.g., MsgBox "foo" 9. Save 10. Reload (confirm macros) 11. Tools->Macros->Run Macro; select document's Library1/Module1/Main 12. [Run] -> shows the message box 13. Save (Ctrl+S) => Assertion is failed at https://opengrok.libreoffice.org/xref/core/package/source/zippackage/ZipPackageStream.cxx?r=e5aa87ae#663
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6e76e8a210e51e7c79e0e845c7a4c0db9fb55abc tdf#162841 package: fix loading AES-GCM encrypted macros from ODF It will be available in 25.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
fixed on master
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/40c4cdf056a89d41037274003793c5349f7c909e tdf#162841 package: fix loading AES-GCM encrypted macros from ODF It will be available in 24.8.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-24-2": https://git.libreoffice.org/core/commit/a4900a512ca66932423af32af250deb8b5f4f258 tdf#162841 package: fix loading AES-GCM encrypted macros from ODF It will be available in 24.2.7. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.