From 74f13beddbf5c3ed1606a4ae4665dc2fdd0de9eb Mon Sep 17 00:00:00 2001 From: Aizistral Date: Tue, 20 Sep 2022 22:53:32 +0200 Subject: Much work on encryption --- .../resources/assets/nochatreports/lang/en_us.json | 15 +++++++++++++-- .../textures/gui/encryption_gui_icons.png | Bin 1191 -> 1242 bytes .../textures/gui/encryption_toggle_button.png | Bin 1453 -> 1539 bytes 3 files changed, 13 insertions(+), 2 deletions(-) (limited to 'src/main/resources') diff --git a/src/main/resources/assets/nochatreports/lang/en_us.json b/src/main/resources/assets/nochatreports/lang/en_us.json index 1feab28..34f55ec 100644 --- a/src/main/resources/assets/nochatreports/lang/en_us.json +++ b/src/main/resources/assets/nochatreports/lang/en_us.json @@ -19,11 +19,22 @@ "tag.nochatreports.encrypted": "Encrypted using: %1$s", "tag.nochatreports.encrypted_original": "Non-decrypted: %1$s", "gui.nochatreports.encryption_tooltip": "§lEncryption:§r %1$s\nRight-click to configure.", + "gui.nochatreports.encryption_tooltip_invalid": "§lEncryption:§r %1$s\n§cInvalid configuration. Click to configure.", "gui.nochatreports.encryption_state_on": "§a§lEnabled§r", "gui.nochatreports.encryption_state_off": "§c§lDisabled§r", "gui.nochatreports.encryption_warning.header": "About Encryption", - "gui.nochatreports.encryption_warning.contents": "Communicate to the user that encryption is not always good here.", - "gui.nochatreports.encryption_config.key_desc": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Proin fermentum leo vel orci porta non. Ac turpis egestas maecenas pharetra convallis posuere morbi leo.", + "gui.nochatreports.encryption_warning.contents": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Proin fermentum leo vel orci porta non. Ac turpis egestas maecenas pharetra convallis posuere morbi leo.", + "gui.nochatreports.encryption_warning.check": "Don't show again", + "gui.nochatreports.encryption_config.header": "Encryption Settings", + "gui.nochatreports.encryption_config.key_desc": "§lEncryption Key§r\nKey that will be used to encrypt and decrypt your messages. It's format depends on algorithm; for AES it will be 128 bits of Base64-encoded binary data.", + "gui.nochatreports.encryption_config.passphrase_desc": "§lEncryption Passphrase§r\nInstead of generating random key, you can derive one from passphrase of your choice. If you use this - choose a strong one. Not all algorithms support passphrases.", + "gui.nochatreports.encryption_config.validation_ok": "Key Validation: §a§lPassed", + "gui.nochatreports.encryption_config.validation_failed": "Key Validation: §c§lFailed", + "gui.nochatreports.encryption_config.dice_tooltip": "Generate new random key with respect to selected encryption algorithm.", + "gui.nochatreports.encryption_config.pass_not_allowed": "", + "gui.nochatreports.encryption_config.algorithm": "Algorithm: %1$s", + "gui.nochatreports.encryption_config.default_key": "", + "algorithm.nochatreports.aes_base64": "§lAES/CFB8+Base64§r\nStandard symmetric encryption algorithm. Uses 128 bit keys, output is Base64-encoded to permit transfer via Minecraft's chat. As a downside - messages will gain roughly 30% increase in length, and server might truncate them if they exceed size limit.", "configuration.NoChatReports.config": "No Chat Reports", diff --git a/src/main/resources/assets/nochatreports/textures/gui/encryption_gui_icons.png b/src/main/resources/assets/nochatreports/textures/gui/encryption_gui_icons.png index 45843a2..812c6ec 100644 Binary files a/src/main/resources/assets/nochatreports/textures/gui/encryption_gui_icons.png and b/src/main/resources/assets/nochatreports/textures/gui/encryption_gui_icons.png differ diff --git a/src/main/resources/assets/nochatreports/textures/gui/encryption_toggle_button.png b/src/main/resources/assets/nochatreports/textures/gui/encryption_toggle_button.png index 5d82048..951413e 100644 Binary files a/src/main/resources/assets/nochatreports/textures/gui/encryption_toggle_button.png and b/src/main/resources/assets/nochatreports/textures/gui/encryption_toggle_button.png differ -- cgit v1.2.3