Add encode channel_key debug logging

This commit is contained in:
Aaron D. Lee
2026-01-04 20:57:08 -05:00
parent d0d48236ff
commit d44575deec

View File

@@ -894,6 +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)
# Handle RSA key - can come from .pem file or QR code image
rsa_key_data = None