Skip to content

Annotation editor is altering the file checksum #1756

@keks24

Description

@keks24

Describe the bug
Proof of existence is not working, when downloading a page. The SHA256 checksum is also different on each save.

To Reproduce
Steps to reproduce the behavior:

  1. Create a backup of all profiles: Hamburger menu - Add-ons and themes - Meatball menu of SingleFile - Preferences - Export.
  2. Import the following file. It contains the profile test_proof_of_existence; THIS WILL REMOVE ALL OTHER PROFILES: singlefile-settings-2025-06-26T16_54_52.744Z_test_proof_of_existence.json
  3. Go to https://www.heise.de/impressum.html
  4. Do a right click on the SingleFile icon and navigate to: Save page with profile - test_proof_of_existence.
  5. Click on the download icon.
  6. There should be a new file in the directory Downloads: Impressum | heise online_<some_sha256_checksum>.html
  7. Wait for six hours.
  8. Go to https://gildas-lormeau.github.io/singlefile-woleet/index.html
  9. Upload the HTML file.
  10. See error message: No proof found for this file

Expected behavior
Step 10 should return Proof of existence found in Bitcoin, like on this page.

The SHA256 checksum of the file should be equal to <some_sha256_checksum> ({digest-sha-256}) in the filename.

Screenshots
None.

Environment

  • OS: Gentoo Linux, Kernel version: 6.12.31
  • Browser: Firefox
  • Version: 128.11.0esr (64-bit)

Additional context
Downloaded file from ten days ago. Remove the suffix .txt once downloaded:
Impressum | heise online_2d95f72e43be76ef54cd843a80fdd560700427fcff5418c5da31a4c823b8946d.html.txt

$ sha256sum Impressum\ \ heise\ online_2d95f72e43be76ef54cd843a80fdd560700427fcff5418c5da31a4c823b8946d.html
e46d512d9861921c717d9af85a83d2b3dc13e562eb57f0c4609bb567b85b14fe  Impressum | heise online_2d95f72e43be76ef54cd843a80fdd560700427fcff5418c5da31a4c823b8946d.html.txt
$ stat Impressum\ \ heise\ online_2d95f72e43be76ef54cd843a80fdd560700427fcff5418c5da31a4c823b8946d.html
  File: Impressum | heise online_2d95f72e43be76ef54cd843a80fdd560700427fcff5418c5da31a4c823b8946d.html
  Size: 529825          Blocks: 1040       IO Block: 4096   regular file
Device: 252,1   Inode: 27788927    Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1200/   <some_username>)   Gid: ( 1200/   <some_group_name>
Access: 2025-06-26 19:19:22.155447979 +0200
Modify: 2025-06-16 18:22:00.993868618 +0200
Change: 2025-06-26 19:19:02.945449058 +0200
 Birth: 2025-06-16 18:22:00.989868618 +0200

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions