Skip to content

Inconsistency in test vector generation (signing) and verification #21

@dahlia

Description

@dahlia

I've encountered a bug where test vectors generated by httpsig.org fail verification on the same site. This suggests an inconsistency between the signature generation and verification implementations.

Steps to reproduce

  1. Generated a test vector on httpsig.org using the rsa-v1_5-sha256 algorithm
  2. Attempted to verify the same signature on httpsig.org
  3. Verification failed despite using the same test vector generated by the site
httpsig.org.mp4

Expected behavior

The signature verification should succeed when using test vectors generated by the same implementation.

Technical details

  • Signature algorithm used: rsa-v1_5-sha256
  • No modifications were made to the test vector between generation and verification

Questions

  1. Is there a known issue with the verification process for rsa-v1_5-sha256 signatures?
  2. Could there be a mismatch between the implementation of signature generation and verification components?
  3. Are there any specific parameters or headers that need to be maintained exactly between generation and verification?

Thank you for your time. I'm available to provide any additional information that might help diagnose this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions