mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	store iv directly in the respective columns
This commit is contained in:
		| @@ -24,7 +24,6 @@ async function initSyncedOptions(username, password) { | ||||
|  | ||||
|     // passwordEncryptionService expects these options to already exist | ||||
|     await optionService.createOption('encryptedDataKey', '', true); | ||||
|     await optionService.createOption('encryptedDataKeyIv', '', true); | ||||
|  | ||||
|     await passwordEncryptionService.setDataKey(password, utils.randomSecureToken(16), true); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user