claim.html 1.45 KB
Newer Older
Enrico Zini's avatar
Enrico Zini committed
1
{% extends "nm2-base.html" %}
2
3
4
5
6
7
8
9
10
11
12
13
14
{% load nm %}

{% block content %}

<h1>Associate SSO username to existing person</h1>

<p>For many Debian Maintainer entries, the site does not currently know the
corresponding username that is used by the <a href="https://wiki.debian.org/DebianSingleSignOn">Debian Single Sign-On</a>,
and therefore cannot give you permission on your own data. This page helps to
fix this situation.</p>


<p>Since you are logged in, I already know that your Single Sign-On username is
Enrico Zini's avatar
Enrico Zini committed
15
<b>{{identity.subject}}</b>. The missing bit of information is who are you in the site,
16
and I would like to find out using your GPG key. Please enter the fingerprint
17
18
in this form (just the hexadecimal digits, as in:</p>

19
<pre>LANG=en gpg --fingerprint $YOUR_KEYID | sed -nre 's/Key fingerprint =//p' | head -n1</pre>
20
21
22

<form action="" method="POST">{% csrf_token %}
{{form.as_p}}
Enrico Zini's avatar
Enrico Zini committed
23
<button class="btn btn-primary" type="submit">Update</button>
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</form>

{% if person %}

<p>
Ok, so you claim to be <a href="{{person.get_absolute_url}}">{{person}}</a>, is
that right? If that is not correct, please change the fingerprint in the form
above and click "Update".
</p>

<p>
If it is correct, I need a way to trust you. Please decrypt the GPG snippet
that you find after this paragraph, and you will find a URL. Visit that URL and
I will be able to trust that you are indeed <a href="{{person.get_absolute_url}}">{{person}}</a>.
</p>

<pre>
{{challenge}}
</pre>

{% endif %}

{% endblock %}