[Libreoffice-bugs] [Bug 154747] write error when saving a xlsx file with gpg encryption (and unexpected result with ods+gpg)

2023-04-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154747

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

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

[Libreoffice-bugs] [Bug 154747] write error when saving a xlsx file with gpg encryption (and unexpected result with ods+gpg)

2023-04-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154747

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||stephane.guillou@libreoffic
   ||e.org,
   ||vasily.melenc...@cib.de
 Whiteboard| QA:needsComment|
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW
 Blocks||105605
   Keywords||bibisected, bisected
Version|7.4.4.2 release |7.0.0.3 release

--- Comment #1 from Stéphane Guillou (stragu) 
 ---
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   Tue Sep 03 21:08:34
2019 +0300
committer   Thorsten Behrens   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?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=105605
[Bug 105605] [META] Digital signatures bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154747] write error when saving a xlsx file with gpg encryption (and unexpected result with ods+gpg)

2023-04-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154747

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||5012

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

[Libreoffice-bugs] [Bug 154747] write error when saving a xlsx file with gpg encryption (and unexpected result with ods+gpg)

2023-04-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154747

--- Comment #2 from help.7o...@8shield.net ---
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 al...@example.com \
--recipient b...@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...

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