mirror of
https://gitlab.com/hagrid-keyserver/hagrid.git
synced 2023-02-13 20:55:02 -05:00
wkd: mention that subdomains are available upon request in the checker
This commit is contained in:
parent
d1e1232974
commit
46debf3d49
3 changed files with 9 additions and 3 deletions
5
dist/templates/about/usage.html.hbs
vendored
5
dist/templates/about/usage.html.hbs
vendored
|
@ -156,7 +156,10 @@
|
|||
|
||||
<h2 style="padding-left: 3%;" id="wkd-as-a-service"><a style="color: #050505;" href="#wkd-as-a-service">WKD as a Service</a></h2>
|
||||
|
||||
<p> <span class="brand">keys.openpgp.org</span> can be used as a managed Web Key Directory (WKD) service for any domain.
|
||||
<p> The Web Key Directory (WKD) is a standard for discovery of OpenPGP keys by email address, via the domain of its email provider.
|
||||
It is used to discover unknown keys in some email clients, such as <a href="https://www.gpg4win.de/about.html" target="_blank">GpgOL</a>.
|
||||
|
||||
<p> <span class="brand">keys.openpgp.org</span> can be used as a managed WKD service for any domain.
|
||||
To do so, the domain simply needs a <tt>CNAME</tt> record that delegates its <tt>openpgpkey</tt> subdomain to <tt>wkd.keys.openpgp.org</tt>.
|
||||
It should be possible to do this in the web interface of any DNS hoster.
|
||||
|
||||
|
|
|
@ -155,7 +155,10 @@
|
|||
|
||||
<h2 style="padding-left: 3%;" id="wkd-as-a-service"><a style="color: #050505;" href="#wkd-as-a-service">WKD as a Service</a></h2>
|
||||
|
||||
<p> <span class="brand">keys.openpgp.org</span> can be used as a managed Web Key Directory (WKD) service for any domain.
|
||||
<p> The Web Key Directory (WKD) is a standard for discovery of OpenPGP keys by email address, via the domain of its email provider.
|
||||
It is used to discover unknown keys in some email clients, such as <a href="https://www.gpg4win.de/about.html" target="_blank">GpgOL</a>.
|
||||
|
||||
<p> <span class="brand">keys.openpgp.org</span> can be used as a managed WKD service for any domain.
|
||||
To do so, the domain simply needs a <tt>CNAME</tt> record that delegates its <tt>openpgpkey</tt> subdomain to <tt>wkd.keys.openpgp.org</tt>.
|
||||
It should be possible to do this in the web interface of any DNS hoster.
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ def check_domain(domain):
|
|||
return 'domain must have "openpgpkey" prefix\n', 400
|
||||
|
||||
if domain != ("openpgpkey." + get_sld(domain)):
|
||||
return 'domain must not be a subdomain!\n', 400
|
||||
return 'subdomains can only be used upon request. send an email to <tt>support at keys dot openpgp dot org</tt>\n', 400
|
||||
|
||||
req = requests.get(
|
||||
'https://cloudflare-dns.com/dns-query',
|
||||
|
|
Loading…
Reference in a new issue