Replies: 1 comment 5 replies
-
Thank you @DoumanAsh. An upgrade path from sjcl.js to the WebCrypto API would be useful. Would it be possible to use WebCrypto to decrypt wikis that were encrypted with sjcl.js? I do have concerns about whether we could maintain backwards compatibility with an asynchronous API. For example, the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'ld like to propose idea for changing crypto implementation used by tiddlywiki
At the current moment sjcl is used but it s likely to be no longer maintained and supported
And while it provides adequate implementation (probably?) it is never going to be performing great on big wikis (small size doesn't really matter and likely to perform better due to overhead of WebCrypto API calls)
While using standard API is great, there are two major issues with it:
On other hand there are some advantages:
I prepared minimal wrapper to provide more usable API as first step (it is using
AES_GCM-256
therefore not compatible with current encryption)master...DoumanAsh:TiddlyWiki5:improve_crypto
But I'd like to hear opinion of everyone if it is worth pursing in general
If there is no interest for crypto implementation to be improved I would consider just keeping local version for my personal use instead.
P.s.
API in question: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto
Node.js provides compatibility layer too
Beta Was this translation helpful? Give feedback.
All reactions