John
banner
treats.now
John
@treats.now
Could you live a daydream through a computer? https://treats.now
Trying out Lit for some toy projects since I like how it builds on standard Web technologies. Using tagged template literals for building HTML is neat, but also feels like it could have some sharp edges (i.e., the usual problems that come from template strings). How does one navigate this?
October 30, 2025 at 5:23 PM
New (as of yesterday) post in which I go through the journey of actually writing a functioning WebAuthn Relying Party. Link: treats.now/my-day-with-...
My day with WebAuthn
On using standards and nothing else.
treats.now
October 2, 2025 at 3:50 PM
I decided to try and see how long it would take to make a passkey relying party implementation using Go and plain JavaScript. It turns out the answer is one (1) day. JavaScript browser APIs in 2025 are a lot nicer than I thought they would be! Repo link: github.com/jnschaeffer/...
GitHub - jnschaeffer/passkey-demo: Simple demo of passkey functionality in Go and vanilla JavaScript
Simple demo of passkey functionality in Go and vanilla JavaScript - jnschaeffer/passkey-demo
github.com
September 26, 2025 at 11:09 PM
Gotta love when the phishing resistant authentication standards body tells you to just dump your JWTs into jwt.io.
September 24, 2025 at 7:41 PM
New post is up on x5c and JWT. Personally I like the idea of token signing keys backed by certificates instead of discovered keys, but that's just me. treats.now/x5c-is-not-s...
x5c is not so bad
Stick certificates in your JWTs. It's fine.
treats.now
September 17, 2025 at 2:01 AM
I'm a little surprised by the JWT crates available in the Rust ecosystem. josekit seems pretty tightly coupled to OpenSSL (not necessarily a bad thing), and biscuit looks like it hasn't been updated in a couple years. The jwt crate was also last updated in 2021. Am I missing something here?
September 14, 2025 at 11:28 PM
New post is up on identity. Part reflection on the subject in general, part speculation on the future. treats.now/meditations-...
Meditations on identity
Who are you?
treats.now
September 3, 2025 at 6:24 PM
Reading up on LAKE today and the level of system constraints the RFCs target goes so far beyond anything I've ever had to consider. X.509 with an unreliable channel and hundreds of bits per second is really something.
September 3, 2025 at 3:58 PM
Reposted by John
"If you write your congressional representative these days, your reply may come from a computer..." (Source.)
September 3, 2025 at 12:05 PM
In the wake of an apparent resurgence in the popularity of the Dead Internet Theory and ideas like it, I have been wondering what the Web is and what it would mean for it to die. If you have been wondering the same, or even if you haven't, feel free to read this post: treats.now/assessing-th...
Assessing the dead Internet
I called it the Web in the post because that's what the W3C calls it.
treats.now
August 20, 2025 at 8:54 PM
Hello Bluesky. I am here to talk about computers.
August 20, 2025 at 8:14 PM