Display widget signature - #13214
Display widget signature#13214
Conversation
calixteman
commented
Apr 10, 2021
- but don't validate them for now;
- Firefox will display a bar to warn that the signature validation is not supported (see https://bugzilla.mozilla.org/show_bug.cgi?id=854315)
- almost all (all ?) pdf readers display signatures;
- validation is done in edge but for now it's behind a pref.
31c3384 to
5bd4b8d
Compare
Snuffleupagus
left a comment
There was a problem hiding this comment.
Do we have any existing reference-tests which will cover these changes? If not, can you please add one?
(We probably want to defer this to a follow-up, but we should perhaps consider if/how we want to display a warning in the GENERIC-viewer as well.)
Snuffleupagus
left a comment
There was a problem hiding this comment.
r=me, with passing tests; thank you!
|
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://3.101.106.178:8877/edf3a33c94c93e2/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.67.70.0:8877/8c432dcf69fb386/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/8c432dcf69fb386/output.txt Total script time: 25.07 mins
Image differences available at: http://54.67.70.0:8877/8c432dcf69fb386/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/edf3a33c94c93e2/output.txt Total script time: 28.55 mins
Image differences available at: http://3.101.106.178:8877/edf3a33c94c93e2/reftest-analyzer.html#web=eq.log |
|
@calixteman Unfortunately I don't have enough access rights to be able to comment on the upstream patch in Phabricator, but I found a bug in there: |
- but don't validate them for now; - Firefox will display a bar to warn that the signature validation is not supported (see https://bugzilla.mozilla.org/show_bug.cgi?id=854315) - almost all (all ?) pdf readers display signatures; - validation is done in edge but for now it's behind a pref.
|
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/f90cd937a5806b8/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/f90cd937a5806b8/output.txt Total script time: 4.39 mins Published |
|
Looks good to me too; thanks! Let's do this, especially since we can now properly warn users about the missing validation and this has been requested very often. /botio makeref |
From: Bot.io (Linux m4)ReceivedCommand cmd_makeref from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/a96e7f77d1d93b3/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @timvandermeij received. Current queue size: 1 Live output at: http://3.101.106.178:8877/6767816e411abfa/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/a96e7f77d1d93b3/output.txt Total script time: 22.81 mins
|
From: Bot.io (Windows)SuccessFull output at http://3.101.106.178:8877/6767816e411abfa/output.txt Total script time: 26.24 mins
|
|
@calixteman Can this be implemented for the SVG renderer as well? |
Please note #13219 (comment) |
…s not supported in PDF files r=bdahl DONTBUILD Thanks to PR: mozilla/pdf.js#13214 signatures in PDF will be displayed but they won't be validated. So display a banner to warn user about that. Differential Revision: https://phabricator.services.mozilla.com/D111540
|
@calixteman @timvandermeij Awesome! You've merged the PR roughly the same time when you've published the new version, so I'd like to ask if this is a feature of version 2.9? Or did you already include it in version 2.8? |
This patch is not included in any official release yet, since it landed after the last release; see https://github.com/mozilla/pdf.js/releases and compare the date of this patch being merged with the date of the latest release :-) Also, please keep in mind that all PDF.js versions consist of three numbers, e.g. the current pre-release is |
…s not supported in PDF files r=bdahl DONTBUILD Thanks to PR: mozilla/pdf.js#13214 signatures in PDF will be displayed but they won't be validated. So display a banner to warn user about that. Differential Revision: https://phabricator.services.mozilla.com/D111540