You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
All: Simplified synchronisation of resources to simplify encryption, and implemented resource encryption
This commit is contained in:
@ -145,6 +145,8 @@ class EncryptionService {
|
||||
throw new Error('NOT TESTED');
|
||||
|
||||
// Just putting this here in case it becomes needed
|
||||
// Normally seeding random bytes is not needed for our use since
|
||||
// we use shim.randomBytes directly to generate master keys.
|
||||
|
||||
const sjcl = shim.sjclModule;
|
||||
const randomBytes = await shim.randomBytes(1024/8);
|
||||
|
Reference in New Issue
Block a user