Talk to Us
Blog · Developers

How Wilby Keeps Its Keys (Google's Key Vault, in Plain Words)

Every Wilby record is signed. Here's where the signing keys live, why they're never in a file on a server, and how anyone can check them.

· 2 min read

Blog: How Wilby Keeps Its Keys (Google's Key Vault, in Plain Words)

Every Wilby record is signed, so it can't be quietly changed later. But a signature is only as trustworthy as the key that made it. If someone stole the key, they could sign anything.

So we treat the keys as the most important thing we hold. Here's how they're kept.

The Short Version

Wilby's keys are locked by keys that never leave secure hardware in Google Cloud's key vault (Cloud Key Management Service). The keys Wilby signs with are never kept in a file on a server.

How It Works

Think of a safe deposit box inside a bank vault.

  1. The vault keys live in hardware. Three keys were created inside Google's hardware security modules: special machines built so a key can be used but never copied out. Not by us, and not by anyone else.
  2. Wilby's working keys are locked with them. The keys Wilby uses to sign records, sign customer permissions and protect stored payment access are kept only in locked form. The vault key that does the locking changes on its own every 90 days.
  3. Unlocked only in memory. When Wilby starts, it asks the vault to unlock its working keys. They exist only in the running program's memory, never written to disk.
  4. A login just for this. Wilby's server has its own login to the vault, allowed to use those three keys and nothing else.

Proof You Can Check

The hardware keys also certify Wilby's signing keys: they sign a statement saying "this is Wilby's signing key". Those certificates are public at app.usewilby.com/v1/keys.

So anyone can check two things for themselves:

  • that a record was signed by Wilby's signing key
  • that this signing key was certified by a key held in secure hardware

Why It Matters to You

  • Your records hold up. A bank or card network can check a signature without asking us.
  • No signing key on disk. The keys Wilby signs with aren't stored in a file anywhere on the server.
  • Your customers' permissions are protected the same way. Their limits are signed with keys kept the same way.

More on records and signatures in What a Signed Record Is, and Why Banks Care, and in the developer docs.

Set your rules. Let your customers set theirs.

Talk to UsCheck a Website, Free