-
Notifications
You must be signed in to change notification settings - Fork 725
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cool#9992 doc electronic sign: actually sign the hash in a popup
Open an PDF in Draw, Insert -> Electronic signature, the doc hash is sent to ESignatureBaseUrl, but we don't attempt to sign it. The actual signing happens using a HTML page provided by eIDEasy, so open that in a popup. We can avoid polling for the signature result by listening for postmessages: the signing popups sends us a postmessage on completion. This is the same mechanism that's used by the SignatureJS npm library, developed by eIDEasy (but don't use that here, since it would pull in a number of dependencies since it doesn't use the fetch() API). Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I10902ec6868a64f250fe5afdd0cf9ba36a2f63e6
- Loading branch information
Showing
3 changed files
with
66 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters