Description
Blockchains may use other signing algorithms than allowed by JSON Web Signature (JWS) as specified in RFC 7518. This is problem for Whiteflag authentication method 1, that requires to sign the JWS with the native algorithm of the blockchain. As a practical result, available JWS software libraries do not work.
See also:
Whiteflag API issue 28
Whiteflag Standard issue 21
Environment / Versions
Blockchain
Affected blockchains:
- Bitcoin and Ethereum use the secp256k1 curve, instead of the prime256v1 curve.
- Polkadot uses sr25519, which is not in RFC 7518 at all.
Solution
Use a custom JWS implementation for Whiteflag authentication signatures.
Description
Blockchains may use other signing algorithms than allowed by JSON Web Signature (JWS) as specified in RFC 7518. This is problem for Whiteflag authentication method 1, that requires to sign the JWS with the native algorithm of the blockchain. As a practical result, available JWS software libraries do not work.
See also:
Whiteflag API issue 28
Whiteflag Standard issue 21
Environment / Versions
Blockchain
Affected blockchains:
Solution
Use a custom JWS implementation for Whiteflag authentication signatures.