Skip to content

Fetch dynamic JWK based on path #860

@kixelated

Description

@kixelated

#809 added the ability to download key files from a remote.

Ideally, we could fetch a JWK given a path. So if someone tries to publish to cdn.moq.dev/hang.live, then we would fetch the key for hang.live unless it's in cache already (and hasn't expired).

This would unlock the ability to run a MoQ service using an API server to fetch keys based on the customer. It would also avoid redownloading keys every 30s if we don't actually need them. Cache control headers could probably handle that for us.

@einrobin 👀

Metadata

Metadata

Assignees

No one assigned

    Labels

    rustPull requests that update Rust code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions