Skip to content

Research: signing test vectors #23

Closed

Description

@somethingwithproof

Question

Signers are tested against published examples so a signing bug cannot pass by matching itself.

Method

Collect AWS Signature Version 4 examples from AWS documentation, a Google service account JWT verification method, and the documented Entra token request form; record licenses for any vector files copied into tests.

Exit criteria

  • Vector sources listed with licenses.
  • A signer prototype passes every AWS example.

References

Dependencies

Activity

  1. somethingwithproof commented on Nov 15, 2026

    @somethingwithproof
    OwnerAuthor

    Signing checks, all passing:

    • SigV4: 39 of 39 vectors (aws-c-auth suite at ac5652e plus the IAM example). Mutation tests show the suite catches key-derivation and header-normalization faults; it has no repeated query key, which the planned calls do not use.
    • RS256: reproduces RFC 7515 A.2 exactly. Google's required claims are checked in milestone 6.
    • Entra client credentials form: matches Microsoft's documented example byte for byte.

    Closed by #80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: credentialsCredential sources, vault, and token handlingarea: testingFixtures, matrix, live suites, and qualificationphase: 0 researchMilestone 1 researchpriority: highNeeded for its milestoneprovider: awsSpecific to AWSprovider: azureSpecific to Azureprovider: gcpSpecific to Google Cloudtype: researchA question answered with evidence before design depends on it

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions