| Summary: | write error when saving a xlsx file with gpg encryption (and unexpected result with ods+gpg) | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | help.7ocym |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | stephane.guillou, vasily.melenchuk |
| Priority: | medium | Keywords: | bibisected, bisected |
| Version: | 7.0.0.3 release | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=155012 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 105605 | ||
|
Description
help.7ocym
2023-04-10 16:14:16 UTC
Focusing on encrypting an XLSX with an OpenPGP key, I see the same message in a recent master build: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Started in 7.0, but beforehand the file would just be saved unencrypted, so not a regression. As our documentation says, we can only encrypt ODF files with OpenPGP: https://help.libreoffice.org/7.6/en-US/text/shared/guide/openpgp.html Bibisected in linux-64-7.0 repo to: commit b9353394f46e46485fd148f2842f0c1e8e5322e3 author Vasily Melenchuk <vasily.melenchuk@cib.de> Tue Sep 03 21:08:34 2019 +0300 committer Thorsten Behrens <Thorsten.Behrens@CIB.de> Mon May 25 10:04:15 2020 +0200 [MS-OFFCRYPTO] convert oox implementation into UNO service Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84436 The change is listed in the release notes: https://wiki.documentfoundation.org/ReleaseNotes/7.0#UNO_API_changes Vasily, what do you think? If this just a case of needing a better error message to explain that OOXML can't use this? Or even better: stop earlier in the process, before letting the user select a key? hummm ok, so at least : stop earlier in the process, before letting the user select a key and display a message saying pgp encryption isn't supported as an improvement : allow gpg encrypted file to be opened and saved as "writer | gpg -e file -recipient alice@example.com \ --recipient bob@example.com" or for opening "gpg -d file | writer" I think the improvement is really useful as it is "file format agnostic" and even if it breaks MS office compatibility, a user can still open the file by decrypting it locally... |