Codebook Security in the Post-Quantum Era

2026-12-03 14:30:00 -0500

Recent guidance from the NSA and a joint statement from ONCD, NSA, and CISA, alongside commitments from major technology companies, have put a spotlight on migrating systems to Post-Quantum Cryptography (PQC). Since those announcements went out, we’ve heard from customers asking how this affects Codebook and Codebook Cloud.

The short answer: the cryptographic algorithms protecting your data in Codebook and Codebook Cloud Secure Sharing are already post-quantum resistant.

Why Quantum Computing Targets Asymmetric Cryptography

Quantum computers threaten traditional asymmetric (public-key) cryptography like RSA and Elliptic Curve Cryptography (ECC), which rely on mathematical problems such as integer factorization and discrete logarithms. Because public-key algorithms handle TLS handshakes, digital signatures, and key exchanges over networks, the industry is actively migrating those protocols to NIST’s new PQC standards.

How Codebook Protects Data at Rest and in Sync

Rather than relying on vulnerable public-key exchanges to protect stored records, Codebook is built on SQLCipher’s security design, using NIST-standardized symmetric cryptography and hash functions:

  • Codebook encrypts your database using 256-bit AES in CBC mode. Grover’s algorithm, the primary quantum attack against symmetric ciphers, effectively halves symmetric key strength. A 256-bit AES key still retains 128 bits of effective security against a quantum computer, keeping it well out of reach of brute-force attacks and aligned with NSA CNSA 2.0 symmetric requirements.
  • Codebook derives your local encryption key using PBKDF2-HMAC-SHA512 (256,000 iterations) and verifies page integrity with HMAC-SHA512. SHA-512 produces 512 bits of output (256-bit classical collision resistance and strong resistance against quantum preimage and collision attacks), keeping both key derivation and tamper detection solid.
  • Your local encryption key is derived from your Master Password on your device and is never sent to or stored in the cloud.
  • When you sync across devices via Codebook Cloud, Google Drive, Dropbox, or local Wi-Fi, your data is encrypted on your device using your local Sync Key with the exact same 256-bit AES and HMAC-SHA512 standard used at rest before it ever leaves your device.

Post-Quantum Key Exchange and Signatures in Codebook Cloud Secure Sharing

Where asymmetric cryptography is actually needed, specifically when sharing credentials between different users, we built Codebook Cloud Secure Sharing from the ground up with NIST’s post-quantum standards.

Secure Sharing uses ML-KEM (FIPS 203) to establish shared secrets and encrypt entry records between trusted Codebook Cloud contacts. Unlike RSA or ECC key exchanges, ML-KEM resists both classical and quantum attacks, protecting shared records from “harvest now, decrypt later” collection.

Every shared entry is also signed and verified using ML-DSA (FIPS 204), ensuring shared records genuinely come from a verified contact and haven’t been altered in transit.

What You Should Do Next

If you’re already using Codebook version 4 or later, you don’t need to re-encrypt your database files, change file formats, or migrate your vault. Existing 256-bit AES and HMAC-SHA512 databases are already protected at rest and during sync.

To keep your account and devices in the best shape, we recommend a few practical steps:

  • Stick to a strong Master Password. Symmetric quantum resistance relies on strong key material, so continue using a strong Master Password and keep a secure backup of your Sync Key.
  • Stay current with releases by tracking Codebook updates and the Zetetic blog so you always have the latest security updates across your devices.

If you have questions about post-quantum security in Codebook or Codebook Cloud, contact our team or join the discussion on the Zetetic Forum.