MLabs Publications
The many minds at MLabs present news, case studies, editorials, tutorials, whitepapers, Cardano Catalyst proposals, and more.
Never let an OpenBao node lead while Vault is still in the cluster
We killed the Vault leader halfway through a rolling move to OpenBao 2.7.1. An OpenBao takeover lost every write. The snapshot restored it in under 40 s.
Once your product ships, someone has to own keeping it up
An MLabs engineer owns keeping your live product running, on your own infrastructure. Checks run around the clock; a human answers the next business day, CET. Level 1 is $600 a month.
An MVP can cut almost anything except the decisions you can't migrate out of
An MVP tests one assumption, so most features can wait. The exceptions are the decisions you can't migrate out of: user accounts, on-chain contracts, data model.
How much heap does a Keycloak upgrade need per million users? None.
We walked -Xmx down against a 1,002-user realm and a 2,000,003-user realm. The boundary landed in the same place for both: 160 MB works, 128 MB does not. Migration heap does not scale with user count.
Plutarch 1.15: Something Old, Something New, Something Borrowed, No-one's Blue
Koz Ross on Plutarch 1.15: V4 ledger types and new builtins on plutus-core 1.71, a PValidateData fix, PTryFrom deprecated, why Ply waits, and a first look at Plutarch 2.0.
Your certificates expire on the earliest date in their chain
Two leaf certificates with 25 days left failed when their intermediate CA expired. How to find your chain's real expiry, and why a broken chain hides it.
Upgrading Keycloak keeps your custom attributes. Rebuilding the realm deletes them.
The widely repeated warning about Keycloak 24's declarative user profile is aimed at the wrong thing. We upgraded a realm carrying custom attributes in place, and found where they actually disappear.
A vibe-coded app needs a specification before it needs a rewrite
Your vibe-coded app breaks whenever it changes. Write down what it does, test those rules, then cut against the tests. When a rewrite is right.
Three of our fifteen Keycloak tests refuted the thing they were written to prove.
The most useful records in a fifteen-scenario Keycloak upgrade lab are the negative ones. Three tests failed to demonstrate what they were written to demonstrate. Published, because negatives are the cheapest credibility available.
In a regulated back office, the automation is the easy half. Reconciling it is the job.
The ledger is authoritative, vendor-controlled and audited, so the automation has to go around it. That makes reconciliation the design problem, not a reporting feature. What we do instead, and what it costs us to run.
A fractional CTO is worth most in the month before a decision you can't undo
A fractional CTO is a senior technical lead you retain part-time. What the role covers, when a regular cadence beats a one-off review, and four questions to ask before you hire one.
Most certificate lifecycle management is free. The part that costs money was never a tool.
ACME clients, CT-log monitors, expiry monitors, discovery tools and enterprise CLM platforms each answer a different question. Most teams need the free ones. None of them assigns an owner to an internal CA, an appliance or an mTLS certificate.
Keycloak 26.7 needs PostgreSQL 13. Keycloak 26.0 didn't.
The minimum supported PostgreSQL major moved from 12 to 13 inside Keycloak major version 26, across what looks like a routine minor bump. We upgraded 26.0.0 on Postgres 12.22 and watched where it stopped.
By 2029 every public TLS certificate renews 7.77 times a year, and a calendar can't keep up
The CA/Browser Forum SC-081v3 schedule, dated: 200 days from 15 March 2026, 100 from 15 March 2027, 47 from 15 March 2029, with renewals per certificate per year at each step and why calendar reminders stop working at 100 days.
Shorter certificate lifetimes will not break your public TLS. They will break the certificates nobody owns.
The CA/Browser Forum cut maximum TLS lifetimes to 47 days by March 2029. Public TLS is the easy half. The certificates that break first are the internal CA, appliance, mTLS and vendor-console certificates with no named owner.
Keycloak advisory batch 2026-09-16: 1 advisory, 1 high or critical — what clears them
Keycloak's 2026-09-16 advisory batch: one high-severity replay protection bypass, patched in 26.7.4. What clears it, and what breaks on the way there.