Add keybase URL

This commit is contained in:
Jake Howard 2022-08-25 14:11:47 +01:00
parent 37ab598d0d
commit 01d84fd29b
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 71 additions and 1 deletions

View file

@ -0,0 +1,55 @@
==================================================================
https://keybase.io/realorangeone
--------------------------------------------------------------------
I hereby claim:
* I am an admin of https://theorangeone.net
* I am realorangeone (https://keybase.io/realorangeone) on keybase.
* I have a public key ASDTaHMSYEIAjyBkReXOjTkXFy20VYSHjoFzfc6ASkazUwo
To do so, I am signing this object:
{
"body": {
"key": {
"eldest_kid": "0120a1b82a7c816ca04a97ad82e7bafd5e3aabd26890375089cd430159ca861b84620a",
"host": "keybase.io",
"kid": "0120d36873126042008f206445e5ce8d3917172db45584878e81737dce804a46b3530a",
"uid": "d5dc1e0b22e637e9a47f48c4fcff8619",
"username": "realorangeone"
},
"merkle_root": {
"ctime": 1504962649,
"hash": "437c66f689f11546c1648fb08f482d1778cb515962e87bed316dc81093123f6e8d676166e7a0fd6c06cadf779e90ffcf3b02a458aad1cf5db1c2dad484b15a4d",
"hash_meta": "2b950c7a598524217f984c4ff5ef011bd30a09b6db707222d939eda226118a6f",
"seqno": 1376867
},
"service": {
"hostname": "theorangeone.net",
"protocol": "https:"
},
"type": "web_service_binding",
"version": 1
},
"client": {
"name": "keybase.io go client",
"version": "1.0.30"
},
"ctime": 1504962677,
"expire_in": 504576000,
"prev": "b698eef47ac239278cc7fd207b9add8c7d9df7624f2114f08e3d3cea8ff7f72d",
"seqno": 12,
"tag": "signature"
}
which yields the signature:
hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEg02hzEmBCAI8gZEXlzo05FxcttFWEh46Bc33OgEpGs1MKp3BheWxvYWTFA057ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwYTFiODJhN2M4MTZjYTA0YTk3YWQ4MmU3YmFmZDVlM2FhYmQyNjg5MDM3NTA4OWNkNDMwMTU5Y2E4NjFiODQ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8vKq2DaHejO52kHMsFpWw48ZwGJLBIJe59AJiWRwwtVa0fXW0fZfcRIGsNWAZGTSvek7s2AJqHNpZ190eXBlIKRoYXNogqR0eXBlCKV2YWx1ZcQgp3LT/WMl9Eh/+pY8YAV2s3KNZ3bhclCPN6I30qtRjMOjdGFnzQICp3ZlcnNpb24B
And finally, I am proving ownership of this host by posting or
appending to this document.
View my publicly-auditable identity here: https://keybase.io/realorangeone
==================================================================

View file

@ -39,6 +39,15 @@ class RobotsViewTestCase(SimpleTestCase):
self.assertFalse(response.context["SEO_INDEX"]) self.assertFalse(response.context["SEO_INDEX"])
class KeybaseViewTestCase(SimpleTestCase):
url = reverse("keybase")
def test_accessible(self) -> None:
response = self.client.get(self.url)
self.assertEqual(response.status_code, 200)
self.assertContains(response, "I hereby claim")
class AllPagesFeedTestCase(TestCase): class AllPagesFeedTestCase(TestCase):
url = reverse("feed") url = reverse("feed")

View file

@ -42,6 +42,11 @@ class RobotsView(TemplateView):
return context return context
class KeybaseView(TemplateView):
template_name = "keybase.txt"
content_type = "text/plain"
class AllPagesFeed(Feed): class AllPagesFeed(Feed):
link = "/feed/" link = "/feed/"
title = "All pages feed" title = "All pages feed"

View file

@ -7,7 +7,7 @@ from wagtail.contrib.sitemaps.views import sitemap
from wagtail.documents import urls as wagtaildocs_urls from wagtail.documents import urls as wagtaildocs_urls
from wagtail.images.views.serve import ServeView from wagtail.images.views.serve import ServeView
from website.common.views import AllPagesFeed, RobotsView, page_not_found from website.common.views import AllPagesFeed, KeybaseView, RobotsView, page_not_found
urlpatterns = [ urlpatterns = [
path("admin/", include(wagtailadmin_urls)), path("admin/", include(wagtailadmin_urls)),
@ -24,6 +24,7 @@ urlpatterns = [
), ),
path("sitemap.xml", cache_page(60 * 60)(sitemap), name="sitemap"), path("sitemap.xml", cache_page(60 * 60)(sitemap), name="sitemap"),
path("robots.txt", cache_page(60 * 60)(RobotsView.as_view()), name="robotstxt"), path("robots.txt", cache_page(60 * 60)(RobotsView.as_view()), name="robotstxt"),
path("keybase.txt", cache_page(60 * 60)(KeybaseView.as_view()), name="keybase"),
path("404/", page_not_found, name="404"), path("404/", page_not_found, name="404"),
path("feed/", AllPagesFeed(), name="feed"), path("feed/", AllPagesFeed(), name="feed"),
path("", include("website.legacy.urls")), path("", include("website.legacy.urls")),