Codebook Help icon Codebook Help

Sync Key

Codebook uses a secure, randomly generated Sync Key for encrypting all of your data during sync. This 32-byte key is completely separate from your Codebook Master Password.

There Is Only One

You will only have one Sync Key for Codebook, that is used for all of your devices. Codebook creates it for you, and provides features for copying it to other copies of Codebook, as well as backing it up. Each copy of Codebook stores the Sync Key locally in your encrypted SQLCipher database with the rest of your secure data. The Sync Key is never stored on our servers or any online services.

Creating Your Sync Key

When you first set up Codebook (or the first time you login after upgrading to Codebook 4), you will be asked if you have created your Sync Key already. If you have not, Codebook will create one for you. If you have already created your Sync Key in another copy of Codebook, you can display it as a QR code for scanning in the new copy.

Displaying Your Sync Key For Scanning

To scan your existing Sync Key from another copy of Codebook, you'll need to display it first.

On macOS

  1. Click on the Sync menu > Add a New Device
  2. Aim the new device's camera at the QR code that is displayed.

    NOTE: After scanning this Sync Key you will be prompted to enter the Master Password. This is the current master password of the device displaying the sync key.

On Windows

  1. Click on the Sync menu > Add a New Device
  2. Aim the new device's camera at the QR code that is displayed.

    NOTE: After scanning this Sync Key you will be prompted to enter the Master Password. This is the current master password of the device displaying the sync key.

On iOS

  1. Tap More > Sync > Add a New Device
  2. Point the QR code that is displayed at the new device's camera.

    NOTE: After scanning this Sync Key you will be prompted to enter the Master Password. This is the current master password of the device displaying the sync key.

On Android

  1. Tap on Home > Sync
  2. Tap Add a New Device
  3. Point the QR code that is displayed at the new device's camera.

    NOTE: After scanning this Sync Key you will be prompted to enter the Master Password. This is the current master password of the device displaying the sync key.

Having Trouble Scanning the QR Code?

If the QR code is not scanning try to following:

  • Make sure the entire QR code is in the camera view.
  • Adjust the distance the QR code is from the camera to allow the camera to focus.
  • Keep you camera straight, try to ensure it is not tilted.
  • Clean the lens.