Use cases

Document Signing With Keys That Never Leave the Enclave

Signing keys held in sealed state, used only under approvals your code enforces

The weakest point of most signing systems is the private key and the people who can reach it. On Calimero Network, the key stays inside attested nodes and acts only under rules you write.

Document Signing With Keys That Never Leave the Enclave

Key takeaways

  • Signing keys live in the app's sealed state and never leave the attested nodes.
  • Your Rust code decides when the key may act: a passkey confirmation, or approvals from several people.
  • Every signing call returns a receipt from an attested key, proving which release produced the signature.

Where does the signing key live?

The key is part of the app's state: sealed with AES-256-GCM on disk, replicated across attested nodes, and readable only by the app's own code running inside Intel TDX. No API returns it unless you write one, and you won't. Operators, including Calimero Network, can't read it or copy it out of a disk image.

How do you control when the key signs?

The signing method is ordinary Rust, so the policy is too. Common patterns:

  • One signer, confirmed. Mark the method #[app::confirm], so each signature needs a fresh, user-verified passkey assertion.
  • Quorum. Record approvals in a table keyed by the approving account, from env::caller(), and sign only once enough distinct approvers have agreed.
  • Deadlines. Use a timer to expire unsigned requests.

Because the policy is in the signed release, nobody can quietly change it. A new version reaches the key only after the organization's approver says yes on the consent page.

What about the documents themselves?

Keep documents as blobs, which are content-addressed by SHA-256, so the hash you sign is the document you stored. For documents that must stay private even from ordinary app code, upload them as sealed files and process them in a compute run.

How do you prove a signature was produced correctly?

Every call returns a receipt signed by the node's attested receipt key, over the app, the log position and a hash of the result. Together with the release's published measurements, that shows which code produced the signature.

What does it not cover?

Calimero Network gives you protected keys and enforceable approval logic. Whether a signature meets a particular legal standard for electronic signatures depends on your process and jurisdiction, so check that with your counsel.

Frequently asked questions

Can a signing key be exported from a Calimero Network app?

Only if your own code exposes it. The key lives in sealed app state that only the app's code inside attested nodes can read.

Can I require several people to approve a signature?

Yes. Record approvals by caller in app state and sign only when your quorum rule is met. The rule is part of the signed release.

Does Calimero Network provide qualified electronic signatures?

Calimero Network provides the protected key and approval logic. Legal qualification depends on your process and jurisdiction.

← All postsAll use cases →

Read it, then run it.

Start free on Calimero Network Cloud, or book a demo with the team.