From a0e6e30e7b12e5b435b520976acccc48892a8ced Mon Sep 17 00:00:00 2001
From: Evan Su <48808396+HACKERALERT@users.noreply.github.com>
Date: Thu, 10 Apr 2025 01:37:56 -0400
Subject: [PATCH] add external drive warnings to changelog and readme
---
Changelog.md | 1 +
README.md | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/Changelog.md b/Changelog.md
index 4ede0b6..3a088ad 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -6,6 +6,7 @@
# v1.48 (Released 04/11/2025)
- ✓ Allow pressing 'Enter' key to press Start/Process button
+ - ✓ Warn user when encrypting multiple files to an external drive
# v1.47 (Released 02/19/2025)
diff --git a/README.md b/README.md
index 73f0835..2b15221 100644
--- a/README.md
+++ b/README.md
@@ -92,6 +92,14 @@ While being simple, Picocrypt also strives to be powerful in the hands of knowle
Recursively: If you want to encrypt and/or decrypt a large set of files individually, this option will tell Picocrypt to go through every recursive file that you drop in and encrypt/decrypt it separately. This is useful, for example, if you are encrypting thousands of large documents and want to be able to decrypt any one of them in particular without having to download and decrypt the entire set of documents. Keep in mind that this is a very complex feature that should only be used if you know what you are doing.
+# Caveats
+When encrypting multiple files, Picocrypt will automatically zip them into one file before encrypting it. However, this requires a two-step process that creates an unencrypted temporary `.zip.tmp` file in the same destination folder. This has two implications:
+
+ - There must be at least double the available free space on the target drive as the combined total size of input files
+ - The target drive must be safe to save confidential data; if not, the unencrypted temporary file may be recoverable even after deletion
+
+To mitigate these caveats, Picocrypt will show info and warning labels accordingly. However, it is best to prevent these issues altogether by always encrypting and decrypting on your main host drive and then copying encrypted volumes to and from external sources, or zipping up input files beforehand and encrypting that single file which doesn't have these caveats.
+
# Security
For more information on how Picocrypt handles cryptography, see Internals for the technical details. If you're worried about the safety of me or this project, let me assure you that this repository won't be hijacked or backdoored. I have 2FA (TOTP) enabled on all accounts with a tie to Picocrypt (GitHub, Reddit, Google, etc.), in addition to full-disk encryption on all of my portable devices. For further hardening, Picocrypt uses my isolated forks of dependencies and I fetch upstream only when I have taken a look at the changes and believe that there aren't any security issues. This means that if a dependency gets hacked or deleted by the author, Picocrypt will be using my fork of it and remain completely unaffected. You can feel confident about using Picocrypt as long as you understand: