Problem
@veritasacta/verify CLI's --jwks flag currently fails on file:// URLs and bare filesystem paths with jwks_fetch_failed, accepting only HTTP/HTTPS URLs.
Local-development reproduction:
npx @veritasacta/verify test-vectors/cross-verify-bundle.json \
--jwks test-vectors/keys/aps-ku-cross-verify.jwks
# → jwks_fetch_failed
The README under test-vectors/ documents this exact form of invocation as the local-development path, so the failure breaks every reader who tries to run the test-vector suite locally without spinning up a hosting layer first.
Proposed scope
- Accept
file:// URLs by reading the file from disk
- Accept bare filesystem paths (relative + absolute) by interpreting them as files
- Preserve existing HTTP/HTTPS behavior unchanged
- Cite the resolved path in CLI output so users can confirm what was loaded
Why a separate issue
Surfaced during review of PR #7 (feat(test-vectors): APS DecisionLineageReceipt for ku_4b3f7c2a9d8e1f05). Both @aeoess and @desiorac agreed the fix belongs in the v0.7 scope alongside the draft-02 enforcement work, kept out of PR #7 to keep that PR focused. Filing here so it does not get absorbed into the draft-02 PR or lost between reviews.
Reference
— Tymofii Pidlisnyi (aeoess)
Problem
@veritasacta/verifyCLI's--jwksflag currently fails onfile://URLs and bare filesystem paths withjwks_fetch_failed, accepting only HTTP/HTTPS URLs.Local-development reproduction:
npx @veritasacta/verify test-vectors/cross-verify-bundle.json \ --jwks test-vectors/keys/aps-ku-cross-verify.jwks # → jwks_fetch_failedThe README under
test-vectors/documents this exact form of invocation as the local-development path, so the failure breaks every reader who tries to run the test-vector suite locally without spinning up a hosting layer first.Proposed scope
file://URLs by reading the file from diskWhy a separate issue
Surfaced during review of PR #7 (
feat(test-vectors): APS DecisionLineageReceipt for ku_4b3f7c2a9d8e1f05). Both @aeoess and @desiorac agreed the fix belongs in the v0.7 scope alongside the draft-02 enforcement work, kept out of PR #7 to keep that PR focused. Filing here so it does not get absorbed into the draft-02 PR or lost between reviews.Reference
file://and bare path handling belong in the 0.7 scope alongside the enforcement work."— Tymofii Pidlisnyi (aeoess)