{% extends "layouts/base.html" %} {% block title %} Add your GPG key ~ ATR {% endblock title %} {% block description %} Add your public signing key to your ATR account. {% endblock description %} {% block content %}

← Back to Manage keys

Add your GPG key

Add your public key to use for signing release artifacts.

{% if form.errors %}
Please correct the errors below:
{% endif %}
{{ form.hidden_tag() if form.hidden_tag }}
{{ form.public_key.label }}
{{ form.public_key(class_='form-control font-monospace', rows=10, placeholder='Paste your ASCII-armored public GPG key here...') }} Your public key should be in ASCII-armored format, starting with:
"-----BEGIN PGP PUBLIC KEY BLOCK-----"
{% if form.public_key.errors %}
{% for error in form.public_key.errors %}{{ error }}{% endfor %}
{% endif %}
{{ form.selected_committees.label }}
{% for subfield in form.selected_committees %}
{{ subfield(class_='form-check-input') }} {{ subfield.label(class_='form-check-label') }}
{% endfor %}
Select the committees with which to associate your key. {% if form.selected_committees.errors %}
{% for error in form.selected_committees.errors %}{{ error }}{% endfor %}
{% endif %}
{{ form.submit(class_='btn btn-primary') }} Cancel
{% if key_info and key_info.status == 'success' %}

Key details added:

Key ID: {{ key_info.key_id }}
Fingerprint: {{ key_info.fingerprint }}
User ID: {{ key_info.user_id }}
Created: {{ key_info.creation_date.strftime("%Y-%m-%d") }}
Expires: {{ key_info.expiration_date.strftime("%Y-%m-%d") if key_info.expiration_date else 'Never' }}

{% endif %}
{% endblock content %} {% block javascripts %} {{ super() }} {% endblock javascripts %}