Closed InformatiQ closed 8 years ago
thanks
BTW, which .NET jwk library do you use?
I am not getting these extra params when i do:
key = OpenSSL::PKey::RSA.generate(2048)
key.public_key.to_jwk(kid: Time.now.utc.iso8601).to_json
Am i missing something?
Because it's not a private key.
Yeah i am sorry, i got confused by these instructions: https://github.com/instructure/canvas-lms/blob/master/config/dynamic_settings.yml.example#L91
The key already there has all these extra values but the one I was generating with their instructions was missing these values. IDK if i should put key.public_key.to_jwk
's value in there or key.to_jwk
's value.
Anyway, thank you for your prompt response.
Add [dq, dp, qi] attributes to jwk for compatibility with other libs that require them such as the .NET jwk libs