summaryrefslogtreecommitdiff
path: root/templates/public/keys.html
blob: a7c91c43dc0948a92a0bb387333f0c4e9860bf6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{% extends "base.html" %}
{% load pgp %}

{% block title %}Arch Linux - Master Signing Keys{% endblock %}

{% block content %}
<div id="signing-keys" class="box">
    <h2>Master Signing Keys</h2>

    <p>This page lists the Arch Linux Master Keys. This is a distributed set of
    keys that are seen as "official" signing keys of the distribution. Each key
    is held by a different developer, and a revocation certificate for the key
    is held by a different developer. Thus, no one developer has absolute hold
    on any sort of absolute, root trust.</p>
    <p>The {{ keys|length }} key{{ keys|pluralize }} listed below should be
    regarded as the current set of master keys. They are available on public
    keyservers and should be signed by the owner of the key.</p>

    <table class="pretty2">
        <thead>
            <tr>
                <th>Master Key</th>
                <th>Full Fingerprint</th>
                <th>Owner</th>
                <th>Owner's Signing Key</th>
                <th>Revoker</th>
                <th>Revoker's Signing Key</th>
                <th>Developer/TU Keys Signed</th>
            </tr>
        </thead>
        <tbody>
            {% for key in keys %}
            <tr>
                <td>{% pgp_key_link key.pgp_key %}</td>
                <td><tt>{{ key.pgp_key|pgp_fingerprint }}</tt></td>
                {% with key.owner.userprofile as owner_profile %}
                <td><a href="{{ owner_profile.get_absolute_url }}">{{ key.owner.get_full_name }}</a></td>
                <td>{% pgp_key_link owner_profile.pgp_key %}</td>
                {% endwith %}
                {% with key.revoker.userprofile as revoker_profile %}
                <td><a href="{{ revoker_profile.get_absolute_url }}">{{ key.revoker.get_full_name }}</a></td>
                <td>{% pgp_key_link revoker_profile.pgp_key %}</td>
                {% endwith %}
                <td>{{ key.signature_count }}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>

    <p>The following table shows all active developers and trusted users along
    with the status of their personal signing key. A 'Yes' indicates that the
    personal key of the developer is signed by the given master key. A 'No'
    indicates it has not been signed; however, this does not necessarily mean
    the key should not be trusted.</p>
    <p>All official Arch Linux developers and trusted users should have their
    key signed by at least three master keys if they are responsible for
    packaging software in the repositories. This is in accordance with the PGP
    <em>web of trust</em> concept. If a user is willing to marginally trust all
    of the master keys, three signatures from different master keys will
    consider a given developer's key as valid. For more information on trust,
    please consult the
    <a href="http://www.gnupg.org/gph/en/manual.html">GNU Privacy Handbook</a>
    and <a href="http://www.gnupg.org/gph/en/manual.html#AEN385">Using trust to
    validate keys</a>.</p>

    <table class="pretty2" id="key-status">
        <thead>
            <tr>
                <th></th>
                <th>PGP Key</th>
                {% for key in keys %}
                <th>{{ key.owner.get_full_name }}</th>
                {% endfor %}
            </tr>
            <tr>
                <th></th>
                <th></th>
                {% for key in keys %}
                <th>{% pgp_key_link key.pgp_key %}</th>
                {% endfor %}
            </tr>
        </thead>
        <tbody>
            {% for user in active_users %}
            <tr>
                <th>{{ user.get_full_name }}</th>
                <td>{% pgp_key_link user.userprofile.pgp_key %}</td>
                {% spaceless %}{% for key in keys %}
                {% signature_exists signatures key.pgp_key user.userprofile.pgp_key as signed %}
                <td class="signed-{{ signed|yesno }}">{{ signed|yesno|capfirst }}</td>
                {% endfor %}{% endspaceless %}
            </tr>
            {% endfor %}
        </tbody>
    </table>
</div>
{% endblock %}