Bug 88429 - PDF signatures - RFC3161 timestamps - Add code to select the current default TSA URL
Summary: PDF signatures - RFC3161 timestamps - Add code to select the current default ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 88427 88428
Blocks: 84881
  Show dependency treegraph
 
Reported: 2015-01-15 00:57 UTC by Markus Wernig
Modified: 2015-03-28 13:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wernig 2015-01-15 00:57:45 UTC
When timestamping is enabled for a digitally signed Export as PDF, the signing code needs to read the URL of the configured TSAs and select the one currently set as default.

It will then use that URL to retrieve a timestamp to embed in the signature.

This request is only for implementing the selection mechanism.
Comment 1 Markus Wernig 2015-01-15 01:46:08 UTC
The code only needs to be executed if timestamping was enabled for this particular export. Else the default (time from local computer) should be used as it is currently
Comment 2 Robinson Tryon (qubit) 2015-01-15 03:42:17 UTC
(In reply to Markus Wernig from comment #0)
> This request is only for implementing the selection mechanism.

Part of Bug 84881 - Add RFC 3161 timestamp when digitally signing PDF (tracker)
Status -> NEW
Severity -> enhancement
Comment 3 Tor Lillqvist 2015-01-19 07:29:46 UTC
Does "select" here means that the user selects manually, or that there would be code to select one automatically, based on some heuristic (like reachability and response time)?
Comment 4 Markus Wernig 2015-01-19 08:00:49 UTC
No. The code must select the one TSA URL configured as default in the Options. Basically, it should just read in the config, get the TSA URLs (if multiple) and select the default one. That URL is then to be used in the next step (#88431).
Comment 5 Markus Wernig 2015-03-28 13:06:01 UTC
This will be in 4.5 (It's in nightly since about March 1st). Thanks for the excellent work!