Revert "2.1.4 - Manual code cleanup stuff, version configued in 1ish place, etc."
This reverts commit c784140cde.
This commit is contained in:
@@ -39,7 +39,7 @@ from stegasoo import (
|
|||||||
)
|
)
|
||||||
from stegasoo.constants import (
|
from stegasoo.constants import (
|
||||||
MAX_MESSAGE_SIZE, MIN_PIN_LENGTH, MAX_PIN_LENGTH,
|
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
|
# QR Code support
|
||||||
@@ -754,8 +754,7 @@ def about():
|
|||||||
return render_template('about.html',
|
return render_template('about.html',
|
||||||
has_argon2=has_argon2(),
|
has_argon2=has_argon2(),
|
||||||
has_qrcode_read=HAS_QRCODE_READ,
|
has_qrcode_read=HAS_QRCODE_READ,
|
||||||
max_payload_kb=MAX_FILE_PAYLOAD_SIZE // 1024,
|
max_payload_kb=MAX_FILE_PAYLOAD_SIZE // 1024
|
||||||
stegasoo_version=STEGASOO_VERSION
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -457,7 +457,7 @@ stegasoo info image.png</code></pre>
|
|||||||
|
|
||||||
<div class="text-center mt-4 text-muted small">
|
<div class="text-center mt-4 text-muted small">
|
||||||
<p>
|
<p>
|
||||||
Stegasoo v{{ stegasoo_version }} •
|
Stegasoo v2.1.3 •
|
||||||
<i class="bi bi-github me-1"></i>Open Source •
|
<i class="bi bi-github me-1"></i>Open Source •
|
||||||
Built with Python, FastAPI, and cryptography
|
Built with Python, FastAPI, and cryptography
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
<div class="container text-center text-muted">
|
<div class="container text-center text-muted">
|
||||||
<small>
|
<small>
|
||||||
<img src="{{ url_for('static', filename='favicon.svg') }}" alt="" height="16" class="me-1" style="vertical-align: text-bottom;">
|
<img src="{{ url_for('static', filename='favicon.svg') }}" alt="" height="16" class="me-1" style="vertical-align: text-bottom;">
|
||||||
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".
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -113,9 +113,9 @@
|
|||||||
<span class="text-warning small">(provide same factors used during encoding)</span>
|
<span class="text-warning small">(provide same factors used during encoding)</span>
|
||||||
</h6>
|
</h6>
|
||||||
|
|
||||||
<!-- CHANGED SECTION: Updated column widths -->
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
|
|
||||||
<label class="form-label"><i class="bi bi-123 me-1"></i> PIN</label>
|
<label class="form-label"><i class="bi bi-123 me-1"></i> PIN</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="password" name="pin" class="form-control" id="pinInput" placeholder="6-9 digits" maxlength="9">
|
<input type="password" name="pin" class="form-control" id="pinInput" placeholder="6-9 digits" maxlength="9">
|
||||||
@@ -126,9 +126,10 @@
|
|||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
If PIN was used during encoding
|
If PIN was used during encoding
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-8 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
<label class="form-label">
|
<label class="form-label">
|
||||||
<i class="bi bi-file-earmark-lock me-1"></i> RSA Key
|
<i class="bi bi-file-earmark-lock me-1"></i> RSA Key
|
||||||
</label>
|
</label>
|
||||||
@@ -149,7 +150,7 @@
|
|||||||
<input type="file" name="rsa_key" class="form-control form-control-sm" id="rsaKeyInput" accept=".pem,.key,application/x-pem-file">
|
<input type="file" name="rsa_key" class="form-control form-control-sm" id="rsaKeyInput" accept=".pem,.key,application/x-pem-file">
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane fade" id="rsaQrTabDec" role="tabpanel">
|
<div class="tab-pane fade" id="rsaQrTabDec" role="tabpanel">
|
||||||
<input type="file" name="rsa_key_qr" class="form-control form-control-sm" id="rsaKeyQrInput" accept="image/*">
|
<input type="file" name="rsa_key_qr" class="form-control form-control-sm" id="rsaKeyQrInput" accept="image/*">
|
||||||
<div class="form-text small">PNG, JPG, or other image of QR code</div>
|
<div class="form-text small">PNG, JPG, or other image of QR code</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -368,4 +369,4 @@ document.querySelectorAll('.drop-zone').forEach(zone => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -126,25 +126,19 @@
|
|||||||
<span class="text-warning small">(provide at least one: PIN or RSA Key)</span>
|
<span class="text-warning small">(provide at least one: PIN or RSA Key)</span>
|
||||||
</h6>
|
</h6>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Replace this section in your encode.html file -->
|
|
||||||
<!-- From line 111-149 approximately -->
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
<label class="form-label"><i class="bi bi-123 me-1"></i> PIN</label>
|
<label class="form-label"><i class="bi bi-123 me-1"></i> PIN</label>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input type="password" name="pin" class="form-control" id="pinInput" placeholder="6-9 digits" maxlength="9">
|
<input type="password" name="pin" class="form-control" id="pinInput" placeholder="6-9 digits" maxlength="9">
|
||||||
<button class="btn btn-outline-secondary" type="button" id="togglePin">
|
<button class="btn btn-outline-secondary" type="button" id="togglePin">
|
||||||
<i class="bi bi-eye"></i>
|
<i class="bi bi-eye"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-text">Your static 6-9 digit PIN (if configured)</div>
|
<div class="form-text">Your static 6-9 digit PIN (if configured)</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-8 mb-3">
|
<div class="col-md-6 mb-3">
|
||||||
<label class="form-label">
|
<label class="form-label">
|
||||||
<i class="bi bi-file-earmark-lock me-1"></i> RSA Key
|
<i class="bi bi-file-earmark-lock me-1"></i> RSA Key
|
||||||
</label>
|
</label>
|
||||||
@@ -172,7 +166,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- RSA Key Password (shown when key selected) -->
|
<!-- RSA Key Password (shown when key selected) -->
|
||||||
<div class="mb-3 d-none" id="rsaPasswordGroup">
|
<div class="mb-3 d-none" id="rsaPasswordGroup">
|
||||||
<label class="form-label">
|
<label class="form-label">
|
||||||
|
|||||||
@@ -11,8 +11,7 @@ from pathlib import Path
|
|||||||
# VERSION
|
# VERSION
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|
||||||
__version__ = "2.1.4"
|
__version__ = "2.1.3"
|
||||||
STEGASOO_VERSION = "2.1.4"
|
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
# FILE FORMAT
|
# FILE FORMAT
|
||||||
|
|||||||
Reference in New Issue
Block a user