🇨🇦 Canadian Digital Blockchain Infrastructure (CDBI) Technical Blueprint

Source: Canadian Digital Blockchain Infrastructure - Complete Technical Blueprint


1. Executive Summary: Core Innovation

The CDBI is a blockchain-based voting infrastructure that replaces paper ballots with cryptographically secure, publicly verifiable digital votes. The system uses physical kiosks (CDBI AVMs) deployed at traditional polling locations.

The Core Innovation is separating voter identity from vote content using public-key cryptography while maintaining a publicly auditable blockchain ledger. This provides both ballot secrecy and complete transparency, solving the fundamental tension in electoral systems.


2. System Architecture Overview

The system is organized into five high-level, integrated components:

Component Function / Location Key Technologies
Voter Interface CDBI AVM Kiosk at Polling Station Touchscreen, HSM, Encrypted SSD
Identity Layer Verification of voter eligibility (CRA Integration) SIN Verification, Zero-Knowledge Proof
Encryption Layer Ballot Anonymization Public Key Cryptography
Blockchain Ledger Immutable record of votes Distributed Consensus (Proof of Authority), 50+ Independent Nodes
Public Transparency Layer Real-Time Dashboard for auditing Web Application, Automated Tallying

3. CDBI AVM (Automated Voting Machine) Specifications

3.1. Hardware and Physical Security

3.2. Software Stack


4. Kiosk Application Flow and Cryptography

4.1. Kiosk Application Flow

  1. Welcome Screen: Language selection and prompt to "Enter your SIN to begin".
  2. Identity Verification: API call to CRA verification service, checks voter eligibility database, loads riding-specific ballot.
  3. Ballot Display: Shows candidates, party affiliations and photos, and optional "Learn More" info button.
  4. Vote Confirmation: Displays selected candidate and warning: "Cannot change after confirmation".
  5. Cryptographic Processing: Generates unique ballot ID, encrypts vote content, signs with kiosk's private key, and submits to blockchain.
  6. Voter Confirmation Screen: Displays ballot ID (e.g., CDN-X7K9PL2M), timestamp, and confirmation that the vote was recorded. Optional: Print receipt.
  7. Reset: Returns to welcome screen (60-second timeout).

4.2. Vote Encryption Process (Security Model)

This process ensures transparency (public can see a ballot exists) while maintaining privacy (public cannot see the vote content).

  1. User selects a candidate (e.g., "Mike Doe - Conservative Party").
  2. Kiosk generates unique ballot ID (e.g., CDN-X7K9PL2M).
  3. Vote content is encrypted with AES-256.

    Plaintext: {"candidate": "Mike Doe", "party": "Conservative"}

    Encrypted: 0xABCDEF123456789... (gibberish without decryption key)

  4. Kiosk signs the encrypted vote with its private key (proves legitimacy and prevents fake ballots).
  5. The signed, encrypted vote is submitted to the blockchain with the Ballot ID.

5. Identity Verification Layer

5.1. CRA (Canada Revenue Agency) Integration

The CRA is used because Canadians already trust them with sensitive data (taxes), they have existing infrastructure for SIN verification, and they provide real-time API access to verify identity.

CRA Validation Checks:

5.2. Privacy Protection

5.3. Voter Eligibility Database


6. Blockchain Architecture

6.1. Consensus Mechanism: Proof of Authority (PoA)

PoA is used instead of Proof of Work (PoW) or Proof of Stake (PoS) for the following reasons:

6.2. Validator Nodes (Authority Nodes)

6.3. Cryptographic Security

Component Algorithm / Key Property Details
Ballot Encryption AES-256-GCM (symmetric encryption) Vote content is made illegible without the decryption key.
Signatures ECDSA with secp256k1 curve (same as Bitcoin) Used to sign votes and prove legitimacy from a registered kiosk.
Hashing SHA-256 (industry standard) Used for voter SIN hash (cannot reverse) and block chain integrity.
Key Management Unique Key Pair per Kiosk Private Key stored in HSM and never leaves kiosk; Public Key is on blockchain for verification.

The blockchain provides **immutability**, **transparency**, and **auditability**. Finality is achieved once $51\%+$ validators sign a block.


7. Real-Time Tallying and Public Transparency

7.1. Automated Tallying System

The automated system eliminates the delay and lack of transparency associated with traditional manual counting.

Vote submitted to blockchain $\rightarrow$ 51%+ validator nodes confirm (<5 seconds) $\rightarrow$ Vote permanently recorded $\rightarrow$ Automated tally updates immediately $\rightarrow$ Public dashboard refreshes in real-time.

New votes are tallied within 5 seconds, and the public dashboard refreshes every 2 seconds.

7.2. Public Transparency Dashboard (transparency.cdbi.ca)

This publicly accessible web application enables real-time auditing: