Skip to content

--jwks CLI flag: support file:// paths for local dev #9

Description

@desiorac

The --jwks flag in verify 0.6.0 only accepts HTTP(S) URLs. For local development and CI pipelines running offline, accepting file:///path/to/jwks.json would avoid requiring a running HTTP server to serve keys.

Repro:

verify --jwks file:///tmp/test-keys/jwks.json <receipt>

→ parse error (expects http:// or https:// scheme)

This matters for test-vector validation where JWKS files live alongside the test fixtures — e.g. the sidecar approach in PR #7.

Suggested behavior: if the --jwks value starts with file://, read the JWKS from disk instead of fetching over HTTP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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