Set Cloudflare HTTP Headers in Hugo

In a previous post I wrote about how to set Cloudflare HTTP headers using Cloudflare Workers. In this post, I’ll show you how to do the same thing using Hugo. Thanks to Grok, I learned a nifty trick for setting Cloudflare HTTP headers in Hugo. Instead of using Cloudflare Workers, you can use Hugo’s built-in support for setting HTTP headers. To do so, create the file static/_headers with your header content following Cloudflare’s format....

February 19, 2025 · 1 min · 158 words · Chris

Goodbye, Evernote

After 13 years, I deleted my Evernote account. I wish them well in rebuilding their business, because the company I work for is treading similar ground. It’s funny because I think our companies suffered from the same decline: market creation, overlong self-congratulation, lag in response to competition pivoting to novel and compelling features. The difference between Evernote and the company I work for is they seem keen to raise prices on existing consumers instead of chasing growth with a lower barrier to entry....

February 14, 2025 · 1 min · 103 words · Chris

Why I didn't budget for a penetration test in 2024

BLUF Competing priorities, cost-consciousness, and lower-hanging security fruit were the reasons penetration didn’t make it into my AOP this year. I’m not in a highly regulated environment, though, so if regular penetration testing is a requirement, then your options are limited, but here are some things to consider. Analysis Each offensive security consultancy and penetration tester has their own methodlogy. Penetration testing isn’t guaranteed to find your most prevalent vulnerability, nor your most difficult, movie-plot security threat....

May 21, 2024 · 3 min · 570 words · Chris

The XZ Utils Vulnerability

CVE-2024-3094 highlights the strengths and weaknesses of Open Source.

April 2, 2024 · 2 min · 365 words · Chris

On Software Predictability

Life’s busy. Also, it’s hard. Software that breaks compatibility or predictability makes life harder. Returning to a project after years off requires re-orientation of architecture and tooling. Although difficult, it’s a fair assumption to make that one should need to re-orient on an architecture: understanding where everything goes is natrual. The tooling, on the other hand, should remain stable. Familiar. Predictable. Imagine moving out of your childhood room to attend university or join the military....

March 3, 2024 · 2 min · 271 words · Chris

Life Management System Comparison

I describe how Pillars, Pipelines, and Vaults is the best Life Management system I’ve found

February 21, 2022 · 9 min · Chris

Add MFA to Fedora with Yubikey

Add MFA to sudo and gnome in Fedora using a Yubikey and authselect

May 3, 2021 · 3 min · Chris

Grabbag

RMS, Dan Kaminsky, FLoCS, Fedora

May 1, 2021 · 3 min · Chris

Use AWS Config To Hunt Public S3 Buckets

This post covers using AWS Config as a starting point to find public s3 buckets in your organization.

November 2, 2020 · 2 min · Chris

Set Security Headers using Cloudflare Workers

This article covers previous work and introduces a warning

October 9, 2020 · 2 min · Chris