{% extends "page.html" %}

{% block content %}
<h2>Decrypt Challenge</h2>
<p>Copy the message below, decrypt it with your PGP private key, and paste the decrypted message into the box.</p>

<textarea rows="10" cols="60" readonly>{{ encrypted_message }}</textarea>

<form method="POST" action="{{ url_for('login_verify') }}">
    <label>Decrypted Message:</label><br>
    <textarea name="decrypted_message" rows="4" cols="60" required></textarea><br><br>
    <button type="submit">Verify</button>
</form>
{% endblock %}
