This is my site :)
Well for now, I'm going to keep this as handwriten html. Until I figure out how I want to make and maintain this site.
But first, I want to figure out how to setup PGP keys so I can cryptographically sign things. Like the git commits for this site!
I think I want to make this site into a landing/blog/notes/ideas/... site. A whatever-thing-I-think-of go kinda site. My little slice of the internet (to share of course).
And icecubegame.com can be a more professional (filleted) and polished version.
Ok, air-gapped PGP keys made! Time to make the init commit and update this site.
Time to figure out how to publish my public PGP keys on icecubegame.com
2026-10-20
After some reading it seems like Web Key Directory is what I'm going to implement.
I was considering publishing the Public PGP Keys on the DNS as a record, but that would prove to be a bad idea. After some more reading about DNS records, it turns out that DNS records are not cryptographically secure. Meaning that any public Keys published on the DNS as a record could be swaped in transit with a public key of some malicious actor. The recipient of the key would be none the wiser. And if the recipient where to blindly trust the key, they would then be trusting the malicious actor thinking they where me.
Techniclly, DNSSEC (DNS Security Extensions) provides a means of cryptographically securing DNS records. This would solve the problem of varifing the authenticity of the identiy of public keys. However, it introduces more failure points with maintaining the domain/s.
If the concern is to prevent end-users accepting non-authentic content, then cryptographically securing the contents served by your webservers would be sufficent. If the authenticity of the content can be verified by the end-user, non-authentic content can be rejected. Then non-authentic DNS records directing end-users to receive non-authentic content will not matter. By securing the contents itself unsecured DNS recoreds can not threaten the end-user with non-authentic contents.
Making DNSSEC not widley adopted and SSL/TLS to be the preferred solution. Instead of publishing Public PGP Keys as DNS records, publishing it though the webserver would be the preferred solution.
WKD (Web Key Directory) is a method to self publish PGP keys using SSL/TLS to guarantee the authenticity of Public PGP Keys. (https://datatracker.ietf.org/doc/html/draft-koch-openpgp-webkey-service)
2026-10-26
Setting up WKD was not hard. But finding information on how to use Cloudflare to implement WKD took too much time.
There was just stright miss-information from Cloudflare documentations. Well, it done now. The way it's done is:
All of this took way too long to figure out. I tried making a worker script that would serve the contents with the correct headers and still it would not let me edit the CROSS headers. I tried making a header transform rule and it just refuse to edit the CROSS headers. And I just want to mention that these methods I tried to set the correct CROSS headers was shown in Cloudflare's documentation and exmaple code. Which when implemented verbatim still doesn't work. And then I found the section about the _headers file. Which is just a file that sets headers depending on which route is being accessed. :/
1) make an A record openpgpkey -> 192.0.2.1 that is Proxied
2) make dir with .well-known/openpgpkey/<domain.TLD>/hu/
3) make an empty file .well-known/openpgpkey/<domain.TLD>/policy
4) run gpg --with-wkd-hash -k <yourmail@domain.TDL>
it should somewhere spat out a string looking like <hash>@<domain.TLD>
5) run gpg --export <yourmail@domain.TLD> > <hash>
6) move the file that it just made into ../hu/
7) make a file _headers at the root dir with the contents:
/.well-known/openpgpkey/<domain.TLD>/policy
Access-Control-Allow-Origin: *
/.well-known/openpgpkey/<domain.TLD>/hu/*
Access-Control-Allow-Origin: *
Content-Type: application/octet-stream
8) upload the root directory to a Cloudflare worker
9) add route openpgpkey.<domain.TLD>/* to worker
10) check with www.webkeydirectory.com
Other news, I moved my email from gmail to purelymail. So that is cool.
I've been thinking about how WKD uses a domain backed by SSL/TLS to "self" publish an identity. And I was thinking you could do the same to self publish any record with a domain backed by SSL/TLS and signed by your PGP key. And with that you could make a decentralized social network. One could register a PGP key though WKD and then publish signed messages with links to from replies or interactions with other people's self published records. Hashs computed from both records can be used to check if the records have been altered after the interaction. Other people, witnesses can publish signed copies of the records involving the interaction to form backups and add credance to the contents of the interaction. Then aggregate services can be provided to tabulate and cache threads of interactions to expedite the discovery of these networks.
I was talking about this idea to a good friend of mine, and they mention that I should take a look at the AT protocol. And that this is how bluesky is kind of.