Network HSM and prover for Midnight

Introducing NightHSM,
Midnight's secure enclave.

One appliance that holds your keys, signs your transactions and proves your shielded spends.

01

Keys never leave the enclave

Keys are generated, stored and used inside the hardware boundary. Your node asks for a result and never sees the key.

02

A prover inside the boundary

Midnight's shielded coins are spent with a zero-knowledge proof, and the spending key is an input to it. NightHSM builds that proof itself, so the key never visits a proof server.

03

Shielded and unshielded

One device signs your unshielded NIGHT transactions and proves your shielded ones. Hand out a viewing key to watch incoming funds without the power to spend them.

04

A small, verified core

Only signed system software boots. A separation kernel keeps the key store apart from the network stack, and a TPM ties your data to the device.

05

Encrypted backups

Back up your keys in encrypted form and restore the same keys and addresses onto a replacement unit.

Products

Two ways to run NightHSM

The same enclave either way. Choose who looks after the box.

On Premise

Your rack. Your perimeter.

A 2U appliance delivered to your datacentre. You hold the hardware, the credentials and the physical security.

  • Standard 19-inch 2U chassis
  • Signing and proving on your own network
  • Separate administrator and operator accounts
Ask about On Premise

Hosted as a Service

Your keys. Our datacentre.

A dedicated NightHSM operated for you. You keep control of the keys and the administrator accounts, and we keep the lights on.

  • Dedicated hardware, never shared
  • You hold the administrator credentials, not us
  • Monitoring, patching and hardware replacement included
  • Private connectivity to your nodes

From 2 399 USD monthly

Ask about Hosted

Contact us

Tell us what you're securing

We'll get back to you with availability, pricing and a technical walkthrough.

Or write to hello@nighthsm.io.

FAQ

Questions, answered

What is NightHSM?

NightHSM is a network hardware security module built for Midnight. It keeps private keys inside dedicated hardware and, over a REST API, signs unshielded transactions and builds the proofs for shielded ones on behalf of your services.

Why does an HSM need a prover?

A shielded coin on Midnight isn't spent with a signature. The spender proves in zero knowledge that they know the coin's secret key, which means whoever builds the proof holds the key. If the key has to stay in the HSM, the proof has to be built there too. NightHSM returns a finished shielded transaction. Your service adds the DUST fee and submits it.

Why not just keep keys on a server?

A key on a server's disk is only as safe as that server. If the host is compromised, the key is copied and you may never know. With an HSM the key cannot be exported, so an attacker who gets into your server still can't walk away with it. That includes the proof server: with NightHSM the spending key never goes to one.

What's the difference between On Premise and Hosted?

The hardware and the security model are the same. On Premise, the appliance sits in your rack and you operate it. Hosted, a dedicated unit sits in our datacentre and we operate it for you, while you keep the administrator accounts.

With the hosted service, can you access my keys?

No. Spending keys are non-exportable and the administrator and operator credentials are yours. We look after power, network, monitoring and hardware, not your key material.

What happens if a unit fails?

Your keys are included in encrypted backups. A backup restores onto a replacement unit only with your backup and unlock passphrases.

How do I get one?

Get in touch. We'll talk through your setup and work out whether On Premise or Hosted fits better.