-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow removal of original PDF once all parties signed #4165
Comments
This is not a LibreSign responsibility (convert ODT and DOCX to PDF), but we could think of a dedicated issue to this to add LibreSign to the actions menu when right-clicking an ODT or DOCX file in the Files app, similar to the menu that appears when we right-click a PDF file. The button could be something like "request signature" or "convert to PDF and request signature" (this text is too long) |
Have two scenarios here:
The scenario 2 don't exists for now, to do this directly by LibreSign. Only is possible if you do this handmade. The scenario 2 only will exists when the follow issue is implemented: |
I remembered an important point about why is necessary the original document. If we have 3 signers (example), I think (I don't know if my thinking is right, but make sense to me) that isn't good to display the footer with the qrcode to all signers before finish to sign the document, and, because this, now, the original document is necessary until all signers sign the document. Now, the .signed.pdf file is created when the first signer sign the document and each signer when sign the document will see the original document but will sign the .signed.pdf file. Going into a more deep explain: When the first signer start the flow to sign, will see the original document. When send the sign action, the server will verify if already have a signed version of this document (the .signed.pdf file) because the FileID (the id of a file inside Nextcloud database, also commonly called as NodeId) of signed document is stored by LibreSign. If we haven't a signed file, have a step to add the stamp with the footer qrcode and other texts), this step isn't made cryptographically, only is added a stamp over original document with the footer using now the pdftk, after the footer step, the document is signed, if is visible signature, will be added on each place that need to be added, if isn't a visual signature, only will be made the signature step following PAdES requirements that is made by JSignPDF generating the .signed.pdf file. When the 2th signer start the sign flow, also will see the original document and will be made the same previous flow but more simplified because now we don't need to add the footer, now only the .signed.pdf will be signed. The point is:
Now, only will be possible delete the original document after a document is fully signed, otherwise we will need to display the previous .signed.pdf file. I think that because this we will need to implement exactly as you described at the title "once all parties signed". |
But... adding more pepper at our sauce.... Now, LibreSign have a Listener that listen all file deletion. This listener have the follow logic:
I think that if we allow to only delete the original file, will be necessary to think what we will do to don't delete the signature request and what will be the document that we will display when a signer start the flow to sign. |
Allow deletion of the original file only when all parties have signed. I think this would solve the issue, but I might be wrong. |
We can restrict the deletion but no much. Could have cases that the file original file is deleted and at this case we will need to think what we will do. Have 3 possible ways:
The main problem is because for now, I didn't found any way to add the footer only when the last signer finish the signature process and I need to add before of all. This is why we need to have the original document until that the last signer finish the process. I think that the 1th option is the best. |
I would wait for everyone to sign before allowing a file to be deleted, but if this is not possible, option 1 with a warning saying the previous signature will be visible to the next signers would be a good balance between usability and safety. |
Related PR: |
Is your feature request related to a problem? Please describe.
Context:
I create a Code of conduct that 10 people need to sign, separately/independently.
Steps:
Describe the solution you'd like
Once signed, the user should have the possibility to remove the original document if not needed.
Describe alternatives you've considered
Additional context
#4160 (comment)
The text was updated successfully, but these errors were encountered: