サンプル
verify jose.errors in pkg:npm/jose@6.2.4
sha256:5582c161e3334d5346e4124e1c45784c583c2bace49db4386b2c35577e8b556f
このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。
合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。
MIT-0
実行証拠
宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。
- 証拠の基準
- 署名済みコントラクト合格
- 検証レシート
- 1
- ビルドした署名鍵
- 1
宣言された環境
node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm 10
検証実行環境
| 環境 | コントラクト | ステージ | 実行日 |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-21 |
ケース
HOW- ゴール
- verify jose.errors in pkg:npm/jose@6.2.4
- パッケージ
- シンボル
-
- jose.errors
- 環境
- node 22.23.2
- 作成日
- 2026-08-21T16:58:06Z
コントラクト
- all jose error classes inherit from jose.errors.JOSEError and the JavaScript Error class
- jose.errors.JWTExpired is thrown when verifying an expired JWT, carrying code ERR_JWT_EXPIRED, claim exp, and decoded payload
- jose.errors.JWTExpired is a sibling of jose.errors.JWTClaimValidationFailed rather than a subclass
- jose.errors.JWTClaimValidationFailed is thrown when claims such as issuer or audience do not match expected values with code ERR_JWT_CLAIM_VALIDATION_FAILED
- jose.errors.JWSSignatureVerificationFailed is thrown when signature verification fails due to wrong key or tampered payload with code ERR_JWS_SIGNATURE_VERIFICATION_FAILED
- jose.errors.JWSInvalid is thrown when parsing a malformed JWS string or signing without a protected header with code ERR_JWS_INVALID
- jose.errors.JWTInvalid is thrown when decodeJwt receives a malformed token string with code ERR_JWT_INVALID
- jose.errors.JOSEAlgNotAllowed is thrown when token algorithm is not in the allowed algorithms list with code ERR_JOSE_ALG_NOT_ALLOWED
- jose.errors.JWEDecryptionFailed is thrown when decrypting compact JWE with wrong key fails with code ERR_JWE_DECRYPTION_FAILED
- jose.errors.JWEInvalid is thrown when decrypting a malformed JWE string with code ERR_JWE_INVALID
ファイル
- PROMPT.md
- csx.json
- package-lock.json
- package.json
- spec.json
- src/index.js
- test/contract.js
オリジンシーダー
匿名