Plugin Request: Modern Adaption of TiddlerEncryptionPlugin for Tiddler-wise Encryption

40 views
Skip to first unread message

sam paul

unread,
Aug 2, 2025, 2:59:34 PMAug 2
to TiddlyWikiClassic
Hello. It seems that this plugin (https://web.archive.org/web/20130717012935/http://www.remotely-helpful.com/TiddlyWiki/TiddlerEncryptionPlugin.html#TiddlerEncryptionPlugin) is the only one that support tiddler-wise encryption. But it use the insecure TEA algorithm. I think it is great if someone could adapt this plugin to use Standford Javascript Crypto Library or something similar for stronger encryption.

Best,

Sam

sam paul

unread,
Aug 7, 2025, 10:04:53 PMAug 7
to TiddlyWikiClassic
This request is no longer needed because I have created the SJCLTiddlerEncryptionPlugin, which does the job. 


Best,

Sam

Yakov

unread,
Aug 14, 2025, 3:58:52 AMAug 14
to TiddlyWikiClassic
Thanks for sharing!

I also started implementing it, so after you've released your version, I've created a PR with various refactoring bits (Lyall's code was rather inconsistent in terms of indentation, and overloaded with nesting). Check it out; I'll probably do more refactoring as the code has large repeating portions (see for instance onClickEncryptionDecryptAll and saveChanges), but I think the current PR already makes it much more tidy and easy to read.

пятница, 8 августа 2025 г. в 05:04:53 UTC+3, samp...@gmail.com:

sam paul

unread,
Sep 30, 2025, 5:48:21 AM (2 days ago) Sep 30
to TiddlyWikiClassic
Hello Yakov.
Thanks for the contribution. There seems to be some issues with your PR.I have tested it. It complains:

Failed to save main TiddlyWiki file. Your changes have not been saved TypeError: can't access property "length", a is undefined

And the encryption failed.

I have also commented on this beneath your PR.

Sam

Yakov

unread,
Oct 1, 2025, 4:41:38 AM (yesterday) Oct 1
to TiddlyWikiClassic
Hello Sam, thanks for pointing, my bad. In fact, I've seen your comment on Github, it's just hangs unread in my inbox until I take my time to carefully test and debug this – I'll reply there once I do.

вторник, 30 сентября 2025 г. в 12:48:21 UTC+3, samp...@gmail.com:
Reply all
Reply to author
Forward
0 new messages