Dennis 0.9.4: Fort Knox, Enter Servers Named Tessa and Ziggy, and the Problem of Trust
Dennis 0.9.4: Fort Knox, Enter Servers Named Tessa and Ziggy, and the Problem of Trust Portable evidence, independent verification, two very suspicious servers, and why a perfectly valid signature might still deserve a
Dennis 0.9.4: Fort Knox, Enter Servers Named Tessa and Ziggy, and the Problem of Trust
Portable evidence, independent verification, two very suspicious servers, and why a perfectly valid signature might still deserve a rejection.
Tags: #opensource #security #python #devtools
The chickens have requested additional security.
For those who have followed my previous articles, Dennis and the Unionized Chickens have been on a rather unusual journey.
From threatened severance to paid compensation, collective bargaining, and a guaranteed future, the chickens have fought hard to secure their livelihoods.
Their futures are now protected. Their contracts are signed. Their lawyers are satisfied. The poultry industry has never been the same.
But while everyone was busy securing the chickens' future, another uncomfortable question began keeping me awake at night:
Who was securing the DEX artifacts?
And unlike the chickens, DEX artifacts couldn't hire lawyers, organize a strike, or threaten to walk out of the server room.
Something had to be done.
What began as a small Python tool for detecting hardcoded strings eventually grew into a deterministic transformation engine for Digital Artifacts (from your grandmaβs old chicken recipe, to full code refactions, and i18n internationalization), complete with DEX envelopes, canonical diffs, cryptographic signatures, lineage, and even the ability to investigate its own architecture.
But after version 0.8.7, I began thinking about some problems that had been quietly lurking behind all those features. And that included the chickens:
- Somewhere along the way, several chickens became involved in quality assurance.
- They have since unionized.
- Their demands now include paid vacations, better debugging equipment, and absolute immunity from production deployments.
Meanwhile, another uncomfortable question emerged:
What happens when a DEX artifact leaves the computer where it was created?
Sure, we can hire more lawyers to protect the chickens. We can also inspect a DEX artifact.
We can verify its signature.
But can we actually trust it?
We can reconstruct its contents.
But what if its creator disappears? What if the signing key gets compromised? What if the issuing server goes offline? Or worse, what if the server tells us something we don't want to hear?
That βla pizza terminΓ³!β?
Suddenly, valid and trustworthy become two very different words. And the lack of pizza made the problem worse.
And that is where Dennis 0.9.4 comes in.
Welcome to Fort Knox. Population: one DEX.
On November 24, 2026 (UTC), at nearly 5 a.m., sleep deprived, slightly high on THC and craving pizza, I published Dennis 0.9.4 β Security & Trust, affectionately nicknamed The Fort Knox DEX Release.
This release isn't about introducing another shiny refactoring feature. Or hiring new lawyers for the Chickens.
It's about strengthening the infrastructure surrounding artifacts that may need to remain independently verifiable for years.
The main additions include:
- Portable Trust Evidence 1.0, using cryptographically protected evidence descriptors.
- Versioned Trust Roots, with explicit fingerprint pinning and controlled rotation.
- Online-first trust resolution, with carefully restricted offline fallback.
- Remote evidence issuance and atomic attachment, including strict HTTPS endpoint validation.
- Dedicated timestamp transport and runtime components.
- Packaging, schema, and CI improvements.
Under the hood, the security model uses Ed25519 signatures, SHA-256 integrity bindings, and canonical JSON representations where required by the corresponding contracts.
But the interesting part isn't the collection of cryptographic ingredients.
Any sufficiently over-caffeinated and underfed engineer can assemble a pile of cryptographic libraries.
The difficult part is deciding what those mechanisms actually prove, what they don't, and what happens when the world stops cooperating and the pizza is over.
This is where the chickens demanded an independent security review.
I told them we had 259 passing regression tests.
They stared at me.
Apparently, chickens understand the difference between software testing and security assurance.
This is becoming a very expensive poultry operation.
And at 5:00 a.m., an even bigger problem emerged:
Nowhere to get pizza.
A valid signature is not a trusted signature, just as a frozen pizza bought in any 24hr. deli is not the same as a freshly made one.
Suppose the craving got so bad that you make the ultimate sacrifice: buying a frozen pizza from the 24-hour mini-market on the corner. Its list of ingredients is perfectly valid, and the package is properly sealed.
Now, put it in the microwave.
Can you trust the final result?
Now, suppose somebody hands you a signed DEX.
You inspect it. Its cryptographic signature is perfectly valid.
Wonderful!
Now answer another question:
Who says you should trust the person who signed it?
A valid signature demonstrates that the signed material matches the cryptographic commitment associated with a particular key. Just as a list of valid ingredients and a vacuum-sealed package don't guarantee a delicious outcome.
It doesn't automatically establish that the key belongs to an authorized or trustworthy party.
Dennis therefore separates cryptographic verification from policy acceptance.
And I recently tested this with a real artifact. I deliberately chose to skip the pizza experiment.
I used Dennis to capture the original website of Dennis Forge before restructuring it.
The plan contained exactly zero changes.
Yes, zero.
βNot a bug. A feature.β Famous last words.
Not a catastrophic scanner failure.
Not an invitation to sacrifice another chicken. We are long past that.
I wanted a baseline: the original state, preserved before its next evolution.
Dennis packaged 44 scoped website files into a root DEX artifact. I signed it using my existing Ed25519 identity and ran:
dennis dex verify forge-01-baseline.dex --verbose
The result was particularly interesting:
{
"verified": true,
"accepted": false,
"policy": "strict",
"signatures": 1,
"valid_signatures": 1,
"trusted_signatures": 0,
"errors": [],
"message": "β Not accepted (no trusted signatures)"
}
At first glance, that looks contradictory.
It isn't.
The signature is mathematically valid. The artifact hasn't established trust under the verifier's local policy.
The software did not confuse the ability to verify a signature with permission to trust its signer.
That's precisely the distinction I wanted Dennis to preserve.
Incidentally, the executable-plan validator separately rejected the empty transformation plan because it had no changes. The root DEX was still packaged and rehydrated successfully.
Snapshot preservation and executable-plan validation are different concerns, and we're documenting that boundary as part of this experiment.
Sometimes the most useful transformation is the one you haven't made yet. Baseline babe, baseline.
Meet Tessa and Ziggy.
Now we reach the architectural part.
I wanted to support evidence issued by an authority, without making Dennis dependent on a permanently available central service.
To do that, I've been developing two separate infrastructure components.
And because naming servers server1 and server2 is a crime against creativity, I named them Tessa and Ziggy.
Tessa evolved from TSA β Time Server Agent. Ziggy had a slightly more complicated birth: Signature Server β Siggy β Ziggy.
Somewhere along the way, two technical services acquired personalities.
The chickens are already demanding that they join the union.
Tessa β The public-facing gateway
Tessa is responsible for the public-facing side of the trust architecture.
Her intended responsibilities include receiving authorized requests, enforcing the external protocol contract, communicating with the appropriate internal authority, and returning verifiable responses.
Tessa is not supposed to possess the most sensitive signing secrets.
Think of her as the receptionist at Fort Knox, with an attitude Γ la Jessica Rabbit.
She checks your appointment, verifies what you're asking for, and calls the appropriate department.
But she doesn't have the keys to the vault.
Ask her out for a drink? Fail to prove your identity? Fall in love with her?
You'll be escorted to the door. No exceptions.
And if somebody walks in wearing a fake mustache and shouting, "I am the administrator!", she should not immediately hand over the cryptographic crown jewels.
That would be poor security architecture.
And terrible customer service.
Ziggy β Meet the brains: The Signing Authority
Ziggy has a different job.
Much like me, Ziggy is a recluse.
He belongs on the restricted side of the architecture, where sensitive signing operations, authority policies, and protected key custody can be isolated from ordinary web traffic.
Also, Tessa loves and trusts Ziggy unquestionably.
The intention is straightforward:
A compromised public-facing service should not automatically mean compromised signing keys.
Love may be unconditional. Commitment, compromise, and authentication ain't.
Just as signing a marriage certificate doesn't guarantee a happily ever after.
That is why Tessa has never proposed to Ziggy. Why ruin a good relationship with a bad marriage?
The eventual TessaβZiggy communication is designed around security: a private, mutually authenticated connection and separately controlled authority services.
Tessa receives requests.
Ziggy handles the restricted signing responsibility.
Neither should be trusted to perform the other's duties merely because they happen to be involved in a rather complicated platonic love affair.
**And here's an important clarification: **the production TessaβZiggy trust issuance pipeline is not yet operational.
In other words, we're still in beta. Dennis 0.9.4 has been released, but the wider Forge ecosystem is still under construction.
The relationship is established. The trust is intact. The infrastructure is undergoing counseling, unsuccessfully, because Ziggy refuses to leave his den.
The CLI contracts and supporting implementations are included in 0.9.4, and the supporting services have undergone separate local testing.
Production key custody, mutual TLS provisioning, authority databases, grant authorization, and end-to-end live acceptance still need to be completed.
I'm deliberately not calling a service production-ready merely because its protocol compiles, its tests pass, and Tessa and Ziggy are on excellent talking terms.
The chickens' lawyers insisted on that clause.
What if Tessa is unavailable?
This is one of my favorite design decisions in 0.9.4. Totally fueled by beer, pizza, and THC.
Dennis implements an online-first trust-resolution model, designed to work with the wider Dennis Forge ecosystem.
When Tessa's trust gatewayβor another compatible, independently trusted authorityβis available, the client can obtain authenticated trust information.
If the authority is genuinely unreachable, an existing local SQLite trust snapshot may be used, with its provenance and freshness limitations taken into account.
But here's the catch:
A negative answer is not a network failure.
If an authority explicitly reports that something is revoked, invalid, or conflicting, Dennis must not say:
"Well, that was inconvenient. Let's consult yesterday's happy answer instead."
Imagine a bank discovering that your credit card has been revoked, then deciding to use last Tuesday's transaction approval because today's answer was rather unpleasant.
Congratulations.
You have invented a security system with selective hearing.
So the design distinguishes between an unavailable service and a service that has returned an unfavorable result.
Offline independence matters.
But offline independence must not become an excuse to ignore authenticated evidence.
And naturally, a cached status cannot prove that no newer revocation has occurred.
Trust Roots: Don't trust a key just because you downloaded it.
Version 0.9.4 introduces the ILP-TRUST-ROOT record model and corresponding CLI operations:
dennis trust-root inspect <record>
dennis trust-root pin <record> --fingerprint <sha256>
dennis trust-root rotate <record>
The critical concept here is independent bootstrap.
Downloading a public key from a server does not, by itself, make that key trustworthy.
Otherwise, an attacker could replace both the artifact and the public key, then proudly inform you that everything matches.
Which would be technically accurate.
And spectacularly useless. The Chickensβ Union would immediately riot.
A verifier needs an independently obtained fingerprint or another established trust relationship.
Once a root is pinned, routine rotations can be checked against the previously trusted root, with protections against unauthorized rollback.
And if a root key is actually compromised, that isn't merely another routine rotation.
It requires explicit recovery procedures.
No magical trust restoration button.
No "Yo Ziggy, trust me, bro, I am legit" protocol extension.
What about remote evidence issuance?
Version 0.9.4 also introduces a new command surface:
dennis dex issue-and-attach artifact.dex \
--endpoint https://trusted-gateway.example/api/v2/trust/evidence \
--request-id unique-request-id
The endpoint above is illustrative, not a deployed Dennis Forge service.
The intended workflow is to request evidence from a compatible authority, validate the response, and attach that evidence to the artifact without damaging its existing identity, lineage, or signatures.
The command includes practical protections:
- HTTPS-only endpoints.
- Rejection of malformed URLs and embedded credentials.
- No automatic HTTP redirects that could forward bearer tokens.
- Endpoint validation before requesting credentials.
- Atomic attachment so failed operations preserve the original artifact.
The supporting CLI functionality is implemented. The live public issuing authority remains a separate deployment milestone.
I want users to know the difference.
A web designer, a suspicious ZIP, and a DEX walk into a bar.
Now, let's forget the cryptographic theory for a moment.
Imagine you're a freelance web designer.
A client sends you an email:
"Hey! Here's the latest version of our website. Please update it. Everything is inside the ZIP."
Attached:
website_FINAL_v3_reallyFINAL_fixed2.zip
Naturally, you download it.
You extract it.
Inside you discover 137 files, three JavaScript libraries nobody remembers installing, an Apache configuration, a PHP script with a suspiciously enthusiastic name, and a directory called old_backup_DO_NOT_DELETE.
Wonderful.
Now the questions begin.
Who prepared this ZIP?
Did somebody modify it after it was created?
Are these exactly the files the client intended to send?
Which files changed?
Can you compare this version against the previous delivery?
Can you establish a chain of custody?
Does the package contain everything needed to reproduce the original site?
Or are you about to deploy an archaeological collection of somebody else's accidents?
Sure, you could calculate SHA-256 hashes.
You could ask the client to sign the archive.
You could compare Git commits, inspect the ZIP, establish a reproducible build, and write a custom manifest.
None of those mechanisms are exclusive to Dennis.
But now you're building the very workflow Dennis is designed to provide.
So here's the question:
As a web designer, would you rather receive an unexplained ZIP, or a signed DEX artifact with an inspectable manifest, explicit file scope, cryptographic verification, and recorded lineage?
I know which one I'd prefer.
And before someone in the comments starts sharpening their keyboard:
No, a signed DEX does not automatically mean the code inside is safe.
A malicious developer can sign malicious code just as enthusiastically as a legitimate developer can sign legitimate code.
A valid signature doesn't make a backdoor less backdoor-shaped.
The advantage is not that DEX replaces security judgment. It's that DEX makes important claims independently testable.
You can inspect what was packaged.
You can establish whether the artifact still matches its cryptographic commitments.
You can decide whether you trust its signer.
You can examine its scope and lineage.
And where the artifact contains a supported transformation, you can review the proposed changes before applying them.
And if something goes wrong, Dennis can generate an inverse transformation to restore the original state, provided the necessary preconditions still hold.
Rather than trusting a mystery ZIP because the attachment came from someone named Bob.
Sorry, Bob.
Nothing personal. Itβs the Chickens who insisted.
So I packaged my own website into a DEX.
I thought the best way to demonstrate Dennis would be to stop talking about it and actually use it.
Not with a three-line Hello World program.
Not with a conveniently sterilized example designed to make every test pass.
With the real Dennis Forge website.
The same one visitors use to learn about Dennis, download its releases, read its documentation, and discover the wider project.
I started by pointing the CLI at the existing website and letting Dennis generate its own plan.
Exactly what a new user might do.
dennis plan .
Dennis scanned the project and generated a dictionary containing strings from the English, Spanish, and German pages.
It also created a transformation plan.
The plan proposed zero changes.
And for this particular experiment, that was fine.
I wasn't trying to translate the website yet.
I was establishing the state from which future changes would descend.
The next step was reviewing .dexscope, Dennis's explicit file-selection mechanism.
I wanted to preserve the public website and its supporting resources, while avoiding private databases, signing keys, credentials, unrelated historical evidence, and other materials that have no business appearing inside a publicly downloadable artifact.
The final approved scope contained 44 files.
That included HTML, CSS, JavaScript, images, PHP, documentation, and an example Apache configuration.
Then came the interesting part:
dennis pack plan.json forge-01-baseline.dex
Dennis created a root artifact.
No parent.
No previous generation.
The beginning of the family tree.
I signed it using an existing Ed25519 key:
dennis dex sign forge-01-baseline.dex \
--key /path/to/my-private.key
Then I verified it.
And that's when I got the wonderfully instructive result we saw earlier:
verified: true
accepted: false
One valid signature.
Zero trusted signatures.
Dennis was essentially saying:
"Yes, this artifact was signed correctly. No, I haven't been given sufficient reason to trust that signing identity."
Excellent.
That's not an inconvenience, itβs exactly what the Chickensβ Union demanded: accountability.
That's security doing its job.
Then came the resurrection.
I moved the DEX to my experiment directory and ran:
dennis rehydrate forge-01-baseline.dex
Dennis responded:
[Dennis] Rehydrate mode: STATE
[Dennis] Files restored
[Dennis] No helpers found in payload
Plan restored β rehydrated-plan.json
And there it was.
The original website reconstructed into the local directory.
The main pages.
The stylesheets.
The JavaScript components.
The images.
The documentation.
The supporting files selected by the artifact's scope.
A website had traveled through a DEX and emerged on the other side.
No Forge account.
No Tessa.
No Ziggy.
No subscription verification.
No sacrifice of poultry.
Just a standalone CLI reconstructing files from a portable artifact.
To be precise, the rehydration command reported success and restored the website structure. A complete independent byte-for-byte comparison and production-equivalence test are separate acceptance steps.
But the fundamental demonstration was there.
And it suggested a much more interesting marketing idea than another banner saying "Secure! Reliable! Revolutionary! Chicken Friendly!"
What if visitors could rebuild the very website they were browsing?
The website that teaches you how to rebuild itself.
That's the next experiment.
I'm preparing a three-generation DEX lineage for Dennis Forge:
Generation 1 β The Original
The existing website, preserved as a signed root artifact.
Generation 2 β The Redesign
The website reorganized into separate sections for Dennis Technology and The Forge SaaS platform.
Generation 3 β Internationalization
The transformation toward centralized language dictionaries and reusable helpers for English, Spanish, and German.
The idea is that visitors will eventually be able to open Getting Started and follow a reproducible tutorial:
Download the artifacts.
Inspect their contents.
Verify their signatures. (Mine, in this case)
After all, the point isn't:
βTrust me. I wrote Dennis.β
It's:
βHere's my signature. Verify it yourself. Then decide whether you trust me.β
The Chickens' Union approves.
Next, establish trust in the appropriate signing keyβbut only after independently verifying its fingerprint.
Establish trust in the appropriate signing key.
Reconstruct the original site.
Inspect the changes between generations.
Apply the supported transformations.
Compare the output against published hashes.
All locally.
All without requiring a Forge account for the CLI operations.
Now imagine that from the perspective of a potential customer.
Instead of asking them to believe that Dennis works, we're inviting them to reproduce the evolution of the actual website advertising Dennis.
Don't take my word for it. Download the history. Inspect the evidence. Rebuild the website.
And if the commands don't work?
Excellent.
We've just found something to fix.
That's the entire point of conducting a real experiment instead of manufacturing a flawless demonstration.
The second and third DEX generations are still being prepared and tested, so I'm not claiming the complete reproduction chain is available today.
But the signed root artifact already exists.
And the original website has already been successfully rehydrated from it.
There's something deliciously recursive about this.
A website explaining a protocol that can preserve the history of the website explaining the protocol.
Somewhere, a computer scientist is developing a headache.
And the Chickens? They loved this latest βDennis-on-Dennisβ experiment.
I consider that a promising sign.
The less glamorous part: testing the release itself.
The published 0.9.4 regression run reported 259 passing Dennis tests, with no failures. Separate Tessa and Ziggy suites also passed their reported local tests.
The distribution builds completed, required JSON schemas were packaged, and the main command interface was checked.
But after publication, isolated installation testing revealed two issues worth correcting.
A production module imports pytest without declaring it as a runtime dependency. That means a clean environment may fail to start the CLI.
Also, dennis --version doesn't currently display the package version, despite the installed distribution reporting 0.9.4 correctly.
Neither is a reason to rewrite the architecture, but both deserve a corrective packaging release.
I'm mentioning them because I don't believe in advertising trustworthy software while quietly hiding things discovered during verification.
Tests passing and a release being perfect are not the same thing.
And yes, I realize the irony of discovering a packaging problem in the Fort Knox release.
The chickens have requested an emergency meeting.
Apparently, the fortress had excellent locks but somebody forgot to check whether the front door opened.
Where Dennis goes from here.
The CLI remains the foundation.
The Forge is being developed as an optional hosted platform where users can organize artifacts into projects, inspect their relationships, explore lineage visually, and eventually review diffs or edit documents through a more accessible interface.
There's still substantial work ahead: production authority integration, account and artifact workflows, visual diffs, richer editing, and the rest of the SaaS experience.
But one architectural principle is non-negotiable:
Dennis must never require The Forge to remain useful.
An artifact should not become unreadable because a subscription expires.
Its cryptographic integrity should not depend on a company's website remaining online.
And its history should not disappear because the original service provider does.
That's the direction I'm building toward.
Not absolute security.
Not infallible evidence.
Not a magical guarantee of truth.
Just systems where the important questions can be asked explicitlyβand where the answers can be independently checked.
Try Dennis
Source code: https://github.com/crevilla2050/string-audit
Dennis 0.9.4 release: https://github.com/crevilla2050/string-audit/releases/tag/v0.9.4
Website: https://dennis-forge.com/
If you've worked on PKI, software supply-chain security, signed artifacts, trust roots, reproducible builds, or website deployment workflows, I'd be especially interested in your feedback.
Would you accept an unexplained ZIP from a client?
Would a signed, inspectable DEX change how you receive and deploy project updates?
And how would you handle compromised signing keys or stale offline trust evidence?
I'm genuinely interested.
Because the whole point of developing this in the open is to expose the architecture to people who might ask better questions than I have.
And more importantly...
Should the chickens be granted access to Ziggy?
Personally, I think they've already accumulated far too much power.
No magic. Just steel. And a highly suspicious amount of poultry-related security paperwork. ππ
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.