panva/jose
View on GitHub ↗ ★ 7,868 TypeScript
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
5 mentions on Hacker News by 3 people: 0 stories, 5 comments · first 2021-09-01 · latest 2023-03-02
20082026
-
…propose the existing code (not the one from the linked article, the one that's in the library today https://github.com/panva/jose/blob/v4.13.0/src/jwks/remote.t... ) acknowledging that there is an even more unlikely edge case. Well,…
comment by _panva · 2023-03-02 · in “The script will never generate a response” on Cloudflare Workers -
…JS side is that the Promise that `fetch()` returned simply never resolves So, in a scenario like https://github.com/panva/jose/commit/e44cd18ea4cf8af173f874c... , I think that implies the isDone polling loop never completes, and all future…
comment by yencabulator · 2023-03-02 · in “The script will never generate a response” on Cloudflare Workers -
The second scenario, mentioned in https://github.com/panva/jose/issues/355#issuecomment-102795... , seems much harder to work around. If a canceled request leaves a Promise hanging, how will you notice? It's unclear to me how workerd…
comment by yencabulator · 2023-03-02 · in “The script will never generate a response” on Cloudflare Workers -
…issue, not linked in the article but visible if you follow the source code link to main branch: https://github.com/panva/jose/issues/355
comment by yencabulator · 2023-03-01 · in “The script will never generate a response” on Cloudflare Workers -
…In practical terms, this means things like signing/verifying JWTs is not very well supported: https://github.com/panva/jose/discussions/243 That said, the situation is improving rapidly, and I've been personally willing to bet that the…
comment by eins1234 · 2021-09-01 · in Deno Deploy Beta 2