From cf890e2d5a3d6ba4f213bde57ce41b8598db9d4e Mon Sep 17 00:00:00 2001 From: whaffman Date: Tue, 8 Jul 2025 21:48:01 +0200 Subject: [PATCH] Fix decryption process to skip files without valid suffixes --- stockholm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/stockholm.py b/stockholm.py index 8f5b33c..2a43314 100755 --- a/stockholm.py +++ b/stockholm.py @@ -128,6 +128,7 @@ def decrypt_files(files, symmetric_key): original_file = file.with_suffix('') if len(original_file.suffixes) == 0: original_file = original_file.with_suffix('.ft') + continue try: with open(file, 'rb') as fin, open(original_file, 'wb') as fout: