Skip to main content

awseal

Sign an artifact so a stranger can verify it.

awseal puts an Ed25519 signature over every byte of a directory and writes a small awseal.json beside it. The key that verifies is not the key that signs, so you can publish the public half and anyone can check your work.

pip install awseal

awseal keygen                                   # once
awseal sign ./my-adapter --subject my-adapter   # writes awseal.json
awseal pubkey                                   # publish this

# someone else, later:
awseal verify ./my-adapter --key <your-public-key>
import awseal
from pathlib import Path

seal = awseal.sign(Path("my-adapter"))
awseal.write(seal, Path("my-adapter"))

r = awseal.verify(Path("my-adapter"), expect_key=PUBLISHER_KEY)
r["ok"]             # everything held
r["signature_ok"]   # this key signed this payload
r["content_ok"]     # the files still match
r["diff"]           # exactly which files were added/removed/modified

Three rules, each learned by breaking it

1. There is no default key. awseal raises when it cannot find one. The signer this was extracted from read its secret from an environment variable with a literal fallback baked into the source — and that variable was set nowhere, so every signature it produced was forgeable by anyone who opened the file, and its verifier returned True for the forgery. A verifier that certifies forgeries is worse than no verifier: it converts unverified into verified.

2. The signature covers the content, not a summary. The original signed a payload containing len(violations) — the count of the findings, not the findings. Rewrite every entry and the signature still checks out, provided you keep the same number of them. Here the signed payload contains the full {path: sha256} map, and paths are included because a file moved into another slot is a different artifact carrying the same bytes.

3. ok is not one question. verify reports signature_ok, content_ok and a diff separately, because the interesting failure is a valid signature over a payload that no longer matches the disk — and one boolean cannot say that. "Invalid" sends a reader hunting for a key problem when the answer is usually "you added a file", which the diff names outright.

What a seal does and does not prove

Without --key, a seal proves the artifact has not changed since someone sealed it. Anyone can generate a key and sign anything, so that is a statement about tampering, not about origin. Passing the publisher's public key is what turns it into this came from them. The CLI says so on every run rather than letting a bare pass be misread.

Line endings are not normalised. They are content: a script whose CRLFs were rewritten is a different file to the shell that runs it, and a seal saying otherwise would be lying about the bytes that execute.

Licence

Apache-2.0.


The aw family

Standalone tools that share one idea: replace something you would otherwise have to trust with something you can check.

Each installs on its own, works offline, and needs no account.

instead of trusting you check
awdk a framework's idea of how your agents should run one loop you can read, pointed at a backend you already pay for
awskills that an agent knows your procedure the procedure written down, versioned, and loadable by any agent
awm that memory stayed in its lane tenant:user:project scopes, so a write cannot cross a boundary
awnode a vendor's cloud with every prompt a local gateway routing to backends you chose
awgraph that grep found everything an AST + tree-sitter call graph an agent can traverse
awgit that no one else is editing this file a lease, refused at commit time if you do not hold it
awseal (you are here) that the artifact came from who you think an Ed25519 seal — the key that verifies is not the key that forges
awshare that the download is intact content-addressed bundles, verified on fetch
awnest that there is a person on the other end a verdict with evidence, where "we could not tell" is not "yes"
awnboard a share link anyone who sees it can use an invitation addressed to one person, for one gate, revocable
awnix that the box is what you left it as an immutable image you built, with atomic rollback
awrecover that the restore worked a restore that fully lands or does not land at all
awkno that the docs site is up, or that you remember the family the whole ecosystem in your terminal, with no network at all
awrelay a SaaS in the middle of your agents findings, alerts and coordination over your own transport
awmail a mailbox somebody else can read mail your agents send and receive over your own server
awfind one vendor's idea of the web results from whichever providers you configured
awbrowse that the page said what you were told the render, the DOM and the requests it made
aitherkvcache a vendor's quantisation defaults sub-byte KV cache kernels you can benchmark yourself
AitherZero a pile of scripts nobody has numbered numbered, discoverable automation with declarative playbooks
AitherConnect what a page tells your browser to do a federated search and desktop bridge you host
awreason a confident paragraph the phases it went through, and every tool call it made to get there
awrecurse that everything you pasted in was actually read which slices it opened, and what it concluded from each
awprism the first explanation that fits the ranked alternatives, and the observation that separates them
awrepl what the agent believes the value is the value, printed from the live session
awresearch a summary of pages nobody opened every claim against the source it came from

awnix is the ground floor — A Linux you can hand to an agent — immutable base, capabilities included.

The Aitherium ecosystem

Every repository here is public. Each publishes an aither-manifest.json beside its page, so any surface can read every sibling's — the network is browsable from any node in it.

repo what it is pages
awdk Build AI agent fleets — 3 lines, any backend, local or cloud docs
awskills Portable agent skills — self-contained procedures an agent loads on demand docs
awm A portable, scoped agent memory docs
awnode A lightweight local gateway — bridges your apps to the AI backends you chose docs
awrun A priority-aware queue and dispatcher for agentic runs and ad-hoc CI builds docs
awgraph A semantic code graph for agents — AST + tree-sitter, call graphs docs
awgit Semantic version control on top of git — edit-ops and leases docs
awseal (you are here) Sign an artifact so a stranger can verify it docs
awshare Publish an artifact and fetch it back verified docs
awnest Prove there is a human before you let them into the nest docs
awnboard A front gate you can put in front of anything, and hand someone the key to docs
awnix A Linux you can hand to an agent — immutable base, capabilities included docs
awrecover Labelled snapshots with an all-or-nothing restore docs
awkno The man page for the Aither World — every brick, stack and law, offline docs
awrelay Portable agent messaging — findings, alerts, coordination docs
awmail Give an agent an email address — send, and actually receive docs
awfind A portable search client — query, results, ranking docs
awbrowse A portable browser client — navigate, console, network, DOM, screenshot docs
aitherkvcache Near-optimal KV cache quantization for LLM inference — sub-byte compression docs
AitherZero PowerShell 7+ automation framework — numbered, self-describing scripts docs
AitherConnect Browser extension — federated AI search, page context, and the Living OS overlay docs
awreason A portable reasoning client — sessions, phases, thoughts, and the chain that produced the answer docs
awrecurse Answer a question over a context far larger than the window — recursively, with the trace kept docs
awprism Turn a failure into ranked hypotheses — and say what would confirm each one docs
awrepl A REPL an agent can actually use — state that survives between turns docs
awresearch Ask a research question, get a cited report you can check docs

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awseal-0.1.0.tar.gz (28.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awseal-0.1.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file awseal-0.1.0.tar.gz.

File metadata

  • Download URL: awseal-0.1.0.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for awseal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 535959f3962918505953ed8edd51118d9347eb51c3ffd996daa970d3e0066e9a
MD5 e40cb4fa22df418cdb5e84452e684c8b
BLAKE2b-256 362ef8a9cb3e43d2c78839e7bb5fafb3e5f0c41aaf5559366dfce8152275850c

See more details on using hashes here.

File details

Details for the file awseal-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: awseal-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for awseal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8adb85a4405fc970cee5edc52cb90697be87421a6cbc4598086dfed389dd36bf
MD5 b0c2235ad25e04f8075cc11ffd725fe0
BLAKE2b-256 9bec6f185a8f1a737c2930740c1520c83966d280053117490f427b24fc5a97eb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page