From 7a5092b945a2e6a201b66fc357da94a60f962f69 Mon Sep 17 00:00:00 2001 From: "Aaron D. Lee" Date: Sun, 4 Jan 2026 21:12:20 -0500 Subject: [PATCH] Add embed_mode to debug logging --- frontends/web/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontends/web/app.py b/frontends/web/app.py index df08802..60ea3bb 100644 --- a/frontends/web/app.py +++ b/frontends/web/app.py @@ -894,7 +894,7 @@ def encode_page(): print(f"[ENCODE DEBUG] ref: {len(ref_data)} bytes, md5: {ref_hash}", file=sys.stderr) print(f"[ENCODE DEBUG] carrier: {len(carrier_data)} bytes, md5: {carrier_hash}", file=sys.stderr) print(f"[ENCODE DEBUG] passphrase: '{passphrase}', pin: '{pin}'", file=sys.stderr) - print(f"[ENCODE DEBUG] channel_key: '{channel_key}'", file=sys.stderr) + print(f"[ENCODE DEBUG] channel_key: '{channel_key}', embed_mode: '{embed_mode}'", file=sys.stderr) # Handle RSA key - can come from .pem file or QR code image rsa_key_data = None @@ -1200,7 +1200,7 @@ def decode_page(): print(f"[DECODE DEBUG] ref: {len(ref_data)} bytes, md5: {ref_hash}", file=sys.stderr) print(f"[DECODE DEBUG] channel_key: '{channel_key}'", file=sys.stderr) print(f"[DECODE DEBUG] stego: {len(stego_data)} bytes, md5: {stego_hash}", file=sys.stderr) - print(f"[DECODE DEBUG] passphrase: '{passphrase}', pin: '{pin}'", file=sys.stderr) + print(f"[DECODE DEBUG] passphrase: '{passphrase}', pin: '{pin}', embed_mode: '{embed_mode}'", file=sys.stderr) # Handle RSA key - can come from .pem file or QR code image rsa_key_data = None