Hierarchical Key Management
Question
What are the keys used in the Vault environment?
Answer
The Keys...
The Operator CD contains the unique Server Key and Recovery Public Key for the Vault. The Master CD contains the unique Recovery Private Key for the Vault.
The Vault contains Safes and a unique Safe Key for every Safe.
The Safes contain Files and a unique File Key for every version of every File.
Root Keys...
The Server Key is a 256-bit symmetric key and is the "anchor" of the Vault's encryption hierarchy. The Server Key is required to start the Vault server, and is the parent of all other Keys in the hierarchy.
The Recovery Key is a 2048-bit asymmetric key pair consisting of the Recovery Public Key and the Recovery Private Key. The Recovery Key can be used to access all information in the Vault in the event of a disaster
Key Management...
When a safe is created, the Server creates a random Safe Key for it. The Safe Key is then stored with the Safe, encrypted by the Server Key. A second copy of the Safe Key is also stored with the Safe, encrypted by the Recovery Public Key.
When a File (or a File version) is stored into a Safe, the Client creates a random File Key for it, encrypts the File, and transfers the encrypted File to the Safe. The Client then sends the File Key to the Server over the VPN channel, and the Server uses the Safe Key to encrypt the File Key and store it in the Safe.
Since every version of every File is encrypted with a different File Key, even if someone gains access to one File's Key, only that version of that particular File is compromised.
When a Client requests a File, it is transmitted still encrypted with the same File Key it was stored with. The Server then decrypts the Safe Key using the Server Key and then the File Key using the Safe Key. The decrypted File Key is then securely sent to the client over the VPN, and the Client uses this File Key to decrypt the File.
In the event of a disaster, the Master user can use the Recovery Private Key to decrypt all Safe Keys that were encrypted using the Recovery Public Key. For this reason, it is imperative that the Master CD be stored in a highly secure place, such as a physical safe.