Skip to content

Instantly share code, notes, and snippets.

View nitrobw's full-sized avatar
🏳️‍⚧️

nitroBW nitrobw

🏳️‍⚧️
View GitHub Profile
@Yrlish
Yrlish / cf-worker-proton-wkd.js
Last active March 28, 2024 09:59
CloudFlare worker proxy for ProtonMail WKD
// 1. Create a worker in the dashboard and paste the following code into it
// 2. Replace all references to example.com to your domain, add more domains if needed
// 3. Deploy the worker
// 4. Setup routes in the dashboard for:
// - example.com/.well-known/openpgpkey/*
// - openpgpkey.example.com/.well-known/openpgpkey/*
// - (apply above for additional domains too)
// 5. Verify that it is working with https://metacode.biz/openpgp/web-key-directory
export default {