Closed sramsden closed 6 years ago
"You sign a token with several signature algorithms (let say RS256, ES384 and PS512). epending on the audience capabilities (only supports ES384 algorithm)"
Multiple algorithms sounds more likely than multiple parties signing for a combined token. When I first saw the multiple signatures in peatio I thought perhaps your intention was for multiple services to sign .. but now I think otherwise. Please correct me if I'm wrong.
I have been able to use the multisig stuff to interact with the peatio management API which is good.
However I have not had any reason to use multiple signatures and I cannot see any of your examples with multiple signatures either ... eg, you have
generated_jwt = JWT::Multisig.generate_jwt(jwt_payload, { peatio: private_key }, { peatio: "RS256" })
So I was just wondering what was the requirement driving the introduction of the multiple signature JWT?
Can you give me an example that requires more than one signature or point me at one on the web somewhere? Thanks.