Konubinix' opinionated web of thoughts

Jwt Cannot Be Used on Blockchain

fleeting

jwt cannot be used on blockchain

it cannot be signed with secp256k1

“alg” (Algorithm) Header Parameter Values for JWS

The table below is the set of “alg” (algorithm) Header Parameter values defined by this specification for use with JWS, each of which is explained in more detail in the following sections:

“alg” Param Digital Signature or MAC Implementation
Value Algorithm Requirements
HS256 HMAC using SHA-256 Required
HS384 HMAC using SHA-384 Optional
HS512 HMAC using SHA-512 Optional
RS256 RSASSA-PKCS1-v1_5 using SHA-256 Recommended
RS384 RSASSA-PKCS1-v1_5 using SHA-384 Optional
RS512 RSASSA-PKCS1-v1_5 using SHA-512 Optional
ES256 ECDSA using P-256 and SHA-256 Recommended+
ES384 ECDSA using P-384 and SHA-384 Optional
ES512 ECDSA using P-521 and SHA-512 Optional
PS256 RSASSA-PSS using SHA-256 and MGF1 with SHA-256 Optional
PS384 RSASSA-PSS using SHA-384 and MGF1 with SHA-384 Optional
PS512 RSASSA-PSS using SHA-512 and MGF1 with SHA-512 Optional
none No digital signature or MAC performed Optional

https://datatracker.ietf.org/doc/html/rfc7518