Skip to content

[fix] allow custom clients in did:web resolver, and test against https #1304

@gmulhearn-anonyome

Description

@gmulhearn-anonyome

https://github.com/hyperledger/aries-vcx/blob/7fc8b7908997ec9d8feadf52f052938b7755e8c8/did_core/did_methods/did_resolver_web/tests/resolution.rs#L81C10-L81C28

currently the did:web resolver constructs the hyper client for you, this makes it hard to inject custom ca certs into the client, or make custom client configurations, which makes it hard to test using the https mode - which is why we only test in http mode.

would be nice to allow clients to be injected, and switch the tests to use https. the http() mode could potentially be removed as well, since that mode doesn't abide by the did:web spec

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions