Browse Source

add WKD and host-meta

master
Ben Harris 5 months ago
parent
commit
d86d7221cd
  1. 1
      .gitignore
  2. 8
      .well-known/host-meta
  3. 12
      .well-known/host-meta.json
  4. 26
      .well-known/openpgpkey/README.md
  5. BIN
      .well-known/openpgpkey/hu/qpui546ptjbsz3rqaetbdz8wj9op6nur

1
.gitignore

@ -5,6 +5,5 @@ mg.key
/vendor/
tilde.json
graffiti.txt
.well-known/
stats/
ttbp

8
.well-known/host-meta

@ -0,0 +1,8 @@
<?xml version='1.0' encoding='utf-8'?>
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
<Link rel="urn:xmpp:alt-connections:xbosh"
href="https://tilde.team:5443/bosh" />
<Link rel="urn:xmpp:alt-connections:websocket"
href="wss://tilde.team:5443/ws" />
</XRD>

12
.well-known/host-meta.json

@ -0,0 +1,12 @@
{
"links": [
{
"rel": "urn:xmpp:alt-connections:xbosh",
"href": "https://tilde.team:5443/bosh"
},
{
"rel": "urn:xmpp:alt-connections:websocket",
"href": "wss://tilde.team:5443/ws"
}
]
}

26
.well-known/openpgpkey/README.md

@ -0,0 +1,26 @@
# tilde.team WKD
if you have a gpg key for your @tilde.team email, you can publish your pubkey here.
first, clone (and fork if needed) the site repo.
find the wkd hash of your email.
i'll show the example of my key:
$ gpg --list-keys --with-wkd ben@tilde.team
pub rsa4096 2018-06-28 [C] [expires: 2023-08-27]
FC2255B7BBC7EABD4EFAFA1068907D8BCCD85A5A
uid [ultimate] Ben Harris <ben@tilde.team>
qpui546ptjbsz3rqaetbdz8wj9op6nur@tilde.team
uid [ultimate] Ben Harris <benharri@hashbang.sh>
dk83ceeke8ohb85nrwo35ed66cgx6so6@hashbang.sh
uid [ unknown] Ben Harris <ben@libera.chat>
qpui546ptjbsz3rqaetbdz8wj9op6nur@libera.chat
sub rsa4096 2018-06-28 [S]
sub rsa4096 2018-06-28 [E]
sub rsa4096 2018-06-28 [A]
gpg --export ben@tilde.team > ~/.well-known/openpgpkey/hu/qpui546ptjbsz3rqaetbdz8wj9op6nur
commit and send a patch or pull request!

BIN
.well-known/openpgpkey/hu/qpui546ptjbsz3rqaetbdz8wj9op6nur

Binary file not shown.
Loading…
Cancel
Save