{% extends "page.html" %}

{% block content %}
<h2>Login</h2>
<p>Enter your username and PGP public key to receive a challenge.</p>

<form method="POST" action="{{ url_for('login') }}">
    <label>Username:</label><br>
    <input type="text" name="username" required><br><br>

    <label>PGP Public Key:</label><br>
    <textarea name="pgp" rows="8" cols="60" required></textarea><br><br>

    <button type="submit">Send Challenge</button>
</form>
{% endblock %}
