malach-it / boruta_auth

A yet complex but OpenID™ certified OAuth / OpenID Connect provider core
MIT License
53 stars 10 forks source link

Update guide to genearte a key pair of the right size #20

Closed chulkilee closed 8 months ago

chulkilee commented 8 months ago

The doc uses RS256 but the generated key size is 1024 not 2048. Updated the doc to make it work.

Related: #19

patatoid commented 8 months ago

As stated in https://datatracker.ietf.org/doc/html/rfc7518#section-3.1, the JWT algorithm is not dependent on the key size, then I am not sure of what expecting as size for this use case.

See https://github.com/malach-it/boruta_auth/issues/19#issuecomment-2016813366

chulkilee commented 8 months ago

Let's talk about the key size requirement on #19