libresign icon indicating copy to clipboard operation
libresign copied to clipboard

Signature metadata not visible when validating a signature

Open DazeEnd opened this issue 1 year ago • 5 comments

Describe the bug When the "Collect signers' metadata when signing a document" options is turned ON, the signature metadata is not displayed when validating a signature.

To Reproduce

  1. As admin, go to Settings > LibreSign > Collect signers' metadata, and turn ON the "Collect signers' metadata when signing a document" setting.
  2. Request a signature on a document of your choice.
  3. Sign the document from Step 2.
  4. As admin, open the LibreSign app, click on "Files" in the left sidebar, and then click on the signed document to open the right sidebar.
  5. In the right sidebar, click the "Validate" button.

Expected behavior Metadata for the signer should be displayed, including the browser user agent and the signer's IP address.

Actual behavior The signer's metadata is not displayed anywhere I can find. It does not appear in the validate screen, or in the validation information that is added to the footer of the document.

Screenshots LibreSign Settings: image Validation Screen: image Footer Validation Information: image Metadata Saved in Database: image

Environment information (please complete the following information):

  • Server OS: AlmaLinux v8.9
  • Browser: Firefox
  • LibreSign Version: v8.0.0-rc9
  • Nextcloud Server Version: v28.0.2
  • Logs: There were no messages printed by LibreSign found in nextcloud.log

Additional context The signer's metadata is being saved in the database. That metadata just isn't being displayed.

DazeEnd avatar Mar 28 '24 19:03 DazeEnd

Changing from bug to feature.

vitormattos avatar Mar 28 '24 21:03 vitormattos

For now is possible to use the app Analytics and create a report to return this data.

I wish to refactor the validation screen to provide these data.

Also have more data that is not visible for now at table sign_request related to notifications.

vitormattos avatar Mar 28 '24 21:03 vitormattos

Is this issue duplicated of

  • #2617

?

vitormattos avatar Mar 28 '24 21:03 vitormattos

@vitormattos wrote:

Is this issue duplicated of #2617 ?

No, it is not. They are separate, but related issues.

This issue is reporting that signer metadata (browser user agent and IP address) do not seem to be visible anywhere in the UI, even when that data is collected. At the very least, I would expect this metadata to be visible when validating a signature through the LibreSign UI.

Issue #2617 is requesting a new feature -- a "signature information page". Even if you implemented issue #2617, I think this issue (#2616) would still need attention so that metadata could be added to the signature validation URL.

If I didn't explain the distinction well, please let me know and I can try to clarify again.

DazeEnd avatar Mar 28 '24 21:03 DazeEnd

You are right.

This issue is more than to have a way to retrieve metadata, not what's the way, right?!

vitormattos avatar Mar 28 '24 21:03 vitormattos