From 92f12cd5f4fcba3ea6713b916ff16c8f4edf1a87 Mon Sep 17 00:00:00 2001 From: fyears Date: Sat, 1 Jan 2022 18:48:25 +0800 Subject: [PATCH] more disclaimer for password --- src/settings.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/settings.ts b/src/settings.ts index 7353754..d462555 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -41,18 +41,22 @@ class PasswordModal extends Modal { }); contentEl.createEl("p", { - text: "Attention 1/4: The password itself is stored in PLAIN TEXT LOCALLY.", + text: "Attention 1/5: The vault name is NOT encrypted. The plugin creates a folder with the vault name on some remote services.", cls: "password-disclaimer", }); contentEl.createEl("p", { - text: "Attention 2/4: Some metadata are not encrypted or can be easily guessed. (File sizes are closed to their unencrypted ones, and directory path are stored as 0-byte-size object.)", + text: "Attention 2/5: The password itself is stored in PLAIN TEXT LOCALLY.", cls: "password-disclaimer", }); contentEl.createEl("p", { - text: "Attention 3/4: You should make sure the remote store IS EMPTY, or REMOTE FILES WERE ENCRYPTED BY THAT NEW PASSWORD, to avoid conflictions.", + text: "Attention 3/5: Some metadata are not encrypted or can be easily guessed. (File sizes are closed to their unencrypted ones, and directory path may be stored as 0-byte-size object.)", + cls: "password-disclaimer", }); contentEl.createEl("p", { - text: "Attention 4/4: The longer the password, the better.", + text: "Attention 4/5: You should make sure the remote store IS EMPTY, or REMOTE FILES WERE ENCRYPTED BY THAT NEW PASSWORD, to avoid conflictions.", + }); + contentEl.createEl("p", { + text: "Attention 5/5: The longer the password, the better.", }); new Setting(contentEl)