mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-11-15 04:30:12 +00:00
Require explicit opt-in for unencrypted content with E2EE
This commit is contained in:
1 parent
79ffe8f6b0
commit
8451102176
26 files changed
+1614
-532
No files matched your search
@@ -40,6 +40,7 @@
|
||||
E2EEAlgorithm: DEFAULT_SETTINGS.E2EEAlgorithm,
|
||||
usePathObfuscation: true,
|
||||
encryptInternalMetadata: true,
|
||||
acceptUnencryptedContent: DEFAULT_SETTINGS.acceptUnencryptedContent,
|
||||
idDerivationVersion: 0,
|
||||
idDerivationKey: "",
|
||||
};
|
||||
@@ -392,6 +393,18 @@
|
||||
"Changing the encryption algorithm will prevent access to any data previously encrypted with a different algorithm. Ensure that all your devices are configured to use the same algorithm to maintain access to your data."
|
||||
)}
|
||||
</InfoNote>
|
||||
<InputRow label={translateMessage("Accept unencrypted content")}>
|
||||
<input
|
||||
type="checkbox"
|
||||
bind:checked={encryptionSettings.acceptUnencryptedContent}
|
||||
disabled={!encryptionSettings.encrypt}
|
||||
/>
|
||||
</InputRow>
|
||||
<InfoNote warning>
|
||||
{translateMessage(
|
||||
"With this option enabled, third-party tools can add content without the E2EE passphrase. Anyone with database write access can inject plaintext. This affects received content only; content sent by this plug-in remains encrypted."
|
||||
)}
|
||||
</InfoNote>
|
||||
</ExtraItems>
|
||||
|
||||
<InfoNote warning>
|
||||
|
||||
Reference in new issue
Block a user