From 40ce6d663cf245fa0d675b6acdcb4002c6e89c9a Mon Sep 17 00:00:00 2001 From: "Aaron D. Lee" Date: Mon, 29 Dec 2025 21:00:44 -0500 Subject: [PATCH] Revert "2.1.4 - Manual code cleanup stuff, version configued in 1ish place, etc." This reverts commit c784140cdedc83be6e276bb8f32153db7fe73281. --- frontends/web/app.py | 5 ++--- frontends/web/templates/about.html | 2 +- frontends/web/templates/base.html | 2 +- frontends/web/templates/decode.html | 11 ++++++----- frontends/web/templates/encode.html | 28 +++++++++++----------------- src/stegasoo/constants.py | 3 +-- 6 files changed, 22 insertions(+), 29 deletions(-) diff --git a/frontends/web/app.py b/frontends/web/app.py index 4f62f3c..01a9b5b 100644 --- a/frontends/web/app.py +++ b/frontends/web/app.py @@ -39,7 +39,7 @@ from stegasoo import ( ) from stegasoo.constants import ( MAX_MESSAGE_SIZE, MIN_PIN_LENGTH, MAX_PIN_LENGTH, - VALID_RSA_SIZES, MAX_FILE_SIZE, STEGASOO_VERSION + VALID_RSA_SIZES, MAX_FILE_SIZE, ) # QR Code support @@ -754,8 +754,7 @@ def about(): return render_template('about.html', has_argon2=has_argon2(), has_qrcode_read=HAS_QRCODE_READ, - max_payload_kb=MAX_FILE_PAYLOAD_SIZE // 1024, - stegasoo_version=STEGASOO_VERSION + max_payload_kb=MAX_FILE_PAYLOAD_SIZE // 1024 ) diff --git a/frontends/web/templates/about.html b/frontends/web/templates/about.html index 40d6ccb..dee25e2 100644 --- a/frontends/web/templates/about.html +++ b/frontends/web/templates/about.html @@ -457,7 +457,7 @@ stegasoo info image.png

- Stegasoo v{{ stegasoo_version }} • + Stegasoo v2.1.3 • Open Source • Built with Python, FastAPI, and cryptography

diff --git a/frontends/web/templates/base.html b/frontends/web/templates/base.html index d5d3d52..e409b44 100644 --- a/frontends/web/templates/base.html +++ b/frontends/web/templates/base.html @@ -63,7 +63,7 @@
- Stegasoo v{{__version__}} — Steganography using "Reference Photo Hashing + Day-Phrase + PIN/Key". + Stegasoo v2.1.3 — Steganography using "Reference Photo Hashing + Day-Phrase + PIN/Key".
diff --git a/frontends/web/templates/decode.html b/frontends/web/templates/decode.html index c5c5667..6b19dcf 100644 --- a/frontends/web/templates/decode.html +++ b/frontends/web/templates/decode.html @@ -113,9 +113,9 @@ (provide same factors used during encoding) -
-
+
+
@@ -126,9 +126,10 @@
If PIN was used during encoding
+
-
+
@@ -149,7 +150,7 @@
- +
PNG, JPG, or other image of QR code
@@ -368,4 +369,4 @@ document.querySelectorAll('.drop-zone').forEach(zone => { } }); -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/frontends/web/templates/encode.html b/frontends/web/templates/encode.html index fd8fd9d..1e89d1c 100644 --- a/frontends/web/templates/encode.html +++ b/frontends/web/templates/encode.html @@ -126,25 +126,19 @@ (provide at least one: PIN or RSA Key) - - - - - -
-
- -
- - -
-
Your static 6-9 digit PIN (if configured)
+
+ +
+ + +
+
Your static 6-9 digit PIN (if configured)
-
+
@@ -172,7 +166,7 @@
- +