Add keybase.txt support

This commit is contained in:
Danielle McLean 2017-10-03 20:41:26 +11:00
parent af4fd6cb0a
commit 023b720be7
Signed by: 00dani
GPG key ID: 3844A6973C6058F1
3 changed files with 59 additions and 0 deletions

54
config/keybase.txt Normal file
View file

@ -0,0 +1,54 @@
==================================================================
https://keybase.io/00dani
--------------------------------------------------------------------
I hereby claim:
* I am an admin of https://00dani.me
* I am 00dani (https://keybase.io/00dani) on keybase.
* I have a public key ASC87RGG0JA9ofKNB8AJMIT7gfEHAosltGkVw9hFpQzXkwo
To do so, I am signing this object:
{
"body": {
"key": {
"eldest_kid": "0120bced1186d0903da1f28d07c0093084fb81f107028b25b46915c3d845a50cd7930a",
"host": "keybase.io",
"kid": "0120bced1186d0903da1f28d07c0093084fb81f107028b25b46915c3d845a50cd7930a",
"uid": "fe1e0c96654603c5880b3f571c862919",
"username": "00dani"
},
"service": {
"hostname": "00dani.me",
"protocol": "https:"
},
"type": "web_service_binding",
"version": 1
},
"client": {
"name": "keybase.io go client",
"version": "1.0.18"
},
"ctime": 1486502471,
"expire_in": 504576000,
"merkle_root": {
"ctime": 1486502388,
"hash": "7fbc86be65b5e09c41f90a2a986c22c6cba0bec0adc73b3cde38a7f4f53ceb4719fbbad968e65cd77aedd74598fc9f75cec52e5dc337feb35b3359f3ea6a9f0d",
"seqno": 840853
},
"prev": "247226586c012bd704ba62b97e97dc2113604b4e84eb9784ad886887c9ca6e7e",
"seqno": 33,
"tag": "signature"
}
which yields the signature:
hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgvO0RhtCQPaHyjQfACTCE+4HxBwKLJbRpFcPYRaUM15MKp3BheWxvYWTFAvB7ImJvZHkiOnsia2V5Ijp7ImVsZGVzdF9raWQiOiIwMTIwYmNlZDExODZkMDkwM2RhMWYyOGQwN2MwMDkzMDg0ZmI4MWYxMDcwMjhiMjViNDY5MTVjM2Q4NDVhNTBjZDc5MzBhIiwiaG9zdCI6ImtleWJhc2UuaW8iLCJ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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/00dani
==================================================================

View file

@ -2,6 +2,7 @@
/auth AuthR Auth getAuth
/favicon.ico FaviconR GET
/keybase.txt KeybaseR GET
/robots.txt RobotsR GET
/ HomeR GET

View file

@ -17,6 +17,10 @@ getFaviconR = do cacheSeconds $ 60 * 60 * 24 * 30 -- cache for a month
return $ TypedContent "image/x-icon"
$ toContent $(embedFile "config/favicon.ico")
getKeybaseR :: Handler TypedContent
getKeybaseR = return $ TypedContent typePlain
$ toContent $(embedFile "config/keybase.txt")
getRobotsR :: Handler TypedContent
getRobotsR = return $ TypedContent typePlain
$ toContent $(embedFile "config/robots.txt")