DotNetCloud is built out of modules — and every module is a signed package you can review before it runs. The store publishes them; your server decides what it trusts.
A module extension model is only useful if an untrusted module cannot read everything else. DotNetCloud modules run as their own process, talk to the core over gRPC, and get exactly the access they declare — no more.
Each module is a separate process that reaches the core through gRPC over a Unix socket or a named pipe. It cannot see another module's memory, its configuration, or the core database — nothing is shared in-process.
A module declares the typed capabilities it needs — notifications, storage, the audit log. Anything it did not declare is refused at the call site, and privileged capabilities need an explicit administrator grant.
A module that keeps data gets an isolated schema and its own database principal, created before its binaries go live. It owns its tables and cannot read the core schema or another module's data.
Every package is hashed and signed (Ed25519). The server verifies the hash and the signature against keys you pinned, rejects revoked key ids, and refuses archives that try path traversal, symlinks or case collisions.
Installing is not a single click that hides the details. The approval names the package hash and the exact capability and consent-scope lists being approved — so a package that quietly added a capability fails the acknowledgement instead of inheriting your trust.
The replaced version is kept, so module rollback restores it without
reinstalling. A version that was withdrawn (yanked) from the store is refused outright,
and a module that fails its health check after install is rolled back automatically.
The store records who signed a package and how it was reviewed. Your server only trusts key ids you pinned, so a store compromise cannot silently swap out signers.
Signed with the DotNetCloud official key and published from this project's own build. Includes the platform modules and the reference implementation.
A publisher with registered signing keys. The store verifies the signature and shows the key id with every version, so you can pin exactly one publisher.
Reviewed by the store after submission — manifest, least-privilege capabilities, erasure implementation, network behaviour, telemetry declaration and license — then signed.
A package signed with a key your server does not trust. It needs an explicit
--allow-unverified (or an admin acknowledgement), prints the SHA-256 first,
is recorded as unverified, and is audited.
Modules are installed from the CLI or from the admin UI. Both paths run exactly the same verification and approval steps — the admin UI simply shows you the facts first.
Add the store index and the signing keys you trust to the server configuration. Keys are only ever read from configuration — never from the feed — so a compromised store cannot introduce its own signer.
{
"Modules": {
"Store": {
"IndexUrl": "https://modules.dotnetcloud.net/index/v1/index.json",
"TrustedKeys": {
// copy these from the store's publishers.json, then keep them here
"store-2026": "<store index key, base64>",
"dotnetcloud-official-2026": "<DotNetCloud publisher key, base64>"
}
}
}
}
Setting IndexUrl replaces the local feed directory. Air-gapped servers
use the feed instead (--from-feed) or a package file
(--file).
The installer verifies the archive, the manifest, core compatibility, the SHA-256 and the package signature, then shows what the module declares before anything is written.
# install the newest version from the configured store
dotnetcloud module install dotnetcloud.example --from-store
# pin an exact version
dotnetcloud module install dotnetcloud.example --from-store --version 1.0.2
# browse what the store offers
dotnetcloud module list
In the admin UI the same flow lives under Admin → Store: pick a version,
review the publisher, hash, key id, capabilities and consent scopes, then approve.
Uploading a .dncpkg file runs the identical review.
Everything you installed can be inspected and undone without touching the store again.
# re-verify an installed package against its pinned key
dotnetcloud module verify dotnetcloud.example
# details: version, publisher, signing key, capabilities, data store
dotnetcloud module info dotnetcloud.example
# restore the previous version (it is kept on disk)
dotnetcloud module rollback dotnetcloud.example
# remove it; its isolated data store is dropped too
dotnetcloud module uninstall dotnetcloud.example
The store is in preview. One signed package is published so far — the reference module that documents the whole lifecycle — while the platform modules keep shipping with the server.
dotnetcloud-official-2026INotificationService, IStorageProvider, IAuditLoggerVersion 1.0.1 of the example module was yanked after it failed to start inside the module sandbox. Yanked versions are marked in the catalogue with a reason and are refused by the installer — even if a stale cache still lists them.