Cloud and Security·10 min read

    Introducing PQCAware: an open-source tool for post-quantum readiness

    Introducing pqc-aware: an open-source skill and policy checker for following cryptographic evidence from the public listener to the origin, backup and restore path.

    By John Cattrall

    PQCAware. AwareAI Open Source.

    Suppose a connection log shows that a browser negotiated a post-quantum hybrid key exchange with your load balancer. The application team asks: “Does that mean we’re ready?” We’d give them credit for one thing we can now prove. Then we’d ask to see the target group.

    That question is why we created pqc-aware at AwareAI. It’s an open-source agent skill and policy checker built around a small question: what protection is in use, on which path, and how do we know?

    Why start now?

    On 2026-12-02, the NSA called on National Security Systems owners, operators and vendors to accelerate their transition to post-quantum cryptography. That’s guidance for a specific audience, not a new compliance deadline for every company. But one of its recommendations is useful almost anywhere: inventory the cryptography you depend on before deciding what to replace.

    Start with data that must remain confidential for years. Someone who records encrypted traffic today may be able to decrypt it later. Then look at decisions that are hard to reverse: if an appliance’s boot ROM accepts only one signature algorithm, the time to discuss its upgrade path is before you buy another thousand units.

    Our practical guide to the NSA advisory covers the migration milestones and immediate actions. Here, the focus is narrower: turning a readiness claim into evidence a team can inspect.

    Follow the request beyond the frontend

    The protection stops where the connection does.

    One request. Two independently configured connections.

    Browser
    Hybrid key exchangeObserved in a connection log
    Load balancerTLS terminates here
    HTTP to originConfigured in the target group
    Application
    Illustrative path. A frontend observation does not establish backend protection, other clients’ fallback behaviour or authentication-signature protection.

    If the load balancer forwards the request to the application over HTTP, both facts can be true: the browser negotiated the hybrid exchange, and the next hop used plaintext HTTP. Upgrading the frontend did not change the backend. Nor did that successful connection tell us whether an older client could fall back to a classical exchange, or whether the certificate signature was quantum-resistant.

    The HTTP finding is about protection on that application connection. Any network-level encryption is a separate control to document, not evidence that HTTP itself provides TLS protection.

    A review records the listener and origin as separate paths. It also keeps a successful client connection separate from the set of exchanges a policy allows. That gives the application and network teams specific evidence to collect, rather than a single readiness label to debate.

    Follow one backup all the way to restore

    Our illustrative worked example includes a backup encrypted with AES-256-GCM. That sounds like the end of the review. It isn’t. The restore service also needs the data key, and in this example the archive contains a copy of that key wrapped with RSA-OAEP.

    An encrypted backup is only half the story.

    Restore needs the payload and a recoverable data key.

    Encrypted payload

    AES-256-GCMConfigured archive format

    Meets example policy

    +

    Wrapped data key

    RSA-OAEPProvider attestation

    Fails example policy

    Both are needed to restore
    Illustrative enterprise-policy results from the repository. Changing the backup writer does not change the keys wrapped inside existing archives.

    Those are two distinct uses of cryptography. The payload cipher meets the example enterprise policy. The key wrapping does not. Neither finding means “replace AES.” A useful next step is to find out which recipients hold wrapped copies, how long those copies are retained, and whether the recovery appliance can restore a backup using a different wrapping scheme. Changing what tomorrow’s backup writer produces won’t change yesterday’s archive.

    Sometimes the honest answer is simpler: we don’t know. If a VPN vendor lists post-quantum support but neither peer can show which key exchange the tunnel negotiated, that’s a capability claim, not deployment evidence. We report the gap instead of giving the tunnel a pass.

    How the skill works

    pqc-aware has two interfaces. The agent skill guides an advisory review of the material you supply. The optional Python checker applies the versioned policy to structured evidence and returns a reproducible result. You can use the skill without installing the checker, and run the checker without an AI agent.

    The skill is a local directory containing instructions and a policy catalog. Your agent reads those files, agrees the review scope, then works through the configuration, code, logs or deployment-specific attestations you provide. It does not need cloud credentials. A hosted agent still handles your supplied context according to that agent’s own data settings, so use redacted material approved for that environment.

    The review follows four steps:

    1. Define the paths. Identify the assets, trust boundaries, owners and data lifetimes, including backups and recovery systems. Choose a policy profile and record its version.
    2. Separate cryptographic uses. Record key establishment, authentication signatures, transport, bulk encryption and key wrapping independently. Artifact signatures, hashes, MACs and key derivation also have policy rules.
    3. Classify the evidence. A configured setting, an observed exchange and a deployment-specific attestation answer different questions. A product’s supported feature list alone does not demonstrate deployed use.
    4. Return findings and actions. For each asset and purpose, identify the rule, scheme, evidence reference and result: pass, fail, unknown or waived. Name the owner and the next evidence or migration step for each gap.

    This extends beyond load balancers. The review can follow VPN peers and rekey behaviour, PKI and identity dependencies, backup recovery, application crypto, and the verifiers that accept software or firmware updates. An unknown is a useful output when it names the missing fact and who can supply it.

    Install it and run your first review

    With Node.js 22.20 or later available, run this in your project directory and choose your agent:

    npx skills add aware-ai-global/pqc-aware --skill pqc-aware
    

    This installs the skill, not the Python checker. In Codex, select pqc-aware from the skills menu or mention $pqc-aware. Claude Code users can instead install the repository’s plugin:

    /plugin marketplace add aware-ai-global/pqc-aware
    /plugin install pqc-aware@awareai-pqc
    

    After loading the plugin, invoke /pqc-aware:pqc-aware. Choose one installation route to avoid duplicate copies. The harness guide also covers omp, Copilot CLI, OpenCode and offline installation, with verification status for each route.

    Start with a redacted listener configuration, its backend configuration and one saved negotiation sample. Include the relevant backup and key-management documentation if you want to trace recovery too. Then ask:

    Try this review

    Use pqc-aware to review this service’s client-to-listener, listener-to-origin and backup restore paths. State the policy version. For each asset and cryptographic purpose, show the rule ID, scheme, evidence basis and pass, fail or unknown result. Give each gap an owner and a next step. Do not change configuration or probe the network.

    Expect findings tied to individual paths, not a whole-service badge. For example, an observed hybrid exchange can pass for one frontend connection while the HTTP origin fails and backup key wrapping remains unknown. Check that the review cites the supplied evidence and makes those distinctions before acting on it.

    AWS, Google Cloud, Azure and your own infrastructure

    The policy is organized around cryptographic purpose rather than cloud brand. One inventory can include a Google Cloud ingress, Azure storage, an AWS archive and an on-premises VPN. Review coverage is broader than automatic extraction. The built-in collectors read selected local files; they do not sign in to providers or discover your estate.

    EnvironmentBuilt-in offline extractionEvidence still needed
    AWSTerraform ELBv2 listeners and target groups; encryption settings on standalone EBS volumes.Negotiated groups, effective deployment, VPN peers and KMS/backup key protection.
    Google CloudTerraform global HTTP and HTTPS target proxies.Frontend SSL policy, forwarding-rule attachment, origin protocol, VPN negotiation and KMS protection.
    Microsoft AzureTerraform Storage Account HTTPS-only REST setting.Front Door/Application Gateway paths, negotiated groups, Key Vault or Managed HSM operations and backup protection.
    On-premises / private cloudSaved OpenSSL brief TLS diagnostics from an authorized connection.Proxy configuration, VPN peers, PKI, HSMs, offline backups and update/boot verifiers.
    Kubernetes, SaaS and other cloudsShared inventory schema and TLS import where applicable; no dedicated cluster or SaaS collector.Operator-supplied configuration, observations and deployment-specific attestations.

    An HTTPS proxy does not identify a negotiated group. An encrypted volume does not identify its key-wrapping scheme. Keeping those gaps visible is part of the assessment. The platform guide includes runnable multicloud and on-premises examples.

    Collect evidence and run a repeatable check

    For the optional checker, use Python 3.10 or later. From a reviewed checkout of the repository, install it in a virtual environment:

    python3 -m venv .venv
    . .venv/bin/activate
    python -m pip install .
    

    The CLI has three main jobs:

    • collect-tfplan reads supported resources from a complete Terraform plan exported as JSON. Inspect its skipped-resource list and reconcile that with your asset inventory.
    • collect-tls imports a saved OpenSSL diagnostic for one connection. It does not open a connection or scan an endpoint.
    • check compares an inventory with an independently owned scope and the selected policy. Use JSON output to retain findings by asset and rule.

    Try the included three-cloud example from the checkout:

    pqc-aware collect-tfplan examples/multicloud-plan.json > inventory.json
    pqc-aware check inventory.json --scope examples/multicloud-scope.json --profile enterprise
    

    The example intentionally exits with code 1. Its Google HTTP proxy and Azure account permitting HTTP violate the transport target. The AWS volume matches the enterprise bulk-encryption strength rule, while key wrapping still needs evidence. This demonstrates the result format; it does not describe your deployed environment.

    For your own evidence, use a protected work directory and an independently reviewed scope. The checker returns 0 for pass or an explicit current waiver, 1 for known violations, 2 for input or invocation errors, and 3 for unresolved evidence when no known violation takes precedence. Keep waived findings distinguishable from passes. The enterprise profile is the project’s migration baseline; nss is a partial algorithm screen informed by CNSA 2.0. Neither is certification.

    At AwareAI, Signal helps discover and assess the infrastructure estate, while Source keeps repository and dependency documentation current. That context helps identify what needs review. pqc-aware addresses the next question: what cryptographic evidence do we have for each relevant path and purpose?

    Make the scope independent of the result

    When you’re ready to enforce a rule, use the same versioned policy with the standalone checker or GitHub Action. A trusted owner defines which assets and evidence are required; the checker compares the submitted inventory against that independently maintained scope.

    If the scope requires the origin, leaving it out of the inventory produces a missing-evidence finding. If the scope itself omits that dependency, the checker cannot discover it for you. Protecting and reviewing the scope is part of operating the check.

    A pass means the supplied evidence records meet the selected rules. The checker does not independently authenticate those records, prove they are current, or certify the whole service. Keep the policy and scope under review, and refresh the evidence when the system changes. The policy and CI guide explains how to run the gate.

    Start with a question you can answer

    Our suggestion: pick a service whose data will still matter in ten years. Trace one request from the client to storage, then trace one backup key back through restore. If the exercise ends with a specific question for the network team or storage vendor, it’s already done something more useful than a “PQC-ready” badge.

    #PQC#PostQuantumCryptography#OpenSource#Signal#Source#AWS#Azure#GoogleCloud

    Ready to apply this to your business?

    Talk to us