Issue 88919 - Signed document cannot be exported to PDF
Summary: Signed document cannot be exported to PDF
Status: CLOSED DUPLICATE of issue 47895
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.4.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-01 14:35 UTC by jvromans
Modified: 2018-08-04 16:36 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jvromans 2008-05-01 14:35:55 UTC
When a (writer) document is digitally signed, it can still be printed but it
cannot be exported to PDF without destroying the signature.
When trying to export to PDF, a dialog pops up: "Saving will remove all existing
signatures. Do you want to continue saving the document?".
Since exporting to PDF is equivalent to printing, this should be possible
without restrictions.
Comment 1 philipp.lohmann 2008-05-05 10:13:38 UTC
Exporting to PDF is not equivalent to printing. It is more like exporting to RTF
or Word format, afterwards you have a file in a different document format.

However since we don't seem to have an issue for signature support yet, let's
take this one.
Comment 2 philipp.lohmann 2008-05-05 10:14:47 UTC
adding Giuseppe and Malte on CC
Comment 3 jvromans 2008-05-05 10:37:14 UTC
I strongly disagree. PDF export is a usability feature. You should view it from
a usability perspective, not from a programmer's perspective.

Export to PDF creates a viewable/printable (but in essence immutable!) image of
the document. It is not the same as export to RTF of Word, where you --indeed--
get an editable copy of the document in a different format. "Export as PDF" is a
separate menu item, a separate toolbar button. With reason.

Please reconsider changing this to DEFECT.
Comment 4 Giuseppe Castagno (aka beppec56) 2008-05-05 11:06:56 UTC
@pl. Double to issue 47895?
Just to not loose the votes there, having a single issue for the same topic and
the right component...
Comment 5 philipp.lohmann 2008-05-05 11:17:16 UTC
beppec56: you're right. So I'll change the headline back and set to defect
again. However from a security point of you simply losing a signature without
warning the user is a  big "no-no". Anyway that would be a framework issue, not gsl.

mt: what's your opinion ?
Comment 6 malte_timmermann 2008-05-05 11:49:29 UTC
My comments on this:

Signing a PDF is a different (and not implemented) feature, so this issue is
about usability.

I was astonished to see the "Saving will remove..." message, since we are not
doing a "Save as" here, but an "Export".

People can't rely on getting 100% features when doing an export to a different
format.

So we have 2 options:
a) Simply ignore the signature when exporting to any format, no warning
b) Different warning: "Document is digitally signed. The exported document will
not contain the Signatures" [OK]. No Cancel needed, because that can be done
when the export/FilePicker comes up.

If we had some checkmark "never show this warning again" I would like to have B,
otherwise it can become annoing.

We do NOT have option C - simply export the signature.

Independent from having a PDF signature feature:
You can never export a signature!
You create a new/different doc, so you need to calculate AND SIGN other hashes.
You need the private key from the signer, so technically you can only export and
sign again.
Comment 7 jvromans 2008-05-05 13:07:41 UTC
mt: I mostly agree.

Exporting, just like 'Save As...', means creating a new document. The old
(current) document does not change and hence its signatures (if any) will not be
destroyed.

No warning about losing signatures is necessary. Anyone who expects a signed
document to save as or export into a new, signed document does not understand
the basics of document signing.
Comment 8 eppesuigoccas 2008-05-06 10:40:45 UTC
Hi all,
I agree that this report is due to a wrong message "Saving will remove all
existing signatures. Do you want to continue saving the document?".

Are you going to close this report by removing the current message?

Bye,
Giuseppe
Comment 9 malte_timmermann 2008-05-15 16:45:19 UTC
MT->MAV: Please handle "Export" differently...
Comment 10 Marcus 2017-05-20 10:47:37 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 11 oooforum (fr) 2018-08-04 16:35:59 UTC
Already reported

*** This issue has been marked as a duplicate of issue 47895 ***