Skip to content

Default implementation in Signer triat uses hardcoded HTTP Resolver instead of the resolver on the Context #2142

@duggaraju

Description

@duggaraju

Component

c2pa-rs

If Other, please specify

No response

Version

0.84.0

Platform

Linux

What happened?

The default implementation of send_timestamp_request() in signer trait uses a hardcoded Resolver instead of using the context resolver. which means

  1. You can't build with http disabled even if you implement your own http resolver.
  2. The resolver set in the Context is used by builder but not by the timestamp request.

What did you expect to happen?

Ideally the API should take the context as a parameter which is passed from the builder and use the resolver from the context always.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions