forum icon indicating copy to clipboard operation
forum copied to clipboard

Include a copy of decrypt.html with the Text Backups

Open MorgothSauron opened this issue 2 years ago • 3 comments

Have you read the Longevity Statement? Yes

Is your feature request related to a problem? Please describe. I have to manually download a copy of the offline decrypt "script" (decrypt.html)

Describe the solution you'd like When backup is enabled, it would be nice if the application automatically saved the latest version of decrypt.html inside the backup directory (e.g, $HOME/Documents/Standard Notes/<user-id>/Text Backups/). This way I have the backups and the offline tool to decrypt in one place.

I could probably fetch the online version from GitHub with a script. It would be better if it was part of backup process performed by the desktop application.

Describe alternatives you've considered N/A

Additional context N/A

MorgothSauron avatar Aug 03 '23 18:08 MorgothSauron

I have one at: "C:\Users\myusername\Standard Notes Backups\decrypt.html" but I don't recall if SN automatically put it there or if I did.

Also, an issue with having SN do it automatically is SN would also have to automatically check for the appropriate version, as this script is updated periodically (https://github.com/standardnotes/decrypt). I guess the decrypt.html file could be updated whenever SN itself is updated?

virtuallyvlad avatar Aug 05 '23 13:08 virtuallyvlad

I wonder why they don't include it anymore.. I have the decrypt.html saved on my computer as I recall back in the days, it was included in the Backups.. Now I use a freshly installed new system and run standardnotes, it won't have the decrypt.html anymore.

thanks @virtuallyvlad for including the link

github2099 avatar Jan 12 '25 21:01 github2099

I wonder why they don't include it anymore

No specific reason I can think of. The file is not that big (2Mb) ... my backups are 4Mb.

The offline decrypt could be part of the installation. This way the application already has a local copy that can be copied to the local backup directory. No connection needed. Offline decrypt tool readily available.

As a workaround, I created a scheduled task on my system to download the file automatically at regular interval.

What's the point of having a local offline backup without the tool to decrypt ? There could be a case where I restore a system backup without an internet connection and without the application (not part of the backup). I'm offline with no way to decrypt the SN backups. That could be an issue.

The decrypt tool should really be part of the backup made by the application.

MorgothSauron avatar Jan 13 '25 17:01 MorgothSauron